.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
david stephan
Gaurav Pal
Post New Web Links

Infopath send form as email

Posted By:      Posted Date: October 28, 2010    Points: 0   Category :SharePoint
I have created a infopath form and it is published to a sharepoint 2007 with form services.
We use a support system, that only support plain/text, how can I convert the output to plain/text ?
When infopath automatically converts the form to plain/text, i does not look good.
I would like a format like:

Field1: Value1
Field2: Value2

And another thing, is it possible to use the users email as sender, and not the email setup in our sharepoint environment ?
Every email sent from sharepoint / infopath, is sent from: noreply@domain.tld
I would like: user@domain.tld (user = the user who is logged in)

Jakob Olsen

View Complete Post

More Related Resource Links

Automatically send custom email to upon InfoPath form submission


I would like to have an InfoPath form automatically send out and email upon submission.

I would like the email to be comprised of content from the fields of the form. For example:


To: <data from the "Manager" field>

From: <data from the "Requester" field>

Subject: You have a request for <data from the "Project Name" Field>.

Body: Hi <Manager>,

I would like more information on <Project>

-< Requester >


Is this possible? It doesn't need to be part of a workflow, we just want the relevant manager aware of the request.

Send an Email with User fields data entered in the form


Hi All,

          I have a form which have some user input fields(like textboxes,dropdownlists,textarea etc) fields and a submit button.

on click i need to send email with body contents as all the details entered by user in the form

Can anyone suggest how i should approach to this in sharepoint..

any code examples would be appreciated.


Email InfoPath form located on secure SharePoint 2007 using Outlook


I have a 2007 InfoPath form that is stored on a secure 2007 SharePoint team site that needs to be emailed to outside users for feedback on a certain subject. The form is opened by a team member (with site access), sent to the reviewer to provide feedback (via Outlook 2007), and then submitted back to the team member for review and submission to the SharePoint site.

The issue I've encountered is that the outside user who receives the form in Outlook as the body of the email cannot enter information in any fields in order to provide feedback. The option to "include the form template with the email" is blocked in my InfoPath form options (I believe because the form location is a secured site). I have tried adding the users to permissions in just the library where the form is published to, but they still cannot enter any information.

Can someone provide me with a solution for this problem?

submit infopath form to sharepoint library and email



how can i submit an infopath form to a SP library as well to the approvers email.

the email has to send to the manager's emailaddress that is automatically filled in the form.

i now how to submit to an email address but how can i use 1 submit button for both actions?


Converting an Infopath form to a doc or pdf, attaching that file to an email that is then sent to an


Hi, we are looking to have internal users submit a browser based Infopath form hosted on our internal Sharepoint 2010 portal, have that submission start a workflow that converts the form to a .doc or .pdf, attaches the converted form to an email and then sends the email to different external addresses depending on the value of 1 field in the form.  Is this possible?

We are running Sharepoint 2010 Enterprise and I have Infopath 2010 and Sharepoint Designer 2010.  Thank you in advance for any help!


Need code for send email from enquiry form


Dear All

I need code in C# and ASP.Net for send Email from enquiry form



How to Create Web Form Using ASP.NET and Send Email


Hello All,

I've been in IT for a number of years on the Infrastructure side but I'm a complete newbie when it comes to ASP.NET programming (I literally started today).  I'm using Microsoft Web Expressions 2 to create a website and am used to using the regular HTML based forms to have the forms capture and email me the form data.  However, from a need to have more advanced Form Validation I've embarked on changing my forms over to ASP.NET.  All was going well when I seem to have hit a bit of a road block here.

I've managed to figure out the RegularExpressionValidator and RequiredFieldValidator Validation controls however I've now added an ImageButton that I want to be the form Submit button and to email me the form results once the user hits Send.  But from the examples I've found online I'm still stumped on how to implement this.

Below is the form code from the page.  My site is hosted with 1&1.com and I just want the form info to come to me at my email address, preferably in HTML format.

Can someone assist with this?  Thanks in advance.


<form id="ContactUs" runat="server">
     <table style="width: 100%">

Send Attachments from a form to email


Have a transport form (infopath 2007) that give users an easy web based ability to upload document for compensation. So I created the InfoPath form and added a repeating "File-Attachment" control to the form and the form just sends a email to a specific recipient  

The form are showed in a xmlformview webpart on a transport.aspx page 

It sends out a email to the recipient - but the attachments aren't delivered with the email.

How can I accomplish that?

How to send an email to Supervisor (field in the form) after New Item in a list is created?


I have user who creates a record and User's Supervisor, who need to get notification about new record (different Users have different Supervisors and they input them manually into field when create a new record).

(Users I've mentioned are domain users with emails assigned to them and we use Outlook that is integrated with our sharepoint)


1) I've tried to create a workflow in Sharepoint Designed (as described here: http://social.msdn.microsoft.com/forums/en-us/sharepointdevelopment/thread/2A525E2F-2407-42C9-AB9D-B5FB609B34B5) , but there I can choose only concrete email address (I need it to be populated from the field on the form).

