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!