Advertisement
Guest User

Untitled

a guest
Apr 12th, 2017
166
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.71 KB | None | 0 0
  1. Language String failed to load:
  2. Recipients_failed [mail]
  3.  
  4. *[Mail] = the email address*
  5.  
  6. if(isset['[mail1]']){
  7.  
  8. $mail = new PHPmailer();
  9. $mail->IsSMTP();
  10. $mail->IsHTML(true);
  11. $mail->Host=*;
  12. $mail->Port=*;
  13. $mail->From='no-reply@*.fr';
  14. $mail->FromName=*;
  15. $mail->SMTPSecure = 'tls';
  16.  
  17. $mail->SMTPAuth=true;
  18. $mail->Username='no-reply@*.fr';
  19. $mail->Password='*';
  20.  
  21. $mail->AddAddress([mail1]);
  22.  
  23. $mail->Subject="*";
  24.  
  25. $mail->Body = utf8_decode("*");
  26. if(!$mail->Send()){
  27. die($mail->ErrorInfo);
  28. }
  29.  
  30. $mail->SmtpClose();
  31. unset($mail);
  32. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement