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 3Sign in to save

Complete solution

Shows how to fix show a display name in the SES From header: quote the name ahead of the address. Use it when you hit this exact problem. Skip it when your error message or symptom looks different.

TL;DR

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.

Steps

  1. Set the Source field to a quoted display name, a space, then the address wrapped in angle brackets (the standard RFC From format).
  2. 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.

When to use

You are seeing this: They were passing just the address string and did not know the accepted format for combining a name with the address. Use this skill when you run into "Show a display name in the SES From header: quote the name ahead of the address".

When not to use

If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.

Versions

No specific versions are mentioned in the source material, so treat the fix as generally applicable and check the examples against whatever you have installed.

Why this happens

The original report does not dig into a root cause. It documents the symptom and the fix that resolved it.

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 3 · 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>