I think the workflow can be configured somehow to send an email to user from a field, but I don't know how. 


2) I've created a new view with filters by Supervisor and configured Alerts for the view, but it is too complicated for all Supervisors to do that. (just not the best solution)


any ideas? 

Formatting problem with Email from an Browser Enabled InfoPath 2010 Form in SharePoint 2010


I'm creating a form in InfoPath 2010 to be filled out in the browser within our SharePoint 2010 instance. It's pretty simple, four columns with total table width of about 650 pixels, textboxes, checkboxes, datepicker and one multiselect list box. The form is working fine up to the point where I invoke a data connection which emails the form to myself. When it arrives in my inbox, the format of the form included in the body of the email is funky. When I open the email and set it to a full screen viewing window (1440X900) the area that takes up the form exceeds the width of my viewing window and requires scroll bars to see all the fields on the form.

When printing the form from my email the area is so large that no data will show up in the printable area (it appears to be centered on the form and it is cutting off the "extra content" to the left and right which contains the form data as the user entered it). I'm using Outlook 2007. I also forwarded the email to a person who's using Outlook 2010 and they experienced the same problems as myself.

Things I've tried to fix it: Setting each column width, setting each control width to a pixel length (instead of using %). I added some code behind to switch the view to a two column view with a table width of 400px before it sends out the email. It's closer to being at a state where it's

Cannot send custom form email



I have an issue sending emails with custom message class. I am using WebDav and I don't think it is a problem with the code. My code puts an email into the drafts folder, changes the message class to a custom class and moves it to DAVSubmissionURI (which sends the email). Why I am so sure that it is not an issue with the code is if I remove the piece of code which changes the message class it sends the email but if I put it back I can see it in the sent items but the email is not received by the recipient.

Many Thanks,


InfoPath::Submit form as an email problem and Sahrepoint Library::

I have one enabled browser form, In Submit botton I set two actions:
First one submit to SharePoint Library
Second action submit as an email attachement to Approver.

The Problem:
1- when I tried to fill it in infopath it's worked, but when I tried to open it in browser the first action worked only.
just submit it to Sharepoint lirary only and it's not send an email to the approver.

2- When I click Submit I get one diloge box to confirm sending email to approver.
Can I remove it and configure it to send an email automaticlly.

Please help me..!!

Nothing is impossible

Can you embed an Infopath 2007 form with MOSS 2007 in an Outlook 2010 email?



MOSS 2007, Infopath 2007 and Outlook 2010

Is it possible to embed the Infopath Form in the email itself.

I read this link (point 1) http://office.microsoft.com/en-us/infopath/microsoft-office-infopath-2007-top-10-benefits-HA010165024.aspx, but I have been unable to do this?

Do you have to have Infopath 2007 on the client machine to be able to do this?




Send Email from SQL Server Express Using a CLR Stored Procedure

One of the nice things about SQL Server is the ability to send email using T-SQL. The downside is that this functionality does not exist in SQL Server Express. In this tip I will show you how to build a basic CLR stored procedure to send email messages from SQL Server Express, although this same technique could be used for any version of SQL Server.

If you have not yet built a CLR stored procedure, please refer to this tip for what needs to be done for the initial setup.

How to send an email with information in query string


First I will say I googled (Binged to make Bill happy) for this but could not find anything, perhaps I am not stating what I need correctly;

I have a website that a customer creates orders (for a printing company) and after the order, I would like to email the customer a link to view the status of their order;

I need to send the CustomerID in the link so on the returning page if a CustomerID is detected in the querystring, I "auto login" the client and open the "Dashboard" for the order page for that customer.

Can anyone point me in the right direction as to how to send the link and how to parse the querystring to get the values from the link;

Thank you if you can point me in the right direction.

InfoPath 2007: Designing Form Templates With The New Features Of InfoPath


InfoPath 2007 is an XML forms designer and editor, and a fully featured and integrated member of the Office family. This article takes a sneak peek at some of its new features.

Scott Roberts and Hagen Green

MSDN Magazine August 2006

Send email throught proxy



i want to send a mail via my mvc application hosted by cassini ,but  i access to the internet connexion throught proxy

i add this lines on my web config :

    <defaultProxy  enabled="true" >
      <proxy proxyaddress=""/>
        <network />
and in my code i have :
 MailMessage mail = new MailMessage();
             mail.From = new MailAddress("yyy@xxx.fr");
                    mail.Subject = "Test";

                    string Body = "Hi, this mail is to test sending mail" 
                    mail.Body = Body;
                    mail.IsBodyHtml = true;
                    SmtpClient smtp = new SmtpClient("");
                    smtp.Port = 25;

                catch (Exception ex)
                    string exep = "Send Email Failed." + ex.Message;

 i have un exception :"Unable to connect to the remote server"
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend