SQL Agent Send Mail Permission

  • I set up my sql server agent to email. It always gives me a failure message when I send to outside, but it is sucessfully for internal mail.

    Why ?  Thanks.

     

  • Could you post the error message ?

    RegardsRudy KomacsarSenior Database Administrator"Ave Caesar! - Morituri te salutamus."

  • I did not get any error from the sql server. But my email inbox receive the following error message.

     

    Thanks.

    From: postmaster@DBASE-SVR.hot.local

    [mailto:postmaster@DBASE-SVR.hot.local]

    Sent: Saturday, December 17, 2005 12:43 PM

    To: fliao@hot.com

    Subject: Delivery Status Notification (Failure)

     

    This is an automatically generated Delivery Status Notification.

    Unable to deliver message to the following recipients, due to being unable to connect successfully to the destination mail server.

  • I did not get any error from the sql server. But my email inbox receive the following error message.

     

    Thanks.

    From: postmaster@DBASE-SVR.hot.local

    [mailto:postmaster@DBASE-SVR.hot.local]

    Sent: Saturday, December 17, 2005 12:43 PM

    To: fliao@hot.com

    Subject: Delivery Status Notification (Failure)

     

    This is an automatically generated Delivery Status Notification.

    Unable to deliver message to the following recipients, due to being unable to connect successfully to the destination mail server.

  • If you did not get an error message within SQL Server then your next step would be to contact your email admin. depending on your email system there are various rules and logs to look at.

    RegardsRudy KomacsarSenior Database Administrator"Ave Caesar! - Morituri te salutamus."

  • Here is another link for explaination

    http://www.sqlservercentral.com/forums/shwmessage.aspx?forumid=150&messageid=245636

     

    I talked to our exchange adm.

    Here is his answer.

    An smtp server has to be setup somewhere. And also need a valid email acct to send outside.

    my situation:

    The smtp server is the virtual server in the IIS. The domain name in the server is dbase-svr.holyredeemer.local. The drop directory location is in the database server: C:\Inetpub\mailroot\Drop. I wrote an stored procedure in the SQL server database and set up a job in the SQL manager to email . I do not have problem to email me and Amelia. but it gav me failure message while I emailed to other outside domain email.

    Thanks.

     

Viewing 6 posts - 1 through 5 (of 5 total)

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