Skip to content

fix return value for single email address of Message::normalizeEmail() - #4

Open
haginaga wants to merge 2 commits into
phalcon:masterfrom
haginaga:hotfix/message-normalizeEmail
Open

haginaga wants to merge 2 commits into
phalcon:masterfrom
haginaga:hotfix/message-normalizeEmail

Conversation

@haginaga

@haginaga haginaga commented Mar 7, 2022

Copy link
Copy Markdown

In Message class, from() method with a name argument does not work properly. The same applies replyTo() method and to(), cc(), bcc().
Because, normalizeEmail() method in Message class return always array type.
In Swift Mailer Message class, the setFrom() method with a name argument needs a string email and a name argument, not array type email.
This pull request fixes its problem.

Please validate it.

niden pushed a commit that referenced this pull request Jul 6, 2025
Removing Codeception to replace it with PHPUnit
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.

2 participants