mail() error after adding a user
Page: 1
Brycedenyce
on Jul 17. 2006. 8:51 am
Hello everybody,
When I want to add a user to a company, I got two errors which are the following :
Warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in C:\wamp\www\activeCollab\environment\library\simplemail\transport\MtaMailTransport.class.php on line 21
Warning: Cannot modify header information - headers already sent by (output started at C:\wamp\www\activeCollab\environment\library\simplemail\transport\MtaMailTransport.class.php:21) in C:\wamp\www\activeCollab\environment\functions\general.php on line 273
I try to configure my php.ini file by modifying this two lines :
[mail function]
; For Win32 only.
SMTP = smtp.free.fr
; For Win32 only.
sendmail_from = xxxx@free.fr
But always the same problems
Please help me and tell me what I have to do to fix this problem.
Thanks
Brice
When I want to add a user to a company, I got two errors which are the following :
Warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in C:\wamp\www\activeCollab\environment\library\simplemail\transport\MtaMailTransport.class.php on line 21
Warning: Cannot modify header information - headers already sent by (output started at C:\wamp\www\activeCollab\environment\library\simplemail\transport\MtaMailTransport.class.php:21) in C:\wamp\www\activeCollab\environment\functions\general.php on line 273
I try to configure my php.ini file by modifying this two lines :
[mail function]
; For Win32 only.
SMTP = smtp.free.fr
; For Win32 only.
sendmail_from = xxxx@free.fr
But always the same problems
Please help me and tell me what I have to do to fix this problem.
Thanks
Brice
Have you received any responce from this? I am getting this error too. for some reason, it is still trying to look at the localhost instead of where I have indicated where the mail server is located.
[Edit]
Here is the exact error that I am getting:
[/Edit]
[Edit]
Here is the exact error that I am getting:
Warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\activeCollab\environment\library\simplemail\transport\MtaMailTransport.class.php on line 21 Warning: Cannot modify header information - headers already sent by (output started at C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\activeCollab\environment\library\simplemail\transport\MtaMailTransport.class.php:21) in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\activeCollab\environment\functions\general.php on line 242
[/Edit]
Any suggestions for the mean time? I don't mind configuring from text files, but it appears that I do not know where to look. I made the same changes as the origional poster.
Thanks for the QUICK response. :)
Thanks for the QUICK response. :)
Topic is locked. If you have something important to say about issues discussed on this page please write at hi@a51dev.com.



