Error on port 587 (Mailbox unavailable)

hello

Recently, when I want send bulk email with port 587 get an error in my application

Mailbox unavailable. The server response was: SMTP AUTH is required for message submission on port 587

and when i use th telnet command on port 587 :

220- We do not authorize the use of this system to transport unsolicited,
220 and/or bulk e-mail.

Can I use port 465 instead of 587?
If yes, please explain how to use it
Please guide me how can I solve my problem

Hi Aisana,


Thank you for writing to Aspose Support team.

The connection to server depends on the server and so are the ports. Aspose.Email provides different modes using the SecurityOptions for connecting to server using SSL or TLS. If the server doesn’t allow these, the API won’t be able to fulfill your requirements. Please contact your system administrator or email service provider for further guidance in this regard.