These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

How to mail filled PDF form with out opening Outlook or any mailbox?

anate
Registered: Sep 1 2011
Posts: 3

I am trying to email the form without opening outlook. Is it possible using Javascript or any server side script? I tried with 'Email button' but it's not working.I appreciate any help.
 
Thanks again for any suggestions.

My Product Information:
LiveCycle Designer, Windows
UVSAR
Expert
Registered: Oct 29 2008
Posts: 1357
No. The idea a PDF could silently send emails without user interaction would be unacceptable - a malicious script could use it to post masses of spam.
try67
Expert
Registered: Oct 30 2008
Posts: 2398
I thought that app.mailMsg() can do that if it's running from a trusted context...

- AcrobatUsers Community Expert - Contact me personally at try6767 [at] gmail [dot] com
Check out my custom-made scripts website: http://try67.blogspot.com

UVSAR
Expert
Registered: Oct 29 2008
Posts: 1357
It can, but that's not going to work for a distributed form unless you certify it and convince the recipient to elevate permissions. The silent flag on mailMsg() is designed for folder-level scripts, for example in a corporate environment an app init script may want to fire an email to the IT department in response to a scripting error. Normal document-level scripts can set the flag but it has no effect.
try67
Expert
Registered: Oct 30 2008
Posts: 2398
Thought as much...
Since the OP didn't really specify what are the circumstances of his situation, I thought I'd mention it, just in case.

- AcrobatUsers Community Expert - Contact me personally at try6767 [at] gmail [dot] com
Check out my custom-made scripts website: http://try67.blogspot.com

anate
Registered: Sep 1 2011
Posts: 3
My PDF will be on the public facing web site. We would like to receive an email from the users after the users filled the required fields and click on 'Submit' button. If this is not possible what are the options do I have? Is there anyway I can post the PDF form to the server and email from the server? Please let me know.
try67
Expert
Registered: Oct 30 2008
Posts: 2398
It's possible, but not without user interaction.

- AcrobatUsers Community Expert - Contact me personally at try6767 [at] gmail [dot] com
Check out my custom-made scripts website: http://try67.blogspot.com

anate
Registered: Sep 1 2011
Posts: 3
Could you please let me know about more about 'User Interaction'? What needs to be done to post the form online?
ben_341
Registered: Sep 26 2011
Posts: 1
Hi,

I have a server-side script capable of doing this running for my own business. Rather than opening the default mail client it connects to the server and merges the data with a blank version of the form and sends it to you as an email attachment. The only user interaction beyond pressing submit is to press OK to authorise the connection to the server url before it transmits. Basically the system is running FDFtoolkit. If you want help setting it up you can get in touch with me using the contact form on bc-it.co.uk

Regards,
Ben