Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- require 'postflymailerclass/class.phpmailer.php';
- $myMail = new PHPMailer;
- $myMail -> IsSMTP();
- $myMail -> Host = 'mail.ipostfy.com';
- $myMail -> Port = '465';
- $myMail -> SMTPAuth = true;
- $myMail -> Username = 'ipostfyc@ipostfy.com';
- $myMail -> Password = '*********';
- $myMail -> SMTPSecure = 'SSL/TSL';
- $myMail -> From = 'ipostfyc@ipostfy.com';
- $myMail -> FromName = 'PostFly';
- $myMail -> AddAddress("kamilusbahati@yahoo.com", "Bahati");//"$histosendEmail", "$hisNickei"
- $myMail -> WordWrap = 50;
- $myMail -> IsHTML(true);
- $myMail -> Subject = 'Account Confirmation';
- $myMail -> Body = "<p>Information contents</p>";//$myMail_body
- if($myMail->Send()){
- $taarifarudisha = md5(1234);
- }else{
- $taarifarudisha = 2;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement