Skip to content

Commit 3b8b376

Browse files
authored
Merge pull request #29013 from NathanMSFT/DatabaseMail_ServiceAccountAuth
Clarification about Database Engine service credentials
2 parents a344644 + fc3560e commit 3b8b376

1 file changed

Lines changed: 14 additions & 14 deletions

File tree

docs/relational-databases/database-mail/configure-database-mail.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: "Configure Database Mail"
33
description: "Configure Database Mail using the Database Mail Configuration Wizard or T-SQL commands."
44
author: WilliamDAssafMSFT
55
ms.author: wiassaf
6-
ms.date: 02/23/2023
6+
ms.date: 11/07/2023
77
ms.service: sql
88
ms.topic: conceptual
99
f1_keywords:
@@ -126,16 +126,16 @@ The following steps use SQL Server Management Studio (SSMS). Download the latest
126126
Type a description of the account. The description is optional.
127127

128128
**E-mail address**
129-
Type the name of the e-mail address for the account. This is the e-mail address that e-mail is sent from. For example, an account for [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] Agent may send e-mail from the address SqlAgent@Adventure-Works.com.
129+
Type the name of the e-mail address for the account. This is the e-mail address that e-mail is sent from. For example, an account for [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] Agent can send e-mail from the address SqlAgent@Adventure-Works.com.
130130

131131
**Display name**
132-
Type the name to show on e-mail messages sent from this account. The display name is optional. This is the name displayed on messages sent from this account. For example, an account for [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] Agent may display the name "SQL Server Agent Automated Mailer" on e-mail messages.
132+
Type the name to show on e-mail messages sent from this account. The display name is optional. This is the name displayed on messages sent from this account. For example, an account for [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] Agent can display the name "SQL Server Agent Automated Mailer" on e-mail messages.
133133

134134
**Reply e-mail**
135-
Type the e-mail address that is used for replies to e-mail messages sent from this account. The reply e-mail is optional. For example, replies to an account for [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] Agent may go to the database administrator, danw@Adventure-Works.com.
135+
Type the e-mail address that is used for replies to e-mail messages sent from this account. The reply e-mail is optional. For example, replies to an account for [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] Agent can go to the database administrator, danw@Adventure-Works.com.
136136

137137
**Server name**
138-
Type the name or IP address of the SMTP server the account uses to send e-mail. Typically this is in a format similar to **smtp.**_<your_company>_**.com**. For help with this, consult your mail administrator.
138+
Type the name or IP address of the SMTP server the account uses to send e-mail. Typically this is in a format similar to `smtp.<your_company>.com`. For help with this, consult your mail administrator.
139139

140140
**Port number**
141141
Type the port number of the SMTP server for this account. Most SMTP servers use port 25 or 587, or port 465 for SSL connections.
@@ -144,7 +144,7 @@ The following steps use SQL Server Management Studio (SSMS). Download the latest
144144
Encrypts communication using Secure Sockets Layer.
145145

146146
**Windows Authentication using Database Engine service credentials**
147-
Connection is made to the SMTP server using the credentials configured for the [!INCLUDE[ssDEnoversion](../../includes/ssdenoversion-md.md)] service.
147+
Connection is made to the SMTP server using the credentials configured for the [!INCLUDE[ssDEnoversion](../../includes/ssdenoversion-md.md)] service. Authentication to the mail server with the service credentials is performed via NTLM authentication, an option only available to Exchange on-premises. For more information, see [Authentication and EWS in Exchange](/exchange/client-developer/exchange-web-services/authentication-and-ews-in-exchange).
148148

149149
**Basic Authentication**
150150
Specify the user name and password required by the SMTP server.
@@ -175,16 +175,16 @@ The following steps use SQL Server Management Studio (SSMS). Download the latest
175175
View or update the description of the account. The description is optional.
176176

177177
**E-mail address**
178-
View or update the name of the e-mail address for the account. This is the e-mail address that e-mail is sent from. For example, an account for Microsoft SQL Server Agent may send e-mail from the address **SqlAgent\@Adventure-Works.com**.
178+
View or update the name of the e-mail address for the account. This is the e-mail address that e-mail is sent from. For example, an account for Microsoft SQL Server Agent can send e-mail from the address **SqlAgent\@Adventure-Works.com**.
179179

180180
**Display name**
181-
View or update the name to show on e-mail messages sent from this account. The display name is optional. This is the name displayed on messages sent from this account. For example, an account for SQL Server Agent may display the name **SQL Server Agent Automated Mailer** on e-mail messages.
181+
View or update the name to show on e-mail messages sent from this account. The display name is optional. This is the name displayed on messages sent from this account. For example, an account for SQL Server Agent can display the name **SQL Server Agent Automated Mailer** on e-mail messages.
182182

