Solved

Publish Infopath form to email recipients programmatically

Posted on 2014-04-08
1
536 Views
Last Modified: 2014-06-26
Hi,

How to Publish Infopath form to email recipients programmatically. User information should get from another list.

Any help would be appreciated.

Thank you.
0
Comment
Question by:aaedla
1 Comment
 
LVL 28

Accepted Solution

by:
clayfox earned 500 total points
ID: 39986633
There are a couple ways to do this.

basic InfoPath function is to have a field where you put the email addresses, separated by semicolons like in Outlook.  These can certainly be queried from an external source and then use concat function to put them together with the ;
create a submit data connection for email.
you will need to choose if you want to send the form attached or just send the current view, which you can customize one specifically for the email body.
just follow the wizard.

the downsides to this are that the client must have outlook and they have to acknowledge the email being sent (No Spam).
if the form is web based it will be sent via SharePoint.

you can also generate email via SharePoint workflow, but this would all be configured in SP and triggered on a submission to a list or library.

I use SQL databases for my info and have a web service to email via SQL for notifications, etc.

you can also use code in the form to send via SMTP, etc.
0

Featured Post

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Before you can digitally sign infopath forms, you must have a digital certificate. Microsoft Certificate Services will need to be enabled on a Windows Server 2008 to facilitate the creation and verification of the digital certifciates on the web ser…
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

696 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question