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

Responder Questão:

São Paulo ESPM 2014.2 Questão: 47 Inglês Interpretação de Texto 

 

 

 


Paying someone to be your pal may be the ultimate contradiction in terms Need someone to go to the movies with? Desperate to try that hip new restaurant but don’t want to go alone? Need someone to gossip with during your next binge-watching weekend on Netflix? Good news: There is someone who would love to do all those things with you... for a price. In the past few years, online “friend rental” services have been growing in popularity, offering users a chance to pay for (nonsexual) companionship. The “friends” determine their rates, either by specific activities or for predetermined lengths of time, and users have the opportunity to choose the person (or price range) best suited to their needs. RentAFriend, the most popular such site, claims to have much more than 500,000 friends available worldwide for everything from museum visits to skydiving. But in order to get in touch with them (and start the hondeling), users need to cough up a $24.95/month membership fee. Helen White, a Boston-based friend, says she has been paid $20 an hour just for her company. “We went to a concert together,” she says of one date. “All in all, I made $60, plus he bought my drinks. It was actually very natural; there wasn’t any awkwardness, like you might expect. We had a great conversation.” David Bakke, an Atlanta-based friend, has had similar experiences. “The first time I had dinner with a woman who was in town for business, and the second, I went to a basketball game with a guy who I think had a friend cancel on him at the last minute.” Both times Bakke, a freelance writer, waived his fee since the clients paid for the night’s entertainment. Yet some mental-health professionals question the underlying premise: the idea that friendship is something that should, or even can, be bought. Dr. Carole Lieberman, a Beverly Hills psychiatrist, says that the very existence of RentAFriend is “an incredibly sad commentary on the state of human relationships.” “Real friendship comes from shared experiences and values, and in true friendships, friends are equal,” says Lieberman. “Renting friendship is by its very nature untrustworthy, unequal and temporary. Once you stop paying, that person will no longer be there for you; that’s the antithesis of friendship, if you ask me.”

www.newsweek.com / March 4, 2014

The word since in the underlined sentence in the 6th paragraph of the text: “Both times Bakke, a freelance writer, waived his fee since the clients paid for the night’s entertainment." could be changed, without changing its meaning, by

 

 

 



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