getting error while trying to send mail - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24) +--- Thread: getting error while trying to send mail (/showthread.php?tid=71079) |
getting error while trying to send mail - richb201 - 07-03-2018 Message: mail(): SMTP server response: 550 Access denied - Invalid HELO name (See RFC2821 4.1.1.1) here is my php.ini [mail function] ; For Win32 only. ;http://php.net/smtp ;SMTP=localhost SMTP=mail.substantiator.com ; http://php.net/smtp-port smtp_port=465 ; For Win32 only. ;http://php.net/sendmail-from sendmail_from [email protected] ; For Unix only. You may supply arguments as well (default: "sendmail -t -i"). ; http://php.net/sendmail-path ;sendmail_path = here is my code: mail($to,$subject,$message,$headers); Where does the required username and password go? |