Re: draw html tables and send in mail

2011-06-06 Thread Chris Nehren
On Wed, Jun 01, 2011 at 04:29:44 -0400 , John SJ Anderson wrote: > First, you should probably read the Mail::Sendmail FAQ on HTML email: > That will explain > how to properly construct a multipart message that has both text and > HTML parts. (Note t

Re: draw html tables and send in mail

2011-06-01 Thread John SJ Anderson
On Wed, Jun 1, 2011 at 01:05, Irfan Sayed wrote: [ snip ] > use HTML::Table; > use Mail::Sendmail; > > $table = new HTML::Table(2, 2); >     print 'Start'; >     print $table->getTable; >     print 'End'; > >   %mail = ( To  => 'a...@abc.com', >    

Re: draw html tables and send in mail

2011-06-01 Thread Shlomi Fish
Hi Irfan, thanks for trying Perl. A few comments on your code. On Wednesday 01 Jun 2011 08:05:30 Irfan Sayed wrote: > Hi All, > > > I wrote perl script to draw html tables and send that html tables in mail . > i used two modules 1: html::tables and 2: mail::sendmail > > but when i send mail ,

draw html tables and send in mail

2011-05-31 Thread Irfan Sayed
Hi All, I wrote perl script to draw html tables and send that html tables in mail . i used two modules 1: html::tables and 2: mail::sendmail but when i send mail , it never prints the actual table in the mail body following is the code snippet, use HTML::Table; use Mail::Sendmail; $table =