EMAIL, (UnForm 8.0) mail server Error 535 #5.7.0 Authentication failed

(Note: UnForm 9.0 supports STARTTLS - UnForm 8.0 does not).


QUESTION:


Support;

 One of our customers got the error message “Error 535 #5.7.0 Authentication failed”

 when sending a statement with email. Would you please let me know whether it is

 complaining about the email server, email account or the port #?

 I also included the account setup below.

 

 11:52:33 Started

11:52:33 Connecting to server smtp.xxx.com

11:52:33 Server: 220 smtp.xxx.com ESMTP

11:52:33 Initialize conversation

11:52:33 Client: EHLO yyy.localdomain

11:52:33 Server: 250-smtp.xxx.com

11:52:33 Server: 250-8BITMIME

11:52:33 Server: 250-SIZE 70254592

11:52:33 Server: 250-STARTTLS

11:52:33 Server: 250-AUTH PLAIN LOGIN

11:52:33 Server: 250 AUTH=PLAIN LOGIN

11:52:33 Authenticate

11:52:33 Client: AUTH LOGIN

11:52:33 Server: 334 VXNlcm5hbWU6

11:52:33 Encoded send of xxx@yyy.com

11:52:33 Client: XXXXdGhAYmlnbW9lZ2XXX

11:52:33 Server: 334 UGFzc3dvcmQ6

11:52:33 Encoded send of zzz1221

11:52:33 Client: S2V5bWFuMTIyMQ==

11:52:34 Server: 535 #5.7.0 Authentication failed

11:52:34 Error 535 #5.7.0 Authentication failed

 

Setup in the /usr/unform/prog/mailcall.ini:

server=smtp.xxx.com

login=xxx@yyy.com

password=zzz1221

 

# Override port if necessary, default smtp port used is 25

port=25

 

Thanks


ANSWER:


The log indicates the server expects STARTTLS support from the mail client.

UnForm does not support this protocol until version 9.0

.

You need to find out if the mail server supports SMTPS (which is SMTP over SSL) which normally listens on port 465.  That or try port 587, as that is an alternate SMTP port.