atasend( "From: $sender\n" );
$smtp->datasend( "Subject: $subject\n" ); $smtp->datasend( "\n" ); $smtp->datasend( "$body" ); $smtp->dataend(); $smtp->quit;}This works fine! Please feel free to use it.
RB
>From: "Dom Alfrey" <[EMAI
3:29 AM
Subject: Can't get form script to work
> Hello,
>
> I can't get my form working!
>
> I've attached a Perl script to a test/mock form that I need to get
working,
> but although after you click 'send' the thank-you page appears to tell you
I did a quick search for your script (cgi-mailer.pl), and I found:
http://martin.gleeson.com/cgi-mailer/admin-doc.html
Assuming this is the page script, read the part that says:
"If you want to use Mail::Send or Net::SMTP instead of sendmail to deliver
the email, then you will need to get the
Title: Can't get form script to work
Hello,
I can't get my form working!
I've attached a Perl script to a test/mock form that I need to get working, but although after you click 'send' the thank-you page appears to tell you that it's been