SMTP server response: 501 5.5.4 Invalid - Printable Version +- Community Support for OpenDocMan (Deprecated) (https://forum.opendocman.com) +-- Forum: OpenDocMan Community Discussion (https://forum.opendocman.com/forum-5.html) +--- Forum: OpenDocMan Support - Community Based (https://forum.opendocman.com/forum-6.html) +--- Thread: SMTP server response: 501 5.5.4 Invalid (/thread-36.html) |
SMTP server response: 501 5.5.4 Invalid - Stephen - 01-12-2010 ddunbahe I can't get OpenDocMan to send email. I'm sure it's a problem with my setup, but I can't figure it out. Where did you edit the mail functions? Any way to get it to just use an SMTP server on the LAN? Everytime I create a new account or use SMTP i get the following error: Warning: mail() [function.mail]: SMTP server response: 501 5.5.4 Invalid Address in C:\xampp\htdocs\opendocman\commitchange.php on line 119 Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\opendocman\commitchange.php:119) in C:\xampp\htdocs\opendocman\commitchange.php on line 121 I checked the commitchange.php for SMTP configuration but it is not there. Please help. jonathanwminer 2008-12-19 06:17:04 PST By default... ODM relies on the local machine to be configured as a mail server. There was a patch posted recently that allows access to a remote mailserver. ddunbahe 2008-12-19 08:05:22 PST I got it. Go to php.ini. Do a search and you will find it. Next you need to uncomment and change these two settings in php.ini [mail function] ; For Win32 only. SMTP = smtp.myserver.com ; For Win32 only. sendmail_from = <!-- e --><a href="mailto:[email protected]">[email protected]</a><!-- e --> After I did that I was able to send email. |