Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

Re: Is there any way to send HTML table information

by hacker (Priest)
on Mar 14, 2007 at 04:16 UTC ( #604735=note: print w/replies, xml ) Need Help??

in reply to Is there any way to send HTML table information

Keep the HTML on port 80 and the SMTP on port 25 please. We have enough trouble with people misusing email already.

Many people are stripping HTML out of email anyway, server-side, with milters and other tools, because of the dangerous nature of malware, web-bugs and other malicious "crumbs" that find their way through HTML-laden email.

There's no way to reliably guarantee that the recipient is going to be displaying the email in the way you intend. Are they using Outlook? pine? mutt? Evolution? KMail? Other?

The right way to do this, is to use Text::xSV, Text::CSV, Spreadsheet::WriteExcel or similar modules. Send the data across in a way that can be used on the other side, and not just displayed in a browser on the other side.

If you must display HTML (and please, please please validate it!), just send the URL in an email, where the reader can launch it in their browser of choice to display it.

  • Comment on Re: Is there any way to send HTML table information

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://604735]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (4)
As of 2018-03-24 16:25 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (299 votes). Check out past polls.