简体   繁体   中英

Send Email with live PDF without sending attachment

I am currently working on a live pdf where the user can send local emails which get queued up and sent to server once online. I am using the Adobe Live Cycle Designer. You can send an email using either the built in email button or roll your own with a regular button. It appears that either way you do it an attachment of form data is sent in either xml,pdf,utf.... I want to send only the subject and body. The following code does exactly what I want except I don't want to include the attachment. If anyone has come across this or has any advice it would be much appreciated.

This is the javascript in the click event.

            var Mail = "mailto:" + Mailto + "?Subject=" + subject + "&body=" + body;

            event.target.submitForm({  
            cURL: Mail,  
            bEmpty: true,  
            cSubmitAs: "XML"  
            });         

因此,以下内容将在按钮的click事件中发送不带附件的电子邮件:

    event.target.app.mailMsg({bUI: true, cTo: Mailto, cSubject: subject, cMsg: body});

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM