Advertisement

07.19.2004 at 12:23AM PDT, ID: 21063067
[x]
Attachment Details

howtosend HTML FORM using SMTP

Asked by melindaj in Perl Programming Language

Tags: smtp, form, html, using

How do I send this FORM using smtp

<FORM action=mailto:feedback@example.com method=post
encType=text/plain>
<P>
<INPUT TYPE="CHECKBOX" NAME="choice" VALUE="1"> Choice 1
<INPUT TYPE="CHECKBOX" NAME="choice" VALUE="2"> Choice 2
</P>
Type Your Name:
<INPUT TYPE="TEXT" NAME="name of variable">
<INPUT TYPE="SUBMIT">

This what I have done to send the mail but unable to send The HTML FORM
use Net::SMTP;
       $smtp = Net::SMTP->new('abcd9nk7');
        $smtp->mail( '@mail.com' );    
        $smtp->to('toyou@mail.com');        
$smtp->data();                      
       $smtp->datasend("Subject: Updates My Home\n");
       $smtp->datasend("To: toyou@mail.com\n");
       $smtp->datasend("From: fromme@mail.com\n");
       $smtp->datasend("Subject: Updates My Home\n");
       $smtp->datasend("Content-Type: text/html\n");
       $smtp->datasend("\n");
            # Send the body.
       $smtp->datasend(
?????

);
       $smtp->dataend();                  
        $smtp->quit;              Start Free Trial
 
 
Loading Advertisement...
 
[+][-]07.19.2004 at 12:55AM PDT, ID: 11581374

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.19.2004 at 02:52PM PDT, ID: 11587781

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Perl Programming Language
Tags: smtp, form, html, using
Sign Up Now!
Solution Provided By: Tintin
Participating Experts: 2
Solution Grade: A
 
 
[+][-]08.13.2004 at 10:15PM PDT, ID: 11798702

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
[+][-]08.18.2004 at 01:31AM PDT, ID: 11828331

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32