accessman2
Registered User.
- Local time
- Today, 01:09
- Joined
- Sep 15, 2005
- Messages
- 335
Code:
Function Sendmail() As Boolean
Dim oapp As Outlook.Application
Dim mitem As Outlook.MailItem
Set oapp = New Outlook.Application
Set mitem = oapp.CreateItem(olMailItem)
With mitem
.To = "mill@yahoo.com"
.Subject = "Testing"
.Body = "Test"
.send
End With
End Function
Hi: I used above code to send email out.
How can we send email without saving the emails in the "Sent Items" folder in the code?