profile name in SQL Mail

how can i see the name of the profile set up?


select * from msdb..sysmail_profileaccount gives only the profile id.


select * from msdb.sys.columns where name  like '%profile%' also shows profile_id not names..

thanks
LVL 6
anushahannaAsked:
Who is Participating?
 
lcohanDatabase AnalystCommented:
The SP below should give you all details you're looking for:

EXECUTE msdb.dbo.sysmail_help_principalprofile_sp

For more SQL Mail SP's please see: http://msdn.microsoft.com/en-us/library/ms177580.aspx
0
 
MuffyBunnyCommented:
In Enterprise Manager, in the object explorer, open the Management folder. Right-click Database Mail and select Configure Database Mail.

Get to where the options are Set up Database Mail by performing...., Manage Database Mail accounts and profiles, Manage profile security, and View or change system parameters. Choose Manage Database Mail accounts and profiles. You should be able to figure it out from there.
0
 
anushahannaAuthor Commented:
thanks MuffyBunny.

will be doing this on multiple servers - so if there is a proc already for this, that will be great.
0
 
MuffyBunnyCommented:
Connect to msdb and run this

select * from sysmail_profile
0
 
anushahannaAuthor Commented:
thanks.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.