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 - Semântica
WhatsApp do Vestiprovas
Compartilhar

Responder Questão:

São Paulo UNESP 2008.1 1ª Fase Questão: 75 Inglês Semântica 

Texto 1:

Here is the first part of a letter, written by a 98-year-old pensioned lady to her bank manager.

Dear Sir,
I am writing to thank you for bouncing my cheque with which I endeavoured to pay my plumber last month. By my calculations, three 'nanoseconds' must have elapsed between his presenting the cheque and the arrival in my account of the funds needed to honour it. I refer, of course, to the automatic monthly deposit of my Pension, an arrangement, which, I admit, has been in place for only eight years. You are to be commended for seizing that brief window of opportunity, and also for debiting my account to the tune of £30 by way of a penalty for the inconvenience caused to your bank. My thankfulness springs from the manner in which this incident has caused me to rethink my errant financial ways. I noticed that whereas I personally attend to your telephone calls and letters, when I try to contact you, I am confronted by that impersonal, overcharging, pre-recorded, faceless entity, which your bank has become. From now on, I, like you, choose only to deal with a flesh-andblood person. My mortgage and loan payment will therefore and hereafter no longer be automatic, but will arrive at your bank by cheque, addressed personally and confidentially to an employee at your bank whom you must nominate. Be aware that it is an offence under the Postal Act for any other person to open such an envelope. Please find attached an Application Contact Status, which I require your chosen employee to complete. I am sorry it runs to eight pages, but in order that I know as much about him or her as your bank knows about me, there is no alternative. Please note that a Solicitor must countersign all copies of his or her medical history, and the mandatory details of his/her financial situation (income, debts, assets and liabilities) must be accompanied by documented proof.

(Adapted from: forums.film.com/showthead.php?t=15516)

Indique a alternativa que expressa o mesmo significado de: A Solicitor must countersign all copies of his/her medical history and financial situation.



TEMPO NA QUESTÃO

Relógio00:00:00

Gráfico de barras Meu Desempenho

Inglês Semântica

Total de Questões: ?

Respondidas: ? (0,00%)

Certas: ? (0,00%)

Erradas: ? (0,00%)

Somente usuários cadastrados!

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