Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 282
  • Last Modified:

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
0
anushahanna
Asked:
anushahanna
  • 2
  • 2
2 Solutions
 
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
 
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
 
anushahannaAuthor Commented:
thanks.
0

Featured Post

Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now