Set objOutlook = CreateObject("Outlook.Application")
Set objMail = objOutlook.CreateItem(0)
objMail.To = "example@email.com"
objMail.cc = "example2@email.com"
objMail.Subject = "Mail test"
objMail.HTMLBody = "This is my message"
unload me
objMail.Display
Set objMail = Nothing
Set objOutlook = Nothing
I am trying to add in another function that help to reply a selected email but can't figure out how I can mix this with Item As Outlook.MailItem
I understand that replying an email will require that.
So I would like to know how I can add on so that I can select an email, execute the macro and it will input the recipient email into objMail.To
and recipient's body into objMail.HTMLBody
To simply Reply or ReplyAll selected messages try the following.
To hide the recipient use use BCC Example
olRecip.Type = olBcc
To add multiple recipient just add
With out Recipient try the following.