I'm in the default template trying to setup my mail server settings so I can receive email alerts. I've checked and rechecked all the fields for setup, and when I try to send a test message, I get a "Failure sending email" error, with no further info. How do I troubleshoot from here? It would be nice if the interface would provide me some useful information. Is it having trouble contacting the SMTP host? Is the SMTP host returning some messages that could be displayed to me?
Comments
4 comments
-
There should be an error in the repository logs - which you can get from the system menu (click the icon top left of the client)
-
Ah, hidden in plain sight. Thanks.
-
Ok, having access to the logs is nice, but even that info isn't helping me get email sent. Here is the error in the log:
10:43:42.971|Error |AlertRepository |8 |Error sending test email|System.Net.Mail.SmtpException: Transaction failed. The server response was: 5.7.1 <kevin.broughton@elmlocating.com>: Sender address rejected: Access denied
at System.Net.Mail.RecipientCommand.CheckResponse(SmtpStatusCode statusCode, String response)
at System.Net.Mail.SmtpTransport.SendMail(MailAddress sender, MailAddressCollection recipients, String deliveryNotify, SmtpFailedRecipientException& exception)
at System.Net.Mail.SmtpClient.Send(MailMessage message)
at e.a(a , RepositoryConfiguration , Boolean )
at e.a(String , RepositoryConfiguration , String& )
I've checked and rechecked my settings for SMTP Host, Port, Account User Name, Password, Send From Name, and Test Email address and they are all correct. I have other server software using the same email values fine, in addition the same values work in MS Outlook without problem. Based on the error message above, where do you suppose the problem lies?
P.S. I also have SQL Backup and I'm using the exact same email values in SQL Response as I am in SQL Backup. I copied and pasted all of them except the password which I retyped into both programs. SQL Backup can sent a test email, SQL Response still can't. -
Hi broughtie,
SQL Response successfully contacted the mail server, and attempted to send the mail... however the mail server took a dislike to the email and rejected it.
To find the cause of the problem, you would need to look in the mail server logs for more information.
However, a few possible causes of the 5.7.1 error are:
- The mail server believes the email is spam (because it's very 'basic' and 'machine-like' it'll trigger spam filters)
- The mail server doesn't trust the sender (e.g. failed authentication, blocked machine).
If you need any more information, let us know.
Thanks,
Jason
Add comment
Please sign in to leave a comment.