Creating an HTML table in Javascript for use in an email? -


i read post 4 years old stating it's not possible pass html email body.

i know if still true?

my current javascript is:

 tablef = '<table style="font-size: 1.0em; border-collapse: collapse;">';         tablef += '<tr>';         tablef += '<td>ip addresses</td>';         tablef += '<td>hop number</td>';         tablef += '<td>average ms</td>';         tablef += '</tr>';         tablef += '<tr>';         for(var = 0; < iparray.length; i++){         tablef +=  '<td>'+ iparray[i]+'</td><td>' + hopnum[i]+'</td><td>' + msarray[i]+'</td>';         }         tablef += '</tr></table>'; } 

and suffice doesn't convert table when mailto link used, writes html plain text.

you cannot specify html content passed mail application using mailto link, since "lowest common denominator" of email pre-filling.

the information passed client's mail program (whether outlook, gmail, thunderbird, etc), out of control.

even if possible, need implemented on client side (the mail program), , not mailto link.


Comments

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

jquery - Fancybox - apply a function to several elements -

An easy way to program an Android keyboard layout app -