IsSMTP(); // Falg de uso SMTP $mail->SetLanguage("br", "phpmailer/language/"); $mail->Host = "mail.".$EMP_URL; // seu servidor SMTP $mail->Mailer = "smtp"; //Usando protocolo SMTP $mail->SMTPAuth = true; // uso de SMTP authentication $mail->Timeout = 20; // USUARIO E SENHA $mail->Username = $FromAddress; // SMTP username $mail->Password = $FromPassword; // SMTP password // DE: $mail->From = $FromAddress; $mail->FromName = $FromName; // PARA: $mail->AddAddress($ToAddress, $ToName); // name is optional if ($CC) $mail->AddCC($CC); // $mail->AddReplyTo("comercial@asasolucoes.com"); $mail->WordWrap = 50; // set word wrap to 50 characters //$mail->AddAttachment("/var/tmp/file.tar.gz"); // add attachments //$mail->AddAttachment($ANEXO1); // optional name //$mail->AddAttachment($ANEXO2); // optional name $mail->IsHTML(true); // set email format to HTML $mail->Subject = $Assunto; $mail->Body = $Conteudo; // $mail->AltBody = $strMensagem; if(!$mail->Send()) { //$ERRO_NOTAS = "Mailer Error: " . $mail->ErrorInfo . "(".$mail->Host.")(".$mail->Username.")(".$mail->Password.")"; // (mccDEBUG) throw new Exception("Mailer Error: " . $mail->ErrorInfo . "(".$mail->Host.")", 21); return false; } else { self::$_erro = 0; self::$_mensagem = "Mensagem enviar com sucesso para o email: $ToAddress\n"; return true; } //*/ }catch ( Exception $ex ){ self::$_mensagem = $ex->getMessage(); self::$_erro = $ex->getCode(); return false; } } public static function enviarGmail($ToName, $ToAddress, $FromName, $FromAddress, $FromPassword, $Assunto, $Conteudo, $Anexo = null){ global $EMP_URL; try { //echo "SMTP=smtp.".$EMP_URL."
"; $mail = new PHPMailer(); // CONFIGURAÇÃO DO SERVIDOR $mail->IsSMTP(); // Falg de uso SMTP $mail->SetLanguage("br", "plugins/phpmailer/language/"); //$mail->Host = "smtp.".$EMP_URL; // seu servidor SMTP //$mail->Host = "gmail-smtp-in.l.google.com"; // servidor para google/apps /* $mail->Host = "tls://smtp.gmail.com"; $mail->SMTPSecure = "tls"; // sets the prefix to the servier $mail->Port = 587; // set the SMTP port for the GMAIL server // */ $mail->Host = "smtp.gmail.com"; $mail->SMTPSecure = "ssl"; // sets the prefix to the servier $mail->Port = 465; // set the SMTP port for the GMAIL server // */ // $mail->SMTPDebug = 1; // enables SMTP debug information (for testing) // 1 = errors and messages // 2 = messages only $mail->SMTPAuth = true; // uso de SMTP authentication //$mail->Timeout = 20; /* // Configuração para Email do GMAIL. $mail->Host = "smtp.gmail.com"; // specify main and backup server $mail->SMTPAuth = true; // turn on SMTP authentication $mail->SMTPSecure= "ssl"; // Used instead of TLS when only POP mail is selected $mail->Port = 465; // Used instead of 587 when only POP mail is selected */ // USUARIO E SENHA $mail->Username = $FromAddress; // SMTP username $mail->Password = $FromPassword; // SMTP password // DE: $mail->From = $FromAddress; $mail->FromName = $FromName; // PARA: $mail->AddAddress($ToAddress, $ToName); // $mail->AddAddress("comercial@asasolucoes.com"); // name is optional // $mail->AddReplyTo("comercial@mustmodels.com"); $mail->WordWrap = 50; // set word wrap to 50 characters //$mail->AddAttachment("/var/tmp/file.tar.gz"); // add attachments //$mail->AddAttachment($ANEXO1); // optional name //$mail->AddAttachment($ANEXO2); // optional name $mail->IsHTML(true); // set email format to HTML $mail->Subject = $Assunto; $mail->Body = $Conteudo; // $mail->AltBody = $strMensagem; if(!$mail->Send()) { throw new Exception("Mailer Error: " . $mail->ErrorInfo . "(".$mail->Host.")", 21); return false; } else { self::$_erro = 0; self::$_mensagem = "Mensagem enviar com sucesso para o email: $ToAddress\n"; return true; } //*/ }catch ( Exception $ex ){ self::$_mensagem = $ex->getMessage(); self::$_erro = $ex->getCode(); return false; } } } ?> VESTIPROVAS - Questão: UFPR - Inglês - Interpretação de Texto
WhatsApp do Vestiprovas
Compartilhar

Responder Questão:

Paraná UFPR 2013.1 1ª Fase Questão: 73 Inglês Interpretação de Texto 

Neil Armstrong, US astronaut, dies aged 82

By Adam Lusher
8:16PM BST 25 Aug 2012




    Armstrong underwent a heart-bypass surgery earlier this month to relieve blocked coronary arteries.
    As commander of the Apollo 11 mission, Armstrong became the first human to set foot on the moon, hours after Apollo's Eagle lunar module had touched down on July 20 1969. He radioed back to Earth the historic statement: "That's one small step for man, one giant leap for mankind". He then spent nearly three hours walking on the moon with fellow astronaut Edwin "Buzz" Aldrin.
    Praising Armstrong his family said in a statement on Saturday: “Neil was our loving husband, father, grandfather, brother and friend. Neil Armstrong was also a reluctant American hero who always believed he was just doing his job. He served his Nation proudly, as a navy fighter pilot, test pilot, and astronaut". The statement also said that he died following complications resulting from cardiovascular procedures, at the age of 82.
    Armstrong was born in Wapakoneta, Ohio, on August 5, 1930. On July 20, 1936, when he was 6, he experienced his first airplane flight in Warren, Ohio, when he and his father Stephen, an auditor for the Ohio state government, took a ride in a Ford Trimotor, a three-engined transport plane that was also known as the "Tin Goose".
    After serving as a naval pilot from 1949 to 1952, and serving in the Korean War, Armstrong joined the National Advisory Committee for Aeronautics (NACA) – the precursor to NASA, the National Aeronautics and Space Administration – in 1955. As a research pilot at NASA's Flight Research Center, Edwards, Calif., he was a project pilot on many pioneering high speed aircraft, including the well-known, 4000-mph X-15.
    Armstrong joined the NASA astronaut corps in 1962. He was assigned as command pilot for the Gemini 8 mission. Gemini 8 was launched on March 16, 1966, and Armstrong performed the first successful manned docking of two vehicles in space. His second and last spaceflight was as mission commander for the Apollo 11 moon landing.
    After commanding the Apollo 11 mission, Armstrong subsequently held the position of Deputy Associate Administrator for Aeronautics, NASA Headquarters, in Washington D.C. In this position, he was responsible for the coordination and management of overall NASA research and technology work related to aeronautics. He was Professor of Aerospace Engineering at the University of Cincinnati between 1971-1979.
    Armstrong and his wife, Carol, married in 1999, made their home in the Cincinnati suburb of Indian Hill, but he had largely stayed out of public view in recent years. He spoke at Ohio State University during a February event honouring fellow astronaut John Glenn and the 50th anniversary of Glenn becoming the first American to orbit the Earth.

(Adapted from <www.telegraph.co.uk> and <http://www.telegraph.co.uk/science/space/9499759/Neil-Armstrong-US-astronaut-dies-aged-82.html>)


Consider the following statements about Neil Armstrong in the Apolo 11 Mission, according to the text:

1. He sent a recording of his famous sentence back to Earth.
2. He tried to leap a few times on the surface of the Moon.
3. He did not really consider himself an American hero.
4. He and Aldrin spent more than 3 hours walking on the Moon.
5. He was the leader of the Apolo 11 mission to the Moon.

Which of the statements above are true, according to the text?



TEMPO NA QUESTÃO

Relógio00:00:00

Gráfico de barras Meu Desempenho

Inglês Interpretação de Texto

Total de Questões: ?

Respondidas: ? (0,00%)

Certas: ? (0,00%)

Erradas: ? (0,00%)

Somente usuários cadastrados!

Postar dúvida ou solução ...