nette / mail

A handy library for creating and sending emails in PHP
https://doc.nette.org/mailing
Other
463 stars 70 forks source link

getFrom() can be null (in @mail() function) #63

Closed janbarasek closed 5 years ago

janbarasek commented 5 years ago

In past version of Message method getFrom() can return null value and SMTP server used default configuration.

If header from is null, now throw E_USER_WARNING.

Now Message return:

Snímek obrazovky 2019-05-10 v 9 55 16

dg commented 5 years ago

merged (without E_WARNING, it makes inconsistency)