183183
**Reply e-mail**
184-
View or update the e-mail address that will be used for replies to e-mail messages sent from this account. The reply e-mail is optional. For example, replies to an account for SQL Server Agent may go to the database administrator, **danw\@Adventure-Works.com**.
184+
View or update the e-mail address that will be used for replies to e-mail messages sent from this account. The reply e-mail is optional. For example, replies to an account for SQL Server Agent can go to the database administrator, **danw\@Adventure-Works.com**.
185185

186186
**Server name**
187-
View or update the name of the SMTP server the account uses to send e-mail. Typically this is in a format similar to **smtp.<your_company>.com**. For help with this, consult your mail administrator.
187+
View or update the name of the SMTP server the account uses to send e-mail. Typically this is in a format similar to `smtp.<your_company>.com`. For help with this, consult your mail administrator.
188188

189189
**Port number**
190190
View or update the port number of the SMTP server for this account. Most SMTP servers use port 25 or 587, or port 465 for SSL connections.
@@ -317,7 +317,7 @@ The following steps use SQL Server Management Studio (SSMS). Download the latest
317317

318318
Profiles are either public or private. A private profile is accessible only to specific users or roles. A public profile allows any user or role with access to the mail host database (`msdb`) to send e-mail using that profile.
319319

320-
A profile may be a default profile. In this case, users or roles can send e-mail using the profile without explicitly specifying the profile. If the user or role sending the e-mail message has a default private profile, Database Mail uses that profile. If the user or role has no default private profile, `sp_send_dbmail` uses the default public profile for the `msdb` database. If there's no default private profile for the user or role and no default public profile for the database, `sp_send_dbmail` returns an error. Only one profile can be marked as the default profile.
320+
A profile can be a default profile. In this case, users or roles can send e-mail using the profile without explicitly specifying the profile. If the user or role sending the e-mail message has a default private profile, Database Mail uses that profile. If the user or role has no default private profile, `sp_send_dbmail` uses the default public profile for the `msdb` database. If there's no default private profile for the user or role and no default public profile for the database, `sp_send_dbmail` returns an error. Only one profile can be marked as the default profile.
321321

322322
**Public**
323323
Select this option to make the specified profile public.
@@ -340,7 +340,7 @@ The following steps use SQL Server Management Studio (SSMS). Download the latest
340340

341341
Profiles are either public or private. A private profile is accessible only to specific users or roles. A public profile allows any user or role with access to the mail host database (`msdb`) to send e-mail using that profile.
342342

343-
A profile may be a default profile. In this case, users or roles can send e-mail using the profile without explicitly specifying the profile. If the user or role sending the e-mail message has a default private profile, Database Mail uses that profile. If the user or role has no default private profile, `sp_send_dbmail` uses the default public profile for the `msdb` database. If there's no default private profile for the user or role and no default public profile for the database, `sp_send_dbmail` returns an error.
343+
A profile can be a default profile. In this case, users or roles can send e-mail using the profile without explicitly specifying the profile. If the user or role sending the e-mail message has a default private profile, Database Mail uses that profile. If the user or role has no default private profile, `sp_send_dbmail` uses the default public profile for the `msdb` database. If there's no default private profile for the user or role and no default public profile for the database, `sp_send_dbmail` returns an error.
344344

345345
**User name**
346346
Select the name of a user or role in the `msdb` database.
@@ -352,7 +352,7 @@ The following steps use SQL Server Management Studio (SSMS). Download the latest
352352
View the name of the profile.
353353

354354
**Is Default Profile**
355-
Select whether the profile is the default profile for the user or role. Each user or role may have only one default profile.
355+
Select whether the profile is the default profile for the user or role. Each user or role can have only one default profile.
356356

357357
**Show only existing private profiles for this user**
358358
Select this option to display only profiles that the specified user or role already has access to.
@@ -436,7 +436,7 @@ The following steps use SQL Server Management Studio (SSMS). Download the latest
436436

437437
1. The script doesn't grant any database users access to the profile. Therefore, by default, the profile can only be used by members of the **sysadmin** fixed security role. For more information about granting access to profiles, see [sysmail_add_principalprofile_sp (Transact-SQL)](../../relational-databases/system-stored-procedures/sysmail-add-principalprofile-sp-transact-sql.md)
438438

439-
## Next steps
439+
## Related content
440440

441441
- [Configure SQL Server Agent Mail to Use Database Mail](configure-sql-server-agent-mail-to-use-database-mail.md)
442442
- [Automate management tasks using SQL Agent jobs in Azure SQL Managed Instance](/azure/azure-sql/managed-instance/job-automation-managed-instance)

0 commit comments

Comments
 (0)