in reply to How can i create an email with table and data in body

I would use Email::MIME as recommended here and pass the table data via body_str key. You can also format the table data as HTML and add content_type => 'text/html', to attributes (see send_mail subroutine here).

Well done is better than well said. -- Benjamin Franklin

Replies are listed 'Best First'.
Re^2: How can i create an email with table and data in body
by Perlseeker_1 (Acolyte) on Jun 26, 2013 at 14:04 UTC

    Do we have any examples perl scripts

    where we can create some tables in email body

    and palce data in those tables and send an email

    I have mutliple rows as my input

    As i am new to this email functionality,any inputs

      Maybe it helps you tackle your problem better if you divide it into separate steps:

      1. Send a text-only mail (using MIME::Lite)
      2. Generate an HTML page as a file with the information you want (using a templating system)
      3. Use MIME::Lite to send the HTML file as the mail body

      From how I understand your current post, it is not clear to me with which part you have problems.