Re: how to: non-admin user sending email from a SP ?
From: Aaron Weiker (aaron_at_sqlprogrammer.org)
Date: 01/30/05
- Next message: --CELKO--: "Re: Auto Number"
- Previous message: Patrick Rouse: "Re: Problem scheduling job"
- In reply to: TR: "how to: non-admin user sending email from a SP ?"
- Next in thread: TR: "Re: how to: non-admin user sending email from a SP ?"
- Reply: TR: "Re: how to: non-admin user sending email from a SP ?"
- Messages sorted by: [ date ] [ thread ]
Date: Sun, 30 Jan 2005 11:20:33 -0800
Hello TR,
Check out using XPSMTP [1] for sending emails from inside of SQL Server.
All you would have to do then is grant the appropriate people permission
to call this procedure and you would not be relying on CDONTS.
1: http://www.sqldev.net/xp/xpsmtp.htm
-- Aaron Weiker http://aaronweiker.com/ http://sqlprogrammer.org/ > Whenever users insert a row into a particular table, I want an insert > trigger to invoke a stored proc that sends an email. I want to have > this > email be sent right away and would prefer to avoid using a daemon > process > that examines a queue periodically. Nor do I want to use any > client-side > coding. We're using SQL 2000; the datbase server does not have IIS > installed. CDOSYS seems to be a way to go, but I'm not sure. An > article I > found at > http://support.microsoft.com/default.aspx?scid=kb;en-us;312839 > states that "Only members of the sysadmin fixed server role can run > the OLE > Automation stored procedures". The users on our system will not be > members > of the sysadmin role. Will we run into permissions obstacles? Who is > the > user when an insert trigger invokes a SP --is it the user who inserted > the > row? > Thanks > TR
- Next message: --CELKO--: "Re: Auto Number"
- Previous message: Patrick Rouse: "Re: Problem scheduling job"
- In reply to: TR: "how to: non-admin user sending email from a SP ?"
- Next in thread: TR: "Re: how to: non-admin user sending email from a SP ?"
- Reply: TR: "Re: how to: non-admin user sending email from a SP ?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|