Alex Le Fevre <[EMAIL PROTECTED]> wrote:
> OK, that's cool...but now I have (presumably) one last question. I've got my
> script printing From: $usermail to /usr/bin/sendmail, and it's working well
> enough both to trap the address the user enters and put it into the From:
> field. My question is, what field to I need to put $usermail into so that I
> can send a message to [EMAIL PROTECTED] and fool ezmlm?

Do a quick & dirty parse of the address, splitting it at the _last_ occurrence
of "@", so you get userlocal and userdomain parts.  Then just send a (blank)
mail to:

    [EMAIL PROTECTED]

This works well for us -- we use it for web-based initiation of
subscription/unsubscription requests to ezmlm lists.

Charles
-- 
-----------------------------------------------------------------------
Charles Cazabon                            <[EMAIL PROTECTED]>
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
-----------------------------------------------------------------------

Reply via email to