Page 1 of 1

Warning SMTP Error: Data not accepted

Posted: Sun May 26, 2019 10:39 am
by HeshanKaru1994
warn.PNG
warn.PNG (11.16 KiB) Viewed 2744 times
Getting this warning and I dont know why it occurs in the code

Re: Warning SMTP Error: Data not accepted

Posted: Mon May 27, 2019 4:18 pm
by amosbatto
Open the case in Debug Mode, and check whether you see anything in the __ERROR__ variable.

In your env.ini file, add the line:
debug = 1
Does it show any more information?

Do you see a record for the notification in the APP_MESSAGE table in the database?

Re: Warning SMTP Error: Data not accepted

Posted: Mon May 27, 2019 8:35 pm
by HeshanKaru1994
Dont get an error message

Re: Warning SMTP Error: Data not accepted

Posted: Tue May 28, 2019 5:51 pm
by amosbatto
You probably need to change the configuration under Admin > Email Settings or maybe you can't connect to your email server (connection down, blocked by firewall, etc.).

Look at the record for the notification, which is found in the APP_MESSAGE table in the database to make sure that it is sending to a valid email address and coming from a valid account.

Remember that the email's FROM line should be the same as the email account that you configured under Admin > Email Settings. For example, if you configured to send email from the account of [email protected], but you are trying to send it from the account of [email protected], then most email servers will reject the email as spam.

Re: Warning SMTP Error: Data not accepted

Posted: Tue May 28, 2019 7:55 pm
by HeshanKaru1994
Deployed the same process to a new environment in cloud and the warning is gone forever,I think some issues in the previous cloud environment