Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Rachel 13 posts 43 karma points
    May 12, 2011 @ 16:45
    Rachel
    0

    Send email containing form data

    I have created a form. When the form is submitted, the data is recorded which I can see in View Entries. I want it to send an email to an address that I specify containing the data that the user inputted in the form fields. I have edited the web.config file with the mail server information:

      <system.net>
        <mailSettings>
          <smtp>
            <network host="mail.server.com" userName="[email protected]" password="examplepassword" />
          </smtp>
        </mailSettings>
      </system.net>

    The data is recorded just fine, but I never receive an email. What am I missing? Thank you!

     

  • Comment author was deleted

    May 12, 2011 @ 16:49

    You also have to set the email that is used to send ..

    You can do that in the /config/umbracosettings.config

    Cheers,
    Tim

  • Rachel 13 posts 43 karma points
    May 12, 2011 @ 17:04
    Rachel
    0

    Thank you! I did miss that part.

    Also, another thing that I had to do to get it to work is add the port # to the mail settings in web.config. So it looks like this (in case it helps anyone else): 

      <system.net>
       
    <mailSettings>
         
    <smtp>
           
    <network host="mail.server.com" port="587" userName="[email protected]" password="examplepassword" />
         
    </smtp>
       
    </mailSettings>
     
    </system.net>

  • Mukesh 15 posts 35 karma points
    Sep 12, 2012 @ 06:49
    Mukesh
    0

    My requirnment is also same. I want to send all the form data to e-amil on submit click. But I donot know how to go ahead.

    Please provide me all the step for this.

    You can email me : [email protected]

Please Sign in or register to post replies

Write your reply to:

Draft