Error on QEmailServer Send at cli mode.

thread: 2 messages  |  last: a year ago  |  started: sunday, june 6, 2010, 9:22 pm pdt


#1  |  Gustavo Pilla (Quilmes, Buenos Aires) Argentina
Sunday, June 6, 2010, 9:22 PM PDT

When i try, to use the QEmailServer on cli mode, i cant, i get a EHLO 501 error, wich means, that something is missing or is wrong in the message to the SMTP server.

The problem really is that is that QCodo, is not correcly filling the  QEmailServer::$OriginatingServerIp static propertie, and when generates the message, the IP of the sender is missing...

I think that a quick and good fix, will be that if there is not way to check the IP, when the message is generated for the SMTP server, lets add by default 127.0.0.1.

Im happy to help... See you!

#2  |  Mike Ho (Sunnyvale, CA) United States of America Qcodo Administrator
Monday, June 7, 2010, 10:55 PM PDT

Thanks... actually, it currently does default to “localhost” - but we'll switch it to 127.0.0.1.  I don't think it is necessarily important to do the server ip lookup on every hit (even though there might not even be a cost to it) - EHLO IP address checking is not done on any SMTP server that I know of.  But if someone wants to override it, it really should be a hard coded configuration constant anyway.

This has been committed to GIT and should be in the next (0.4.16) release.



Copyright © 2005 - 2012, Quasidea Development, LLC
This open-source framework for PHP is released under the terms of The MIT License.