Quantcast
Channel: Microsoft SQL Server
Viewing all articles
Browse latest Browse all 4871

From Address SQL server email

$
0
0

I have a stored procedure that sends emails to my customers I told it to use a different from email address, but it didn't what am I missing?  It ended up sending it out as the SQL email profile address.

EXEC msdb.dbo.sp_send_dbmail

@recipients = @email

,@blind_copy_recipients = 'emailusers'

,@from_address = 'AdvNotify@server.com'

,@Body = @Body

,@subject = @Subject

,@body_format = 'html'

,@exclude_query_output = 1


Viewing all articles
Browse latest Browse all 4871

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>