php - Is it possible with Swift Mailer to send email message to a different address than is in the TO header? -


it's possible send email 1 address while address listed in email's header. say, envelope-to , header don't have match. makes possible send email have message appear addressed email address, useful if it's forwarded message.

my issue, however, i'm not sure how swift mailer. it's easy enough set different addresses in envelope-from , header setsender() , setfrom(), doesn't appear possible same envelope-to , header.

am not looking in right spot? possible extend library achieve this, , if so, how?


Comments

Popular posts from this blog

c++11 - Intel compiler and "cannot have an in-class initializer" when using constexpr -

rest - Spring boot: Request method 'PUT' not supported -

java - WrongTypeOfReturnValue exception thrown when unit testing using mockito -