Skip to main content
Participant
April 15, 2025
Answered

Creare a self-sending form with sender's address is insert by user

  • April 15, 2025
  • 1 reply
  • 240 views

I'm a little new to Acrobat, I would like to create a self-sending form, the user enters his/her email (miaemail@miaditta.com) and password and the form in pdf is sent to the address ufficioX@miaditta.com

Let me explain better

What I would like to create is a form in pdf with a button to send the form by email to a fixed address. The sender's address varies and is entered in one field and the password is entered in another field.
Sender and recipient have the same smtp server.
I have not been able to understand how to do it.
Alternatively, I could run a program on the PC (mailsend-go) via javascript passing the appropriate arguments, unfortunately I do not know how to do it.
Some ideas ...

Correct answer try67

You can't do that. The user needs to set up their email account in the application to be able to send through it.

You can't set the from-address of the email, nor the SMTP settings or anything else like that. It's totally up to the user.

Nor can you use JS in an Acrobat form to execute external applications. That would be a HUGE security risk.

Best you can do is have the form (or form data) submitted via an HTTP Post to a web-server. From there you can email it further using any settings you'd like, but it would be a very bad idea for someone to do that and send you their email credentials... In short, not a good (or feasible) idea.

1 reply

try67
Community Expert
try67Community ExpertCorrect answer
Community Expert
April 15, 2025

You can't do that. The user needs to set up their email account in the application to be able to send through it.

You can't set the from-address of the email, nor the SMTP settings or anything else like that. It's totally up to the user.

Nor can you use JS in an Acrobat form to execute external applications. That would be a HUGE security risk.

Best you can do is have the form (or form data) submitted via an HTTP Post to a web-server. From there you can email it further using any settings you'd like, but it would be a very bad idea for someone to do that and send you their email credentials... In short, not a good (or feasible) idea.

Participant
April 17, 2025

Thanks for the quick reply. I will find another method.
What I wanted to make was a request template for vacation request (for example) to send via internal servers.