swiftmailer/swiftmailer — Issue #142: Feature Request: Default email address for Swift_Mailer
Author: naitsirch
Created: 2011-12-22 11:38:38+00:00
State: open

Hi,

it would be a nice feature if it would be possible to set a **default email address** to the **Swift_Mailer** instance. Because in many use cases you have the same sender email address in every email and you always have to set the same sender email address to the message instances. Better would be to set a default sender email to the mailer once (in Symfony2 the Mailer is managed globally in the whole application, for example) and if the message does not have its own sender email the default email address is used.

What do you think?