Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

SQl 2008 Database Mail Question

Posted on 2014-04-16
4
Medium Priority
?
464 Views
Last Modified: 2014-04-17
SQL 2008 64 Bit Enterprise
Windows 2008 Server 64 Bit
Three SQL database instances

I have database mail working great and has been since sql 2008 be running.

I made a change to the reply to email address save the database mail settings and restarted the SQL Agent,

But I still get the old reply to email address.

Also I setup a new maintenance  plain for a new database and all the jobs have notification set to send email to the operator only when job fails.
I am getting the email every time the job runs which is successful job ends.

Do I need to restart SQL?
Is there a tsql command I can run to check things?

Thanks

Tom
0
Comment
Question by:Thomas Grassi
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 75

Accepted Solution

by:
Anthony Perkins earned 1500 total points
ID: 40005670
Is there a tsql command I can run to check things?
Have you tried:
EXECUTE msdb.dbo.sysmail_help_account_sp
0
 
LVL 75

Expert Comment

by:Anthony Perkins
ID: 40005672
Incidentally, the easiest way to change account information is using the system Stored Procedure:
sysmail_update_account_sp
0
 
LVL 23

Author Comment

by:Thomas Grassi
ID: 40005710
Anthony

thanks for responding so fast

my results using the commands above match with what I entered using the SSIS


The second command sysmail_update_account_sp  failed did I miss something see below

EXECUTE msdb.dbo.sysmail_help_account_sp


account_id      name      description      email_address      display_name      replyto_address      servertype      servername      port      username      use_default_credentials      enable_ssl
1      SQLMAN      SQL Mail      support@mydomin.com      SQLMAN 2008      no-reply@mydomain.com      SMTP      serv005.our.network.mydomain.com      25      NULL      0      0


account_id      name      description      email_address      display_name      replyto_address      servertype      servername      port      username      use_default_credentials      enable_ssl
2      SQLMAN      SQL Email      support@mydomain.com      SQLMAN Sharepoint      no-reply@mydomain.com      SMTP      serv005.our.network.mydomain.com      25      NULL      0      0


account_id      name      description      email_address      display_name      replyto_address      servertype      servername      port      username      use_default_credentials      enable_ssl
1      SQLMAN      SQL Mail      support@mydoman.com      SQLMAN Wrestling      no-reply@mydomain.com      SMTP      serv005.our.network.mydomain.com      25      NULL      0      0



sysmail_update_account_sp


Msg 2812, Level 16, State 62, Line 1
Could not find stored procedure 'sysmail_update_account_sp'.



What I changed on the database mail was just the replyto email address  
saved and it still uses the old replyto
0
 
LVL 23

Author Closing Comment

by:Thomas Grassi
ID: 40008133
Thanks Anthony

I thought the emailaddress filed was the send to address but that is in the operator config
So I changes the emailaddress field in the database mail and now all good.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Lotus Notes has been used since a very long time as an e-mail client and is very popular because of it's unmatched security. In this article we are going to learn about  RRV Bucket corruption and understand various methods to Fix "RRV Bucket Corrupt…
In this article, I’ll look at how you can use a backup to start a secondary instance for MongoDB.
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …

618 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question