Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $mail = new PHPMailer();
- $mail->IsSMTP(); $mail->SMTPDebug = 0;
- $mail->SMTPAuth = false; $mail->IsHTML(true);
- $mail->Host = "mail.smtp2go.com";
- $mail->Username = "kshost"; $mail->Password = "YWF4NHVyM3RlZjAw";
- $mail->From = "contato@kshost.com.br"; $mail->FromName = utf8_decode("KSHOST");
- $mail->AddAddress($email);
- $mail->IsHTML(true); $mail->CharSet = 'iso-8859-1';
- $mail->Subject = ($assunto);
- $corpoDoEmail = str_replace( $email, $email, $corpoDoEmail );
- $mail->Body = ($corpoDoEmail); $SendOK = $mail->Send();
- $mail->ClearAllRecipients(); $mail->ClearAttachments();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement