Hi,
You could send an email thru your vb.net application with the use of below code
Dim oOutL As New Outlook.Application
Dim oMail As Outlook.MailItem
oMail = oOutL.CreateItem(Outlook.OlItemType.olMailItem)
oMail.UnRead = True
oMail.To = xyz@aaaaaa.net
oMail.Subject = "Test email"
oMail.HTMLBody = True
oMail.Body = "Test email"
oMail.Send()
oMail = nothing
oOutL = nothing
No comments:
Post a Comment