''' set the from address
aMailMessage.From = "km***********@yahoo.co.in"
''' set the to address and subject
aMailMessage.To = "ma***********@yahoo.com"
aMailMessage.Subject = "This is a test email message."
''' send in Text format
aMailMessage.BodyFormat = System.Web.Mail.MailFormat.Text
''' set the body text (Remember you need to keep your paragraphs
to under 1000 characters)
aMailMessage.Body = "This is the text of the email message."
''' add an attachment if you want to
'aMailMessage.Attachments.Add(New
System.Web.Mail.MailAttachment("C:Test.txt",
System.Web.Mail.MailEncoding.Base64))
''' send the email
' System.Web.Mail.SmtpMail.SmtpServer = "203.124.220.78"
System.Web.Mail.SmtpMail.SmtpServer = "209.25.134.124"
System.Web.Mail.SmtpMail.Send(aMailMessage)
MsgBox("Message has sent")
*** Sent via Developersdex
http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!