I ran into some roadblocks which sound similar. A popular internet search engine will show that others outside of B4A run into this as well. As far as I can see some overactive security is blocking the traffic at the network level.
The code will throw the following error: "android.system.ErrnoException: connect failed: ETIMEDOUT (Connection timed out)"
The error will occurs when I am using my companies corporate network, but if I take the same Nexus7 home and connect to my wifi router it works fine, also works fine if I use my cell phone as a mobile hotspot (port 587 and StartTLSMode).
For my purposes I have moved on and used code to launch the email app (Email object, with an intent). Not as user friendly as I would like to throw up the email application, as I wanted to send an email in the background without harassing the operator.
Cheers.