I created a fairly simple application but now find the need to use an almost standard email message on several different pages. I tried putting the email code (that works fine on a vb code behind page) on a page in the App_Code folder, but I get a ?declaration expected? error from the mail.Subject, From, ect.
Imports System.Net.MailImports Microsoft.VisualBasicGo to the complete details ...