December 14, 2006 at 10:40 am
Hi i am rtying to run Database mail from sp_send_dbmail
but it fails by saying that Profile name is not valid.
I want to set the Profile name to be System name (servername) (testServer)
how can i do that!!
this is what i am trying to do
EXEC msdb.dbo.sp_send_dbmail
@profile_name ='',--I want to send Servername
@recipients = 'test@test.com,
@subject = 'Test';
Thanks
December 14, 2006 at 11:47 am
Use database mail configuration wizard or procedures...
http://msdn2.microsoft.com/en-us/library/ms177215.aspx
Database Mail Configuration Stored Procedures
http://msdn2.microsoft.com/en-us/library/ms175862.aspx
http://msdn2.microsoft.com/en-us/library/ms190307.aspx
MohammedU
Microsoft SQL Server MVP
Viewing 2 posts - 1 through 1 (of 1 total)
You must be logged in to reply to this topic. Login to reply