Guest User

Untitled

a guest
Aug 2nd, 2018
456
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.66 KB | None | 0 0
  1. $mail->IsSMTP(); // enable SMTP
  2. $mail->SMTPDebug = 0; // debugging: 1 = errors and messages, 2 = messages only
  3. $mail->SMTPAuth = true; // authentication enabled
  4. $mail->SMTPSecure = 'ssl'; // secure transfer enabled REQUIRED for GMail
  5. $mail->Host = 'west.smtp.exch022.serverdata.net';
  6. $mail->Port = 465;
  7. $mail->Username = 'WebQuoteRequest@flykavoo.com';
  8. $mail->Password = '';
  9. $mail->SetFrom('test@mail.com', 'Test');
  10. $mail->Subject = 'test mail message';
  11. $mail->Body = 'Hello!!!!!!!!!!!!Hello!!!!!!!!!!!!Hello!!!!!!!!!!!!Hello!!!!!!!!!!!!Hello!!!!!!!!!!!!';
  12. $mail->AddAddress('webquoterequest@flykavoo.com');
Add Comment
Please, Sign In to add comment