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 2007.2 1ª Fase Questão: 75 Inglês Interpretação de Texto 

Common Questions What is The Rainforest Site? The Rainforest Site is an online activism site that offers simple ways to help in the fight against the destruction of our rainforests. Clicking is Free In just a few seconds each day, visitors can click on the green “Preserve Endangered Land” button on the home page and, at no cost to them, help preserve rainforest land worldwide. Preservation of habitat is paid for by The Rainforest Site’s sponsors and accomplished by The Nature Conservancy, The Rainforest Conservation Fund, The World Parks Endowment, and The Friends of Calakmul. These organizations work to preserve rainforest land in Ecuador, Mexico, Peru, Paraguay and other locations worldwide. 100% of sponsor advertising fees goes to our charitable partners. The Rainforest Site was founded in May of 2000. To date, more than 153 million visitors have clicked to save more than 40,500 acres of habitat (that’s more than 1,767 million square feet of land!) via a simple and free daily click. 1. How does the site work? 2. Who pays for protecting rainforests? 3. How do you calculate the amount of rainforest protected by visitors’ clicks? 4. How often can I click on the “Preserve Endangered Land” button? Can I just keep clicking and save thousands of square feet of rainforest at once? 5. How much rainforest habitat has been saved? Where is this land located? 6. Is The Rainforest Site a nonprofit organization? 7. What is The Rainforest Site’s privacy policy? 8. How can I help The Rainforest Site find sponsors? (www.therainforestsite.com) No final do texto, oito perguntas são apresentadas. A resposta The Rainforest Site is not a nonprofit organization and cannot accept financial donations directly responde à pergunta de número



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