On Wed, 7 Nov 2007, Dave Fischetti wrote:

> I'm using the MAIL component in my application. All has been running  
> great, but recently started receiving this error sporadically when  
> parsing incoming mail in a mailbox.
> 
> <b>Notice</b>:  Trying to get property of non-object in <b>/var/www/ 
> vhosts/domain.com/httpdocs//inbox.php5</b> on line <b>684</b><br />
> 
> That line is this function:
> 
> function formatAddress( $address )
> {
>      return "{$address->email}";
> }
> 
> now I'm not sure what is causing it all of a sudden, but I am seeing  
> spam that sometimes comes into the account that has now FROM address,  
> but I haven't ensured that its happening when receiving those messages.

Sound like indeed there is no from address - which can happen I suppose. 
You'd have to check that in your script.

regards,
Derick
-- 
Components mailing list
[email protected]
http://lists.ez.no/mailman/listinfo/components

Reply via email to