SQL Mail and SQLAgentMail can use the same mail profile or they can use different mail profiles. If necessary, each mail profile can be configured within their own domain accounts.
When configured, mail profiles are specific to the Microsoft® Windows NT® user domain account that is activated when a user logs on to Windows NT successfully. SQL Mail must have a mail profile created in the same user domain account or context that is used to start SQL Server. When a mail stored procedure is executed, SQL Mail looks for the defined mail profile in the domain account that triggered it.
If you plan to use mail stored procedures you must:
To configure a mail profile
To set up SQL Mail
If you plan to send notifications to operators by e-mail or pager, you must:
A mail profile is required by SQLAgentMail to start a mail session and send notification by e-mail or pager. A SQL Server Agent mail session is started every time that the SQLServerAgent service is started. You can create the profile with a mail client, such as Microsoft® Outlook™, that is installed locally on the SQL Server computer.
To configure a mail profile
To set up SQLAgentMail
SQL Mail and SQLAgentMail sessions may be configured to use the same Windows NT domain user account. When using the same domain account, SQL Mail and SQLAgentMail can share the same mail profile using a common mailbox.
Microsoft® SQL Server™ uses two separate mail sessions:
You can configure separate mailboxes for SQL Mail and SQLAgentMail by creating separate mail profiles. There are two ways to accomplish this:
For more information about setting up and configuring mail clients and mail profiles, see your Windows NT documentation.