Vulcan.NET Send Mail Example
REFERENCES "system.web.dll"
USING System.Web.Mail
FUNCTION Start() AS VOID
LOCAL oMsg AS MailMessage
oMsg := MailMessage{}
oMsg:~To := "someone@domain.com"
oMsg:Cc := "another@yahoo.com"
oMsg:From := "me@mydomain.com"
oMsg:Body := "A program written in Vulcan.NET, "+;
"using System.Web.Mail, created and sent this email."
oMsg:Subject := "Vulcan.NET sends email!"
SmtpMail.SmtpServer := "mail.myisp.com.au"
SmtpMail.Send(oMsg)
RETURN