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