On July 31, 2005 at 22:04, East Coast Coder wrote:
What is the best way to get the From address (ie email address only ,
not the name) in a callback?
$addr = mhonarc::extract_email_address($fields->{'x-mha-from'});
or,
$addr = mhonarc::extract_email_address($fields->{'from'}[0]);
depending on which "from" you want.
--ewh
---------------------------------------------------------------------
To sign-off this list, send email to majordomo(_at_)mhonarc(_dot_)org with the
message text UNSUBSCRIBE MHONARC-DEV