Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SQL mail problem with a trigger

Status
Not open for further replies.

k8277

Programmer
Jan 10, 2003
104
US
I am using SQL 2000, Outlook 2000 as my mail client and Lotus Notes as my POP3 server.

Recently my .pst file became corrupt, so I had to recreate my mail profile. I can do the following:
1. Open Outlook and send/receive mail with the account
2. I can successfully Test the profile within Enterprise Manager/SQL Mail
3. I can successfully send a simple mail message from Query Analyzer.

My problem is that when I try to send mail from a trigger, the trigger hangs and does not process. If I comment out the xp_sendmail code in the trigger, the trigger works.
I have an exact copy of this trigger on a test box and it works fine.

After I recreated and tested my mail profile, I restarted the SQL Server service, however, I have not rebooted the machine yet.
 
PLEASE DO NOT CROSS POST !!

You already have started a thread in the SQL Server Programming forum ... thread183-825283

Thanks

J. Kusch
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top