Skip to content

Conversation

@ribvid
Copy link

@ribvid ribvid commented Jan 29, 2026

WordPress changeset 61010 removed the third parameter (false) from setFrom() in wp_mail(), which now causes the Sender header to be automatically set. This can cause sender verification failures with some SMTP servers.

This fix explicitly sets Sender property to match From address.

Fixes #15

@ribvid ribvid changed the title Fix SMTP sender verification after WordPress 6.7 changes Fix SMTP sender verification after WordPress changes Jan 29, 2026
WordPress changeset 61010 removed the third parameter (false) from
setFrom() in wp_mail(), which now causes the Sender header to be
automatically set. This can cause sender verification failures with
some SMTP servers.

This fix explicitly sets Sender property to match From address.

Fixes roots#15
@ribvid ribvid force-pushed the fix/sender-header branch from 98d0531 to 5459db2 Compare January 29, 2026 16:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

SMTP verification error

1 participant