Solved

Publish Infopath form to email recipients programmatically

Posted on 2014-04-08
1
530 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

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

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

I thought I'd write this up for anyone who has a request to create an anonymous whistle-blower-type submission form created using SharePoint 2010 (this would probably work the same for 2013). It's not 100% fool-proof but it's as close as you can get…
These days socially coordinated efforts have turned into a critical requirement for enterprises.
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
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…

777 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