I have a button on a PDF form which emails a PDF and XML attachment of the current form in two seperate emails. The code is as follows:
event.target.submitForm({cURL:"mailto:" + "jbloggs@acme.com" +"?subject="+"Request for action " + "&body=Please find attached..." ,cSubmitAs:"XML",cCharset:"utf-8"});
event.target.submitForm({cURL:"mailto:" + "jbloggs@acme.com" +"?subject="+"Request for action " + "&body=Please find attached..." ,cSubmitAs:"PDF",cCharset:"utf-8"});
This results in 2 seperate emails, when all I need is a single email with two attachments. Is there a way to do this?