Hello Adrian,
On 28-Feb-01 14:00:48, you wrote:
>anyone using this class:
>whats a good way to extact the address of who sent the mail and stick it in
>a variable,in order
>to reply?
You need to retrieve the message headers with the function RetrieveMessage
and then look in the $headers array (strtok(strtolower($headers[$line]),":"))
for a reply-to or from headers and then use the address specified in that
header.
Regards,
Manuel Lemos
Web Programming Components using PHP Classes.
Look at: http://phpclasses.UpperDesign.com/?[EMAIL PROTECTED]
--
E-mail: [EMAIL PROTECTED]
URL: http://www.mlemos.e-na.net/
PGP key: http://www.mlemos.e-na.net/ManuelLemos.pgp
--
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]