PHP Classes

To - From Problem

Recommend this page to a friend!

      PHP Email To DB  >  All threads  >  To - From Problem  >  (Un) Subscribe thread alerts  
Subject:To - From Problem
Summary:To - From Problem
Messages:3
Author:barrykilby
Date:2006-09-13 12:53:32
Update:2006-10-26 19:16:56
 

  1. To - From Problem   Reply   Report abuse  
Picture of barrykilby barrykilby - 2006-09-13 12:53:32
Unless I change line 327 to the following

if(is_array($to)){
foreach ($to as $id => $object) {
$toaddress = $object->mailbox . "@" . $object->host;
}
}

Rather than

if(is_array($to)){
foreach ($from as $id => $object) {
$toaddress = $object->mailbox . "@" . $object->host;
}
}

"from" and "to" show as the same address when entered into the database.

  2. Re: To - From Problem   Reply   Report abuse  
Picture of Ernest Wojciuk Ernest Wojciuk - 2006-09-14 10:22:30 - In reply to message 1 from barrykilby
Bug was actually. Thanks for calling attention

  3. Re: To - From Problem   Reply   Report abuse  
Picture of Jóannes á Fløtti Jóannes á Fløtti - 2006-10-26 19:16:56 - In reply to message 1 from barrykilby
The "Rather to" doesn't do it for me, I get the same name in both from and to, wich is the senders email address...