1 Risposta
- Più recenti
- Maggior numero di voti
- Maggior numero di commenti
1
If you want to specify the display name ('friendly name') that contains spaces, you should put that sender name in double quotes. Do not forget to escape them:
Source = "\"My Website\" <noreply@mywebsite.com>"
In general, always prefer that format.
Please refer to the Amazon SES Developer Guide. Please also refer to the RFC5322 standard.
con risposta 2 anni fa
Contenuto pertinente
- AWS UFFICIALEAggiornata 3 anni fa
- AWS UFFICIALEAggiornata un anno fa
- AWS UFFICIALEAggiornata 8 mesi fa
This worked for me, though since it worked intermittently in the past, I can't fully test it. I didn't find anything in the documentation about surrounding the friendly name in quotes in case of whitespace, but since the quote marks don't show up literally in the email header when delivered, it makes sense that they would be acting to delimit the contents as a single string. We'll go with it. Thanks.