Created
October 31, 2013 12:06
-
-
Save johnsardine/7248596 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$email = new SendMail(); // Uma instancia do phpmailer extendida com o from e o smtp preenchidos e que podem ser substituidos à frente | |
$email->AddAddress(':email', utf8_decode(':nome')); | |
$email->Subject = utf8_decode(':assunto'); | |
$email_body = array(); | |
$email_body[] = '<p>:mensagem</p>'; | |
$email->MsgHTML(utf8_decode(implode('', $email_body))); | |
$email->Send(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment