Hi!
I'm trying to write a function that will send an e-mail message. I've done this many times in ASP, so I copied the SMTP information that I would usually use to the web.config file:
  <system.net>
    <mailSettings>
      <smtp>
        <network userName="webmaster@visitmychurch.tv" password="******"/>
      </smtp>
    </mailSettings>
  </system.net>
Whenever I try to send a message, this is the error response:
Error: System.InvalidOperationException: The SMTP host was not specified.
 at System.Net.Mail.SmtpClient.CheckHostAndPort()
 at System.Net.Mail.SmtpClient.Send(MailMessage message)
 at CMSTemplates_AuroraChapel_AJAX.GetDate()
Any ideas? Idk how else to setup the credentials for SMTP.
Thanks!
-Eric