Commit 3786c05
authored
DatabaseMail - Display Name - Caractere "\"
I have an instance named “DESKTOP-LUIZLIMA\SQL2022" and when I copy its name (SELECT @@ServerName) into the Database Mail Display Name field, the “\” character disappears when the email is sent. I was able to simulate this behavior and I've seen it happen in clients I work with as well.
When adjusting by including “\\” the name appears correctly in the email.
My suggestion would be to include something in this part of Database Mail talking about this slash “\” or other characters that may have a similar “disappearing” behavior.
https://learn.microsoft.com/en-us/sql/relational-databases/database-mail/configure-database-mail?view=sql-server-ver17
Also validate whether it is valid to insert it into the profile and account configuration pages, which also use the Display Name.
https://learn.microsoft.com/en-us/sql/relational-databases/database-mail/create-a-database-mail-profile?view=sql-server-ver17
https://learn.microsoft.com/en-us/sql/relational-databases/database-mail/create-a-database-mail-account?view=sql-server-ver171 parent 3263f7b commit 3786c05
1 file changed
Lines changed: 2 additions & 0 deletions
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
151 | 151 | | |
152 | 152 | | |
153 | 153 | | |
| 154 | + | |
| 155 | + | |
154 | 156 | | |
155 | 157 | | |
156 | 158 | | |
| |||
0 commit comments