On Saturday, Aug 30, 2003, at 21:15 US/Pacific, Sara wrote:


Hi to all

I am using a simple form script in which users can send mail to other users using "FROM" and "TO" mail addresses.
But when a TO address is invalid the failure delivery goes by default to 'Return-path' owner of the cgi ([EMAIL PROTECTED])


Is there a way that we can define Return-path from the script or any other alternatives that failure deliveries should go to
'FROM' or anyother specified address (preferably defining something within the script)
[..]

may I recommend

<http://search.cpan.org/author/MARKOV/MailTools-1.59/>

and specifically the section in there on Mail::Header
where you can try to resolve that Return-Path element
of an RFC822 header.

cf:
<http://www.faqs.org/rfcs/rfc822.html>

I've used mark overmeer's tools before and they are
a reasonable interface, and he is cool about dealing
with bug reports if you actually find an edge case.

If nothing else, download the code from the CPAN,
and it will provide you with more insight into
how to do the basic email tricks correctly.

You will of course want to deal with the problem
of the 'open relay' issue, IF your web-page is
exposed to the outside world. Since spammers will
be on you in a heart beat. At which point you
may want to just download and use:

FormMail

from <http://sourceforge.net/projects/nms-cgi/>
which if you follow the appropriate install and configure
documentation will allow you some modicum of sane
web based email sending...


ciao drieux

---


-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to