In the interest of understanding your situation, please allow a question or
few.
% On 2007-11-07 at 00:20:53 -0500, 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 />
Has anything changed on your system relating to web services? Have you
changed the version of Components that you are using? Which version are
you using?
> 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.
>
>
> Any help would be greatly appreciated.
Honestly, this seems like a harmless error message considering the
circumstance you explain. May I suggest modifying your php.ini settings to
not output error level NOTICE warnings? I believe that may cure what ails
your system.
Yours,
--
Gontran
% # E Pluribus Unix
% /usr/bin/fortune
BOFH Excuse #254:
Interference from lunar radiation
--
Components mailing list
[email protected]
http://lists.ez.no/mailman/listinfo/components