Advertisement
Guest User

Untitled

a guest
Mar 21st, 2018
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.64 KB | None | 0 0
  1. $mail->isSMTP(); // Set mailer to use SMTP
  2. $mail->Host = 'smtp.web-co.cz'; // Specify main and backup SMTP servers
  3. $mail->SMTPAuth = true; // Enable SMTP authentication
  4. $mail->Username = 'robot@web-co.cz'; // SMTP username
  5. $mail->Password = '################'; // SMTP password
  6. $mail->SMTPSecure = 'tls'; // Enable TLS encryption, `ssl` also accepted
  7. $mail->Port = 587; // TCP port to connect to
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement