Hi,
The code below sends the email to the outbox folder in outlook which in turn sends the email automatically. Is there any way of sending the email to the drafts folder which will allow the user to revise the email before its send.
Set out = CreateObject("Outlook.Application")
Set mapi = out.GetNameSpace("MAPI")
Set email = out.CreateItem(0)
EmailAddress = EmailAddress
email.Recipients.Add (EmailAddress)
email.subject = EmailSubject
email.Body = EmailBody
Set myAttachments = email.Attachments
myAttachments.Add FullPathName
email.Send
Set myAttachments = Nothing
Set outlook = Nothing
Set mapi = Nothing
Help ppreciated!
The code below sends the email to the outbox folder in outlook which in turn sends the email automatically. Is there any way of sending the email to the drafts folder which will allow the user to revise the email before its send.
Set out = CreateObject("Outlook.Application")
Set mapi = out.GetNameSpace("MAPI")
Set email = out.CreateItem(0)
EmailAddress = EmailAddress
email.Recipients.Add (EmailAddress)
email.subject = EmailSubject
email.Body = EmailBody
Set myAttachments = email.Attachments
myAttachments.Add FullPathName
email.Send
Set myAttachments = Nothing
Set outlook = Nothing
Set mapi = Nothing
Help ppreciated!