Highlighted

Dynamic Email with Complete PDF sent

Avatar

Guest

03-02-2009

I have a Livecycle form with multiple email list and I need to send the complete PDF to the dynamic email can anyone help me please?

Replies

Highlighted

Avatar

Guest

06-02-2009

Create a button - not a submit button.



On the click event here's the code that did it for me:



var email = xfa.resolveNode("ApprovereMail").rawValue + ";"+xfa.resolveNode("AdmineMail").rawValue;

var subject = "Your subject goes here;

var body = "Your body goes here";



event.target.submitForm({cURL:"mailto: "+ email +"?subject=" + subject +"&body=" + body,cSubmitAs:"PDF",cCharset:"utf-8"});