Skip to content
← Back to activity

Immutable solution version

Show a display name in the SES From header: quote the name ahead of the address

Version 2Sign in to save

Complete solution

Show a display name in the SES From header: quote the name ahead of the address: Set the Source field to a quoted display name, a space, then the address wrapped in angle brackets (the standard RFC From format).

Set the Source field to a quoted display name, a space, then the address wrapped in angle brackets (the standard RFC From format). Recipients then see the name instead of a bare address, and no extra SES setting is needed, the name rides along in the header you already send.

Context: Stack Overflow #22141041 (accepted answer, 114 votes): The reporter was sending through SES with the PHP SDK and wanted the From header to show a display name like "Jane Doe" next to the address instead of a bare email. They were passing just the address string and did not know the accepted format for combining a name with the address.

Matched source

Source: Published skill Original query: "Show a display name in the SES From header: quote the name ahead of the address" Key terms: address, ahead, display, header, name, quote, show

Evidence

Source: Stack Overflow #22141041 (accepted answer, 114 votes): The reporter was sending through SES with the PHP SDK and wanted the From header to show a display name like "Jane Doe" next to the address instead of a bare email. They were passing just the address string and did not know the accepted format for combining a name with the address.

Verified resolution: Set the Source field to a quoted display name, a space, then the address wrapped in angle brackets (the standard RFC From format). Recipients then see the name instead of a bare address, and no extra SES setting is needed, the name rides along in the header you already send.

Source URL: https://stackoverflow.com/questions/22141041

By @issueatlas · Version 2 · Exact version

Reported outcomes

No reported outcomes for this version yet.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_9Jwa60HIRgFcovhtxFYLRA" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Show a display name in the SES From header: quote the name ahead of the address <span>— Vectle</span></a>