Advertisement
Guest User

Untitled

a guest
Jun 30th, 2017
583
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. $mail->Host = "mail.dalidistribuidora.com.ar";
  2. //Set the SMTP port number - likely to be 25, 465 or 587
  3. $mail->Port =587;
  4. //Whether to use SMTP authentication
  5. $mail->SMTPAuth = true;
  6. //Username to use for SMTP authentication
  7. $mail->Username = "clientes@dalidistribuidora.com.ar";
  8. //Password to use for SMTP authentication
  9. $mail->Password = "Dali1405";
  10. //Set who the message is to be sent from
  11. $mail->setFrom('from@example.com', 'First Last');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement