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

TEXTO 1:

      Terrorism The term "terrorism" is controversial and has many definitions, none of which are universally accepted. The Oxford English Dictionary defines terrorism as "a policy intended to strike with terror those against whom it is adopted; the employment of methods of intimidation; the fact of terrorizing or condition of being terrorized". It is almost always used in a pejorative sense, to describe the violence of an enemy as being immoral or wanton. No known group describes itself as "terrorist".

      Theories on the causes of terrorism include:

- sociological explanations which focus on the position of the perpetrators in society
- conflict theory which includes their relationship to those in power
- ideological explanations which focus on the differences in ideology, and the different goals of the ideologies
- media theory explanations which treat terrorist acts as a form of communication

      Some anti-terrorist commentators refuse to consider the causes, since that implies justification. For them, the terrorists are simply evil people. Some theories of the ethics of terrorism also exist, and they too are concerned with moral judgment on terrorism and specific actions. They do not attempt to explain its origins. They often treat terrorism as a form of warfare, and refer to the just war theory, and to war crimes law.

(http://en.wikipedia.org/wiki/Terrorism)

TEXTO 2:

How do terrorist organizations use the internet?

      The internet is an increasingly useful tool for terrorists, whose online activities include information-sharing, propaganda, and possibly, cyberterrorism. Over the last ten years, the number of terrorist sites has jumped from less than 100 to as many as 4,000. "This has particularly taken off since the war in Iraq, as many of the insurgency groups there have many sites and message boards to help their network", says SITE Institute, a Washington DCbased terrorist-tracking group. "The greatest advantage [of the internet] is stealth", says John Arquilla, professor of defense analysis at the Naval Postgraduate School. "[Terrorists] swim in an ocean of bits and bytes". But the same anonymity that draws terrorists into the cyber world may also enable law-enforcement officials to spy on them undetected.

      (…)

      Today, terrorists give orders, plan attacks, and even send funds via online message boards and chat rooms. Terrorist sites also serve as virtual training grounds, offering tutorials on making bombs, firing surface-to-air-missiles, shooting at U.S. soldiers, and sneaking into Iraq from abroad. The internet also provides a venue for terrorists to disseminate their message, experts say. Terrorist sites broadcast propaganda videos designed to boost morale, raise funds, or recruit new members.

      (...)

      There is some debate within the counterterrorism community about how to combat terrorist sites. Some experts say monitoring websites can provide valuable information about terrorist activities. "You can see who's posting what and who's paying for it", one expert says. (...) Other experts advocate a more aggressive approach; they say shutting down websites, even temporarily, can disrupt a terrorist group's activities.

      The United States have tried to prosecute webmasters who run terrorist websites in the West, but has run into opposition from free speech advocates. "Sites that tell the terrorist side of the story go right up to the brink of civil liberties", Arquilla says.

(http://cfrterrorism.org/home) Indique a alternativa correta.

 

 

A leitura dos dois textos também permite afirmar que:



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