Copied to clipboard

Flag this post as spam?

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


  • Jin Botol 134 posts 287 karma points
    May 27, 2021 @ 14:25
    Jin Botol
    0

    Email not working

    Hi,

    My email suddenly not working, our site is working properly for the past 3years, but our contact form suddenly not working. I just getting error.

    var sent = EmailHelpers.SendEmail(contactEmail, reference, "Enquiry Email");
    

    enter image description here

  • Brendan Rice 538 posts 1102 karma points
    May 27, 2021 @ 15:22
    Brendan Rice
    0

    Hi Jin,

    what SMTP provider are you using?

    Should be able to find the details in the web.config

      <system.net>
        <mailSettings>
          <smtp from="[email protected]">
            <network host="the-host.com" userName="" password="" />
          </smtp>
        </mailSettings>
      </system.net>
    
Please Sign in or register to post replies

Write your reply to:

Draft