Skip to main content
b4sh
Participant
June 25, 2019
Answered

When sending an email via JavaScript, can I CC the sender of the email automatically? The CC will change depending on who submits the PDF form also.

  • June 25, 2019
  • 1 reply
  • 1208 views

As the title suggests, I need to know if it's possible to CC the sender of an email once a Submit button is clicked. I know how to grab the email from a box, and how to hardcode an email to send a message to. Now I'm trying to get the user that is sending the email, to be CC'ed automatically. Of course, this CC will change depending on who submits the email. Currently, i have it all going through JavaScript. Is this possible?

This topic has been closed for replies.
Correct answer try67

You can only do it if the email address of the sender is specified somewhere in the file itself, or if they enter it into an alert window, or something like that. You can't set it up to happen automatically if it's not.

1 reply

try67
Community Expert
try67Community ExpertCorrect answer
Community Expert
June 25, 2019

You can only do it if the email address of the sender is specified somewhere in the file itself, or if they enter it into an alert window, or something like that. You can't set it up to happen automatically if it's not.

b4sh
b4shAuthor
Participant
June 25, 2019

I see. So, we can't take what's in the From field or anything like that that would be inserted into the email? I guess not though, because once the form is submitted then it's not in Adobe anymore. It was worth a try. Thanks

try67
Community Expert
Community Expert
June 25, 2019

Correct. You can try and set up an auto-reply on your email server, though, that sends the message that was received back to the sender, but that has nothing to do with the PDF or Acrobat, of course.