Skip to content

Fix bug when setting the 'From' email address in verification email #130

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

Merged
merged 1 commit into from
Apr 22, 2017

Conversation

chil360
Copy link
Contributor

@chil360 chil360 commented Apr 21, 2017

Using a property named 'from' to set a custom from address overrides a property from the 'Mailable' base class and causes the following error:

FatalThrowableError in Mailable.php line 442:
[] operator not supported for strings

Renaming the 'from' property to 'from_address' (and 'name' to 'from_name' for consistency) fixes the problem.

Using a property named 'from' to set a custom from address overrides a property from the 'Mailable' base class and causes the following error:

FatalThrowableError in Mailable.php line 442:
[] operator not supported for strings

Renaming the 'from' property to 'from_address' (and 'name' to 'from_name' for consistency) fixes the problem.
@jrean jrean merged commit 0ad542c into jrean:master Apr 22, 2017
@jrean
Copy link
Owner

jrean commented Apr 22, 2017

Thank you!

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