SQl 2008 Database Mail Question

Posted on 2014-04-16
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?


Question by:Thomas Grassi
  • 2
  • 2
LVL 75

Accepted Solution

Anthony Perkins earned 500 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
LVL 75

Expert Comment

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

Author Comment

by:Thomas Grassi
ID: 40005710

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      SQLMAN 2008      SMTP      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      SQLMAN Sharepoint      SMTP      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      SQLMAN Wrestling      SMTP      25      NULL      0      0


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
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.

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Master DB with Masterkey 1 34
MIcrosoft SQL 2014 Database Copy Question 16 53
Database ERD 4 31
SQL Server Shrink hurting performance? 4 22
In this article we will get to know that how can we recover deleted data if it happens accidently. We really can recover deleted rows if we know the time when data is deleted by using the transaction log.
Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

828 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