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

Responder Questão:

São Paulo UNESP 2004.2 1ª Fase Questão: 79 Inglês Interpretação de Texto 

AIDS Fact Sheet: Marijuana Click here to Help Donate to AIDS.ORG WHAT IS MARIJUANA? Marijuana or Cannabis sativa is an herb. It grows in many places around the world. It is also called hemp, reefer, or cannabis. It has had many uses in different cultures. These include reducing pain and increasing appetite. Marijuana contains chemicals called cannabinoids. The best known is tetrahydrocannabinol or THC. The marijuana "high" is mainly due to THC. Marijuana was used medically in the US until the late 1930s. Then there were claims of "reefer madness". Supposedly, marijuana caused crime, violence, insanity, and death. In 1970, US drug law classified marijuana as having a high potential for abuse and no medical use. Marijuana was later found to have other health benefits. It can lower pressure within the eye. This helps treat glaucoma, an eye disease which can cause blindness. Marijuana also reduces nausea and vomiting in patients taking chemotherapy treatment for cancer. It reduces muscle spasms in people with nerve problems like multiple sclerosis and can help treat some types of pain. These uses led to the development of the drug dronabinol (Marinol?), a synthetic version of THC. NOTE: Federal and state laws generally forbid the sale or possession of marijuana. Eight states have passed "medical marijuana" laws that permit limited use for health reasons. However, in May 2001 the US Supreme Court ruled that medical use of marijuana is illegal under federal law. Federal officials can take action against medical marijuana users or "buyers'clubs" even in states with medical marijuana laws. WHY DO PEOPLE WITH HIV USE MARIJUANA? People with HIV use marijuana to stimulate appetite and to reduce nausea. Many people with HIV have low appetite. This can be due to fatigue or drug side effects. Low appetite can lead to AIDS wasting lives. Some people with HIV get nauseated when they take antiviral medications. This can make it difficult to take all scheduled doses. Marijuana can help control the nausea. It may also relieve the pain of peripheral neuropathy and is being studied for that purpose. (Marijuana Policy Project, http://www.mpp.org National Organization for Reform of Marijuana Laws, http://www.norml.org) No terceiro parágrafo do texto, os pronomes destacados, it, this e which, referem-se, respectivamente, a



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