Outlook mail send code
Below code copy and paste module
click here for download file:- Outlook send mail file
_______________________________________________
Sub Send_Mail()
Dim outlookobj As Outlook.Application
Dim mitem As Outlook.MailItem
Set outlookobj = New Outlook.Application
Set mitem = outlookobj.CreateItem(olMailItem)
With mitem
.To = "nppsnee@gmail.com"
.Subject = "this is testing"
.Body = "this is computer outlook mail"
.Display
End With
End Sub
__________________________________________________
Below code copy and paste module
click here for download file:- Outlook send mail file
_______________________________________________
Sub Send_Mail()
Dim outlookobj As Outlook.Application
Dim mitem As Outlook.MailItem
Set outlookobj = New Outlook.Application
Set mitem = outlookobj.CreateItem(olMailItem)
With mitem
.To = "nppsnee@gmail.com"
.Subject = "this is testing"
.Body = "this is computer outlook mail"
.Display
End With
End Sub
__________________________________________________