Using the classes in this namespace you can create and send emails. You may need to design an email form if you want the user to view and have input to the email before it is sent.
For example:
dim msg as new MailMessage
dim server as SmtpMail
msg.from="Sender@address.com"
msg.to="Recipient@address.com"
msg.subject="a subject"
msg.body="Some text"
server.smtpserver="mail.myserver.com"
server.send(msg)
Oh, didn't see you wanted to fill in the body and subject... sorry about that. kmcdonag's solution would probably be better, because it sounds like you're automating the mail.
Ben
"If thine enemy offend thee, give his child a drum." - Anonymous
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.