First reference Jmail
[Code]
Private void sendmail () {jmail.MessageClass myjmail = new jmail.Mejmail = new jmail.MessageClass (); myjmail.from = "sender mailbox"; myjmail.fromname = "sender"; myjmail.subject = "Mail Topic"; Myjmail. MailServerUsername = "sender mail user name"; myjmail.mailserverpassword = "sender mail password"; Myjmail.AddRecipient ("Recipient Mailbox", "Sender", NULL); Myjmail.Body = "mail content "; Myjmail.send (" Sender Mail Server ", FALSE);
[Code]