Copy link to clipboard
Copied
Hey everyone,
I'm hoping to use <table> formatting in a message (as a workaround for not being able to extract and mail a single page in acrobat reader)
As an example heres how I populate one of the tables in js;
var waarschuwadressen = "<table cellpadding='0' cellspacing='0' border='\'><tr><th>#</th><th>Naam</th><th>Telefoonnummer</th><th>Mobiele nummer</th><th>Pascode</th><th>Pincode</th></tr>"
var y = 0
for (var i=0; i<waarschuwadressen_.length; i++) {
//pak de datavelden
var y =+ 1
var naam = this.getField("C_Naam_"+waarschuwadressen_[i]).value;
var tel = this.getField("C_Telefoonnummer_"+waarschuwadressen_[i]).value;
var mob = this.getField("C_Mobiel_"+waarschuwadressen_[i]).value;
var pascode = this.getField("C_Pascode_"+waarschuwadressen_[i]).value;
var pincode = this.getField("C_Pincode_"+waarschuwadressen_[i]).value;
waarschuwadressen = waarschuwadressen +"<tr>"+"<td>"+y+"</td>"+"<td>"+naam+"</td>"+"<td>"+tel+"</td>"+"<td>"+mob+"</td>"+"<td>"+pascode+"</td>"+"<td>"+pincode+"</td>"+"</tr>"
}
waarschuwadressen.push("</table>")
unfortunately I just discovered that .mailmsg does not support html. Is there a workaround for this? Is there a way to send a message from pdf with html format?
Thank you in advance for any trouble to be taken
No workaround possible. You can only send plain-text messages.
Copy link to clipboard
Copied
No workaround possible. You can only send plain-text messages.
Copy link to clipboard
Copied
I guess one possible workaround would be to submit the data to a service running on a web-server, and generate an email with HTML contents from there...
Copy link to clipboard
Copied
I was milling over using a mailto link.. but thatd be one big link and a hassle.
Its a shame, it seems odd to me that html layout isnt a possibility
Copy link to clipboard
Copied
That wouldn't be a mailto link, it would be a link to https, to run a web script CGI/ASP/PHP etc. that does the work. Such scripts MUST be the work of an experienced professional, up to date with the latest hacker attacks, sad to say.
Copy link to clipboard
Copied
Ah no the webhandler part was clear,
I was continueing on the no HTML code in app.mailmsg train (or the mailto url link being an alternative to it.. sadly it isnt a feasible one)
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more