Advertisement
Kazikodi

Untitled

Feb 2nd, 2021
1,227
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.80 KB | None | 0 0
  1. require 'postflymailerclass/class.phpmailer.php';
  2.     $myMail = new PHPMailer;
  3.     $myMail -> IsSMTP();
  4.     $myMail -> Host = 'mail.ipostfy.com';
  5.     $myMail -> Port = '465';
  6.     $myMail -> SMTPAuth = true;
  7.     $myMail -> Username = 'ipostfyc@ipostfy.com';
  8.     $myMail -> Password = '*********';
  9.     $myMail -> SMTPSecure = 'SSL/TSL';
  10.     $myMail -> From = 'ipostfyc@ipostfy.com';
  11.     $myMail -> FromName = 'PostFly';
  12.     $myMail -> AddAddress("kamilusbahati@yahoo.com", "Bahati");//"$histosendEmail", "$hisNickei"
  13.     $myMail -> WordWrap = 50;
  14.     $myMail -> IsHTML(true);
  15.     $myMail -> Subject = 'Account Confirmation';
  16.     $myMail -> Body = "<p>Information contents</p>";//$myMail_body
  17.    
  18.     if($myMail->Send()){
  19.         $taarifarudisha = md5(1234);
  20.     }else{
  21.         $taarifarudisha = 2;
  22.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement