Hi,
Here's the scenario. I am running a stored procedure from a 2000 box using a job.
The stored procedure on the 2000 box then calls a stored procedure on a linked 2005 box that uses sp_send_dbmail to send an email. We are using this workaround due to problems sending mail on the 2000 box. It works fine this way.
However, the problem is that when I run the stored procedure on the 2000 box from a JOB, it hasn't been sending the mail.
The sql server agent runs under a windows user. My question is, what permissions are needed for the windows user?? If any.
However, I changed the OWNER of the job to sa, and now it appears to be sending the emails from the job.
So, is this a matter of the sql server agent account or the job owner that was preventing the mail from being sent?
Very confused!
Thanks
Here's the scenario. I am running a stored procedure from a 2000 box using a job.
The stored procedure on the 2000 box then calls a stored procedure on a linked 2005 box that uses sp_send_dbmail to send an email. We are using this workaround due to problems sending mail on the 2000 box. It works fine this way.
However, the problem is that when I run the stored procedure on the 2000 box from a JOB, it hasn't been sending the mail.
The sql server agent runs under a windows user. My question is, what permissions are needed for the windows user?? If any.
However, I changed the OWNER of the job to sa, and now it appears to be sending the emails from the job.
So, is this a matter of the sql server agent account or the job owner that was preventing the mail from being sent?
Very confused!
Thanks