Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

haginaga
Copy link

@haginaga haginaga commented Mar 7, 2022

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.

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