Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 584
  • Last Modified:

Publish Infopath form to email recipients programmatically

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
aaedla
Asked:
aaedla
1 Solution
 
clayfoxCommented:
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

 [eBook] Windows Nano Server

Download this FREE eBook and learn all you need to get started with Windows Nano Server, including deployment options, remote management
and troubleshooting tips and tricks

Tackle projects and never again get stuck behind a technical roadblock.
Join Now