Advertisement

03.09.2007 at 09:55AM PST, ID: 22439558 | Points: 125
[x]
Attachment Details

Sending HTML table content through mail

Asked by r_kar in Perl Programming Language

Hi all,

I would like to send the table content from my web page through perl code. Here is my html code.... Please copy and paste know the table info..
<HTML>
<HEAD>
<TITLE> Test </TITLE>
</HEAD>

<BODY>
<form name="mailform" method="post" action="mail.pl">
<div id="mailcontent">
<TABLE width="100%" border=1 cellpadding=0 cellspacing=0>
<TR>
      <TD>Account No</TD>
      <TD>Type</TD>
      <TD>Branch</TD>
</TR>
<TR>
      <TD>11111111</TD>
      <TD>Savings</TD>
      <TD>Branch1</TD>
</TR>
<TR>
      <TD>2222222</TD>
      <TD>Current</TD>
      <TD>Branch2</TD>
</TR>
<TR>
      <TD>3333333</TD>
      <TD>Savings</TD>
      <TD>Branch3</TD>
</TR>
</TABLE>
</div>
<center><input type="submit" name="mail" value="Send Mail"></center>
</form>
</BODY>
</HTML>

If I click on "Send Mail" button, it should call a perl program that should sent the content of table information from the html page as an html formatted mail.

Can anyone send me the piece of code to handle this?

Regards Start Free Trial
 
Loading Advertisement...
 
[+][-]03.09.2007 at 01:11PM PST, ID: 18690481

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.

 
[+][-]03.10.2007 at 10:04PM PST, ID: 18696400

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

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

 
[+][-]03.11.2007 at 12:30AM PST, ID: 18696640

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.

 
[+][-]03.12.2007 at 12:05AM PDT, ID: 18700229

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

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

 
[+][-]03.12.2007 at 10:58AM PDT, ID: 18704179

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.

 
[+][-]03.13.2007 at 10:25AM PDT, ID: 18712198

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

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

 
[+][-]03.20.2007 at 10:11AM PDT, ID: 18757974

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

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

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