Solved

profile name in SQL Mail

Posted on 2011-02-15
5
268 Views
Last Modified: 2012-05-11
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
Comment
Question by:anushahanna
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 6

Expert Comment

by:MuffyBunny
ID: 34899970
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
 
LVL 6

Author Comment

by:anushahanna
ID: 34900007
thanks MuffyBunny.

will be doing this on multiple servers - so if there is a proc already for this, that will be great.
0
 
LVL 6

Assisted Solution

by:MuffyBunny
MuffyBunny earned 250 total points
ID: 34900292
Connect to msdb and run this

select * from sysmail_profile
0
 
LVL 40

Accepted Solution

by:
lcohan earned 250 total points
ID: 34900332
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
 
LVL 6

Author Comment

by:anushahanna
ID: 34900535
thanks.
0

Featured Post

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

SQL Server engine let you use a Windows account or a SQL Server account to connect to a SQL Server instance. This can be configured immediatly during the SQL Server installation or after in the Server Authentication section in the Server properties …
Use this article to create a batch file to backup a Microsoft SQL Server database to a Windows folder.  The folder can be on the local hard drive or on a network share.  This batch file will query the SQL server to get the current date & time and wi…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question