DotNetGnat
Programmer
Guys,
I came up with this SUB after reading online..
is that correct...looks simple to me, so got a doubt...
how can i send some variables in the mail body..i mean what is the syntax...
thanks
-DNG
I came up with this SUB after reading online..
Code:
Private Sub SendEmailToAnnouncer()
Dim objMM As New MailMessage
objMM.To = "Whatever"
objMM.From = "Whatever"
objMM.Subject = "Whatever"
objMM.Body = "Whatever"
SmtpMail.SmtpServer = "Email Server's IP Address"
SmtpMail.Send(objMM)
End Sub
is that correct...looks simple to me, so got a doubt...
how can i send some variables in the mail body..i mean what is the syntax...
thanks
-DNG