Jump to content

$this->setFrom("[email protected]", "Some Name"); Doesnt work


Recommended Posts

In /tools/swift/Swift/Message.php line #79 when i change

 

$this->setFrom("");

TO

$this->setFrom("[email protected]", "Some Name");

 

 

In /tools/swift/Swift.php after line 370

 

if (!($has_reply_to = $message->getReplyTo())) $message->setReplyTo($from);

 

Add the following code:

if (!$has_reply_to[0])

$message->setReplyTo($from->getAddress());

 

It doesnt work. "Some Name" doesn't appear in my email name when received. Any idea how to make it work?

Link to comment
Share on other sites

×
×
  • Create New...