[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

[MacPerl] sending email from a form



Hello,

I'd like to adapt a unix cgi script that sends data parsed from a form to
an email address.

I know how to format the data so it looks like a valid email, with the
right headers and all, but the original perl script printed the data to a
file piped to 'sendmail'

                open(MAIL,"|/usr/lib/sendmail -t");
                print MAIL $my_data_here;
                        [...]

How can I implement this with MacPerl and MacHTTP? I'd like to avoid using
Applescript and Eudora.

Any suggestions?
Thanks in advance.

Stephane

                ___S__t__e__p__h__a__n__e______J__o__s__e___
                            jose.stephane@uqam.ca
                    http://www.er.uqam.ca/nobel/m206474/