Login or Register

RSS IconRecent posts in this topic

avatar
Brycedenyce on Jul 17. 2006. 1:51 pm
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
avatar
Ustice on Jul 21. 2006. 2:55 pm
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:

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]
avatar Staff
Ilija Studen on Jul 21. 2006. 3:07 pm
This is PHP configuration issue. This problem will be skipped when we add real SMTP support to activeCollab. In that situation you'll have mail() for people who don't like to configure staff and SMTP for the people who have trouble with mail() or want to have full control over the configuration.
activeCollab Team Member
avatar
Ustice on Jul 21. 2006. 3:24 pm
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. :)
avatar Staff
Ilija Studen on Jul 21. 2006. 3:43 pm
You can try to Google this error.

There is a lot of scripts that use mail() so there should be a lot of examples, tips and tricks.
activeCollab Team Member
avatar
Ustice on Jul 21. 2006. 3:48 pm
Oh, okay... This is not activeCollab that is having this problem... its php in general. I understand. Thanks again.
avatar Staff
Ilija Studen on Jul 21. 2006. 3:58 pm
Not a problem. Just trying to help :)
activeCollab Team Member
Topic is locked. If you have something important to say about issues discussed on this page please write at hi@a51dev.com.

RSS IconRecent posts in this topic