Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

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?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://604735]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (14)
As of 2014-09-22 20:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (200 votes), past polls