B4J Question SMTP Issue

lee taylor

New Member
Licensed User
Longtime User
Trying to connect to a 365 account to send mail, I can connect and receive through pop as per the server example.
when trying to send i keep getting an error with :-

empty writer returned: 503 5.5.2 send hello first.

This Is the furthest i have gotten, the settings are
as per the 365 account settings with

server :- smtp.office365.com
port :- 587
encry :- TLS (SMTP.StartTLSMode = True)

Apologies if the answer is anywhere else but i have looked and looked without finding anything

Any ideas
 
Top