Rats... Didn't work. Still same error.
Main Topics
Browse All TopicsHelp!!!! Ok here is the problem. I know enough about dbases to get myself in trouble. I never used the dbase to send e-mails. I've always developed an application to perform the e-mails. I kind of like that because it is easier to troubleshoot for me. Anyway, we had this one guy who worked with us but long story short he had to be let go. He set up the e-mail in SQL server. The last time the e-mail worked was before we changed the login info - we created a new account and password to the dbase. I was able to figure out that that was part of the problem.
So, went to System Databases | msdb | Security | Users and created the new account and mimicked what the old login.
I then went to Management | Database Mail | Configure Database Mail. There I only had to modify the Manage profile security. I went to Private Profile and selected the new log in and clicked on the Access check box.
So, if I run exec sp_sysmail_activate the e-mails are generated. The problem is that they are suppose to be generated programatically.
He created a bunch of stored procedures in the dbase like sp_SendEventEmail. I just can't find where they are called from. In addition I am reciving the following error message:
Message
The activated proc [dbo].[sp_sysmail_activate
So, if I run the EXEC command in SQL server the e-mails will go out but I need it to work programatically again. Any ideas?
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Business Accounts
Answer for Membership
by: aneeshattingalPosted on 2009-04-27 at 13:04:36ID: 24245165
got this from another forum
vate TO [mycomp\test]
Grant execute permission to the account that is running the SQL agent account and the mail...
use master
GRANT EXECUTE ON master.dbo.xp_sysmail_acti
use msdb
alter queue ExternalMailQueue with status = on