Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2012 Forums
 SQL Server Administration (2012)
 E-Mail with attachment from network drive

Author  Topic 

Mountainman
Starting Member

1 Post

Posted - 2014-07-01 : 03:08:00
Hi.
I try to send an e-mail with an attachment from a different server, so far so good.
If the stored procedure, which runs the MS-internal SP_send_mail, is run by an user which is sysadmin everything works fine.
Unfortunatly our DB-Admin does not like this
When i switch the user to a standard AD-Account e.g. "StdUser" (dbo etc.) i receive an error (file invalid) when try to send the mail with attachment.
Both users (MS SQL Server service account user and "StdUser" do have read access on the network share.
The attachment path is full qualified.
Any idea?
   

- Advertisement -