Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
1

Outlook PDF Javascript

Community Beginner ,
Oct 11, 2024 Oct 11, 2024

Howdy!! I have been searching for a simple way to send a filled out PDF through Outlook. 

 

I have the pdf form completed and currently have this as the URL - mailto:ithelpdesk@blahblah.com?subject=New%20Hire%20IT%20Form

 

I would like to go a step further and create a simple java script oike this: Once the user clicks on the submit button: 

 - Outlook opens and attaches the pdf named "IT New Hire Form"

 - Auto populate the IT helpdesk desk email 

 - Add message? Please see new hire form and proceed.. (something like that) 

- If possible, do not remove their signature when the email is created

 

Thanks! 

TOPICS
Edit and convert PDFs , General troubleshooting , How to , JavaScript , PDF , PDF forms
892
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
1 ACCEPTED SOLUTION
Community Expert ,
Oct 11, 2024 Oct 11, 2024

var to="ithelpdesk@blahblah.com";

var sbjt = "The subject line of the email";

var body ="Dear people:\r\rPlease see new hire form and proceed.. (something like that) ";

this.mailDoc({cTo: to, cSubject: sbjt, cMsg: body});

 

Before clicking Send, the user would have to change the text to HTML and add the signature.

View solution in original post

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 11, 2024 Oct 11, 2024

var to="ithelpdesk@blahblah.com";

var sbjt = "The subject line of the email";

var body ="Dear people:\r\rPlease see new hire form and proceed.. (something like that) ";

this.mailDoc({cTo: to, cSubject: sbjt, cMsg: body});

 

Before clicking Send, the user would have to change the text to HTML and add the signature.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Oct 11, 2024 Oct 11, 2024
LATEST

This is what I was looking for - THANK YOU!!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 11, 2024 Oct 11, 2024

>  If possible, do not remove their signature when the email is created

That is not possible. The emails generated using a script are plain-text only, and therefore do not include the signature that is normally used in your email client.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines