Solved

profile name in SQL Mail

Posted on 2011-02-15
5
266 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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…
In this article we will get to know that how can we recover deleted data if it happens accidently. We really can recover deleted rows if we know the time when data is deleted by using the transaction log.
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

763 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