all groups > sql server dts > february 2005 >
You're in the

sql server dts

group:

Sending Email from a job with ActiveX



Sending Email from a job with ActiveX james rimell
2/21/2005 1:41:46 PM
sql server dts: I am creating a Job using the SQLDMO interface, if the job fails I want it
to email someone with an appropriate error message.

On some servers this works fine and on others it doesn't, it all seems to
depend on the mail profile settings. The wierd thing is that an activeX
script that doesn't work from within a job will work straight from a DTS
package

can anyone tell me if there is any way that I can set up the email to work
everytime or set up the server to use the same email settings for Packages
and Jobs

thanks

JR

Re: Sending Email from a job with ActiveX Gert E.R. Drapers
2/21/2005 4:56:06 PM
Probably because the security context of the job is different from the
interactive user.

GertD@SQLDev.Net

Please reply only to the newsgroups.
This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use.
Copyright © SQLDev.Net 1991-2005 All rights reserved.

[quoted text, click to view]

AddThis Social Bookmark Button