Copied to clipboard

Flag this post as spam?

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


  • Bent Holz 100 posts 273 karma points
    May 27, 2015 @ 13:57
    Bent Holz
    0

    Form not sending e-mail

    So I have been following the "Get started" documentation and have made my first acquaintance with forms.

    I followed the documentation and the form is submitting the data to the backend, but I would like to also recieve the input as an e-mail, so I have changed the webconfig file to the following:

      <system.net>
        <mailSettings>
          <smtp>
            <network host="asmtp.unoeuro.com" userName="[email protected]" password="mypassword" port="8080" />
          </smtp>
        </mailSettings>
      </system.net>

    ...but I'm still not getting e-mail.

    Any ideas?

    /cheers
    Bent Holz

     

  • Bent Holz 100 posts 273 karma points
    May 27, 2015 @ 14:07
    Bent Holz
    100

    Arg!...

    Solved it...

    Unoeuro uses smtp.unoeuro.com for scripts sending e-mail and only port 25 can be used.

    Authentication not needed...

    so the code would be:

    <system.net>
       
    <mailSettings>
         
    <smtp>
           
    <networkhost="smtp.unoeuro.com"port="25"/>
         
    </smtp>
       
    </mailSettings>
     
    </system.net>

    /Cheers
    Bent Holz 

Please Sign in or register to post replies

Write your reply to:

Draft