Login or Register

RSS IconRecent posts in this topic

avatar
hebbar on Jul 6. 2006. 11:58 am
I am getting this error whenever activeCollab tries to send email What need to do, to fix this. i belive some PHP configuration is missing.

Warning: mail() [function.mail]: SMTP server response: 501 Syntax error in recipient address in activeCollab\environment\library\simplemail\transport\MtaMailTransport.class.php on line 21

Warning: Cannot modify header information - headers already sent by (output started at activeCollab\environment\library\simplemail\transport\MtaMailTransport.class.php:21) in activeCollab\environment\functions\general.php on line 273

can any one help please.
Thanks
avatar
clonk on Jul 7. 2006. 4:23 pm
Now that I am up and running I too am recieving this error, I recieved it after trying to add a user and send them an email notification.

Warning: mail() [function.mail]: SMTP server response: 501 5.5.4 Invalid Address in C:\Inetpub\activeCollab\environment\library\simplemail\transport\MtaMailTransport.class.php on line 21

Warning: Cannot modify header information - headers already sent by (output started at C:\Inetpub\activeCollab\environment\library\simplemail\transport\MtaMailTransport.class.php:21) in C:\Inetpub\activeCollab\environment\functions\general.php on line 242
avatar
nils on Jul 10. 2006. 4:03 am
please make sure your MTA is working properly on your Server.
i bet you have not setup courier/postfix properly and have not configured an catch-all mailaccount for your domain (in this case localhost)
avatar Staff
Ilija Studen on Jul 10. 2006. 4:28 am
This is common bug but I haven't had time to investigate it yet.

Can you please tell me your platform?
activeCollab team member | LinkedIn
avatar
rcrespin on Jul 10. 2006. 11:12 am
I'm having the same problem on my Win2K3 server. Does activeCollab only work on Linux servers?

Apache 2.0
MySQL 5
PHP 5
avatar
nils on Jul 10. 2006. 1:30 pm
yes it works on linux.
avatar
rcrespin on Jul 10. 2006. 3:47 pm
I gathered that it works on linux, but does it only work on linux? Can it be made to run on a WinNT server?
avatar
gog on Jul 10. 2006. 4:18 pm
People use it on Windows as well http://forum.activecollab.com/viewtopic.php?id=28
avatar
bsamson on Jul 11. 2006. 7:35 am
Platform: XPPro SP2; XAMPP 1.5.1; PHP 5.1.1

I am also receiving the 501 "5.5.4 Invalid Address" issue on line 21 in MtaMailTransport.class.php.

When I print the "headers" parameter out, I see it's set to "From: bsamson Bcc: bsamson Subject: Tier 2 State Implementation - New message". I believe that the Exchange server I'm connecting to is kicking it out because it's not set to "From: bsamson@company.com Bcc: bsamson@company.com Subject: Tier 2 State Implementation - New message".

I also checked the ac_users table and the email address there is set up correctly. After playing around with the values a bit, I noticed that the From: and BCC: fields are being populated with the "display name", and the To: field has nothing in it (at least when I execute "print $message->getTo()->toString();").

I have another PHP application that uses PHP mail, so I'm fairly certain that at least the php.ini mail setup is correct. Just for kicks, though, I replaced all the variables on line 21 with hardcoded email addresses and subject and the mail went through just fine.

Unfortunately, I'm too new to PHP to quickly diagnose the issue, and would like to know if you could point me to what may be the issue.
avatar
nils on Jul 11. 2006. 7:41 am
bsamson:
I am also receiving the 501 "5.5.4 Invalid Address" issue on line 21 in MtaMailTransport.class.php.

that 501 error from your MTA is a common error. because they cant transmit to the unix useraccount for example: usrJohn@localhost thats related to your emailadress johndoe@yourdomain.com

you fixed with overriding the postfix(?) usertable by adding a hardcoded adress.
i will try to digg for the solution, must be somewhere

edit: You have also an exchange server running on this box?
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