there is an error in the SMTP component of version 1.10.3.
If the server supports authenticated smtp and the handshaking is set to
Auto and I connect to the server just with the hostname only (without
username and password), I get the following error message:
Out of memory while expanding memory stream.
You can reproduce it with the demo sample.
A work arround is to check before the connect call, if the username is
set. If not, change the handshaking to manual and send the Helo command
after successfull connect.
Please fix this bug in the next release.