Login or Register

RSS IconRecent posts in this topic

avatar
ideapower on Jun 6. 2007. 12:43 am
following up on this.. just wondering/hoping if the new version will fix this problem? or will it use the same email setup?
avatar
Ilija Studen on Jun 6. 2007. 7:53 am
activeCollab is still using SwiftMailer for sending emails, but we are using latest version and we have integrated it with our logging library so everything that is going on with SwiftMailer is available in the logs.

Just one example:

#1 - info - ++ Enabling logging
#2 - info - >> MAIL FROM: <*****@******.***>
#3 - info - << 250 Ok
#4 - info - >> RCPT TO: <*****.*****@***********.***>
#5 - info - << 250 Ok
#6 - info - >> DATA
#7 - info - << 354 End data with <CR><LF>.<CR><LF>
#8 - info - >> <MESSAGE DATA>
#9 - info - >>

.
#10 - info - << 250 Ok: queued as 4E043DC74D
#11 - info - ++ Message sent to 1/1 recipients

Email addresses are replaced with ***@***.***. You can see real addresses in the logs.
activeCollab team member
avatar
Motherwell on Jun 28. 2007. 10:48 am
The solution to this problem is as follows (at least for my server):

1. Open /library/swift/lib/Swift/Stream
2. Go to line 370.
3. Replace:
implode(', ', $this->getTo($string)),
With
str_replace("\n", '', implode(', ', $this->getTo($string))),

The newline character in the to field stuffs everything up, and taking it out solves the issue.

Hope that helps someone else (took me 2 days of fiddling to work it out!!!!!!)
avatar
beginner on Jul 18. 2007. 5:54 pm
Motherwell:

Hope that helps someone else (took me 2 days of fiddling to work it out!!!!!!)


Yes it did indeed! Thank you very much for sharing the solution. With this hack sending mails with the option "Default PHP settings" is finally working for me.

avatar
franc on Aug 22. 2007. 12:48 pm
Hello people.
I'm having this mail error all the time. No matter if I user PHP function or SMTP.


Motherwell:
The solution to this problem is as follows (at least for my server):

1. Open /library/swift/lib/Swift/Stream
2. Go to line 370.
3. Replace:
implode(', ', $this->getTo($string)),
With
str_replace("\n", '', implode(', ', $this->getTo($string))),

The newline character in the to field stuffs everything up, and taking it out solves the issue.

Hope that helps someone else (took me 2 days of fiddling to work it out!!!!!!)



I've done this, and it's still not working with PHP mail settings. Any other ideas?
Thanks in advance.
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