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?

Share this post


Link to post
Share on other sites

 Share

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More