Hello. I'm struggling to write a mail script (SMTP) that calls the key information (to, from, subject, body) from a code-behind. I can do this inline, but I'd like to be able to reference the code-behind/class, since I'll use it often. Could someone please point me in the right direction, or supply the code for the two pages (the main page and the code-behind)?
Thanks!
Thanks!