Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* change all $mail->IsMail(); to $mail->IsSMTP(); */
- $mail->IsSMTP();
- $mail->From = $from;
- $mail->FromName = $fromname;
- $mail->Subject = $subject;
- /* Following can be specified but not necessary
- $mail->Host = "smtp.gmail.com";
- $mail->SMTPAuth = true;
- $mail->SMTPSecure= "ssl";
- $mail->Port = 587;
- $mail->Username = "something@somedomain.com";
- $mail->Password = "abc";
- */
Add Comment
Please, Sign In to add comment