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: UNIFESP - Inglês - Interpretação de Texto
WhatsApp do Vestiprovas
Compartilhar

Responder Questão:

São Paulo UNIFESP 2010.2 1ª Fase Questão: 32 Inglês Interpretação de Texto 

A world of Methuselahs
June 25th 2009

Angus Maddison, an economic historian, has estimated that life expectancy during the first millennium AD averaged about 25 years (which in practice meant that lots of children died very young and many of the rest survived to middle age). The big turnaround came with the industrial revolution, mainly because many more children survived into adulthood, thanks to better sanitation, more control over epidemics, improved nutrition and higher living standards.

By the beginning of the 20th century average life expectancy in America and the better-off parts of Europe was close to 50, and kept on rising. By mid-century the gains from lower child mortality had mainly run their course. The extra years were coming from higher survival rates among older people. The UN thinks that life expectancy at birth worldwide will go up from 68 years at present to 76 by 2050 and in rich countries from 77 to 83. (These are averages for both sexes; women generally live five or six years longer than men, for reasons yet to be fathomed). Most experts now agree that there will be further rises, but disagree about their extent.

Some of them argue that the human lifespan is finite because bodies, in effect, wear out; that most of the easy gains have been made; and that the rate of increase is bound to slow down because people now die mostly of chronic diseases – cancer, heart problems, diabetes – which are harder to fix. They also point to newer health threats, such as HIV/AIDS, SARS, bird flu and swine flu, as well as rising obesity in rich countries – to say nothing of the possibility of fresh pandemics, social and political unrest and natural disasters.


Nearly 30 years ago James Fries at Stanford University School of Medicine put a ceiling of 85 years on the average potential human life span. More recently a team led by Jay Olshansky at the University of Illinois at Chicago said it would remain stuck there unless the ageing process itself can be brought under control. Because infant mortality in rich countries is already low, they argued, further increases in overall life expectancy will require much larger reductions in mortality at older ages. In Mr. Olshansky’s view, none of the life-prolonging techniques available today – be they lifestyle changes, medication, surgery or genetic engineering – will cut older people’s mortality by enough to replicate the gains in life expectancy achieved in the 20th century.


That may sound reasonable, but the evidence points the other way. Jim Oeppen at Cambridge University and James Vaupel at the Max Planck Institute for Demographic Research in Rostock have charted life expectancy since 1840, joining up the figures for whatever country was holding the longevity record at the time, and found that the resulting trend line has been moving relentlessly upward by about three months a year. They think that by 2050 average life expectancy in the best-performing country could easily reach the mid-90s.

(www.economist.com/opinion/PrinterFriendly.cfm?story_id=13888102 Adaptado.)

No século XX, a expectativa de vida



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 ...