AndreaVB | Forum | News | Downloads | Register | Help | Member List | Statistics | Search | PM | Profile
How i can send a mail I need send mail, somebody knows the subroutine to send a mail.
Hei .. you need to import .. Imports System.Web Imports System.Web.Mail Imports System.Security.Principal and place code like this .. SmtpMail.SmtpServer = " " ' some mailserver Dim MailMsg As New MailMessage MailMsg.From = "MyHot@hotmail.com" MailMsg.To = "Friend@Hotmail.com" MailMsg.Subject = "Hello my friend MailMsg.Body = "the message" SmtpMail.Send(MailMsg) devmann
Hi, The code that devmann has written would work, all u need to d is download some SMTP Server and start sending mails