标签: php email swiftmailer
我使用swiftmailer- http://swiftmailer.org/docs/sending.html
$message->setFrom(array($epasts => $vards));
$epasts在消息文本中是正确的,但是swiftmailer不会在标题中更改它,所以在电子邮件中我收到来自我自己的消息而不是来自$epasts
$epasts