Improve company productivity with a Business Account.Sign Up

x
?
Solved

Publish Infopath form to email recipients programmatically

Posted on 2014-04-08
1
Medium Priority
?
591 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:
Clay Fox earned 1000 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

We had a requirement to extract data from a SharePoint 2010 Customer List into a CSV file and then place the CSV file into a directory on the network so that the file could be consumed by an AS400 system. I will share in Part 1 how to Extract the Da…
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…
Watch the video of Kernel Migrator for SharePoint, which demonstrate the process easily of migration from SharePoint to SharePoint, OneDrive for Business & Google Drive servers, Public Folder to SharePoint, File Server to SharePoint. The tool has va…

606 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