DB mail issue

  • I'm getting the below error for one particular sql server but it works fine for other servers, using one mail server for all. config settings all the same.

    cannot send test mail or anything

    error;

    The mail could not be sent to the recipients because of the mail server failure. (Sending Mail using Account 1 (2011-03-03T13:36:03). Exception Message: Cannot send mails to mail server. (Mailbox unavailable. The server response was: 5.7.1 Unable to relay).

  • the error 5.7.1 Unable to relay says the issue is with your mail server refusing anonymous mail;

    usually a mail server requires mail to either come from 1)a trusted source/ip, or 2) authenticate with a username and password.

    if other SQL servers on your network domain are able to send, I'd say you need to add your server's IP address to the mail server's allowed IP address list.

    Lowell


    --help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!

  • Thanks.

    I've set up to accept mail from any server on that subnet. Do you reckon I should add specifically that IP rather than giving the range?

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic. Login to reply