You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/relational-databases/database-mail/configure-database-mail.md
+14-14Lines changed: 14 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@ title: "Configure Database Mail"
3
3
description: "Configure Database Mail using the Database Mail Configuration Wizard or T-SQL commands."
4
4
author: WilliamDAssafMSFT
5
5
ms.author: wiassaf
6
-
ms.date: 02/23/2023
6
+
ms.date: 11/07/2023
7
7
ms.service: sql
8
8
ms.topic: conceptual
9
9
f1_keywords:
@@ -126,16 +126,16 @@ The following steps use SQL Server Management Studio (SSMS). Download the latest
126
126
Type a description of the account. The description is optional.
127
127
128
128
**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.
130
130
131
131
**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.
133
133
134
134
**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.
136
136
137
137
**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.
139
139
140
140
**Port number**
141
141
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
144
144
Encrypts communication using Secure Sockets Layer.
145
145
146
146
**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).
148
148
149
149
**Basic Authentication**
150
150
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
175
175
View or update the description of the account. The description is optional.
176
176
177
177
**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**.
179
179
180
180
**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.
182
182
183
183
**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**.
185
185
186
186
**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.
188
188
189
189
**Port number**
190
190
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
317
317
318
318
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.
319
319
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.
321
321
322
322
**Public**
323
323
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
340
340
341
341
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.
342
342
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.
344
344
345
345
**User name**
346
346
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
352
352
View the name of the profile.
353
353
354
354
**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.
356
356
357
357
**Show only existing private profiles for this user**
358
358
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
436
436
437
437
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)
438
438
439
-
## Next steps
439
+
## Related content
440
440
441
441
-[Configure SQL Server Agent Mail to Use Database Mail](configure-sql-server-agent-mail-to-use-database-mail.md)
442
442
-[Automate management tasks using SQL Agent jobs in Azure SQL Managed Instance](/azure/azure-sql/managed-instance/job-automation-managed-instance)
0 commit comments