fluent-smtp icon indicating copy to clipboard operation
fluent-smtp copied to clipboard

SMTP errors not reported "properly"

Open redbullpeter opened this issue 1 year ago • 1 comments

Version: 2.2.81

SMTP errors are not reported as reported by the SMTP host which makes it difficult to debug issues. For example when there is a 4.7.1 error this is the reported "Server Response": { "code": 422, "message": "SMTP Error: data not accepted.", "errors": [ "SMTP Error: data not accepted." ] }

However at the server end the error is:

milter-reject: END-OF-MESSAGE from unknown[xxx.xxx.xxx.xxx]: 4.7.1 Service unavailable - try again later;

The error code is always 422 and the messages are not the actual error. The information provided here should be the actual server response or the full transcript of the SMTP exchange.

redbullpeter avatar Nov 07 '24 15:11 redbullpeter

hi i am using several smtp servers - one declares error to html test emails - it's a major server in France @laposte.net

i see the same log in Fluent smtp journal page:

Réponse du serveur

{ "code": 422, "message": "SMTP Error: data not accepted.", "errors": [ "SMTP Error: data not accepted." ] }

What could be done to identify and fix this html email sending issue?

thanks for you concertn

punkyard avatar Jan 06 '25 09:01 punkyard