Solved

VBA to place an email into your draft folder

Posted on 2010-09-14
4
904 Views
Last Modified: 2012-05-10
Is there VBA to place an email inside my MS Outlook DRAFT folder to double check attachments before emailing specific managers?  My current code automatically emails to the managers but I need to double check before sending so  I am using .
To = DLookup("EmailAddress", "TblEmailPayTemp")
Is there a VBA statement that addresses the "To"  but places the email into a draft folder?
0
Comment
Question by:CFMI
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 59

Expert Comment

by:Chris Bottomley
ID: 33671516
WHat code are you using generally to create the email?

Chris
0
 
LVL 92

Expert Comment

by:Patrick Matthews
ID: 33671931
CFMI,If you are using Access's SendObject method, then you can pass True for the EditMessage argument; that will bring up the message in an Outlook inspector and thus allow you to review before sending.If you are automating Outlook to send the message, instead of using:    olMsg.Sendto send the message, use:    olMsg.Displayto review/edit the message.Patrick
0
 
LVL 92

Accepted Solution

by:
Patrick Matthews earned 500 total points
ID: 33672029
If you are automating Outlook and you simply want to save each message to Drafts so you can review them later, instead of using:    olMsg.Senduse:    olMsg.Close 0 '0 = olSaveThat saves the messages to your Drafts folder without sending them.
0
 
LVL 1

Author Closing Comment

by:CFMI
ID: 33672221
Works well - Thank you!!!
0

Featured Post

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Restriction incoming email to Exchange 2010 4 34
Access query error 3 26
access to sql migration 5 24
ms/link form - subform field not recognised 3 16
Phishing attempts can come in all forms, shapes and sizes. No matter how familiar you think you are with them, always remember to take extra precaution when opening an email with attachments or links.
It’s the first day of March, the weather is starting to warm up and the excitement of the upcoming St. Patrick’s Day holiday can be felt throughout the world.
The viewer will learn how to simulate a series of coin tosses with the rand() function and learn how to make these “tosses” depend on a predetermined probability. Flipping Coins in Excel: Enter =RAND() into cell A2: Recalculate the random variable…
The viewer will learn how to simulate a series of sales calls dependent on a single skill level and learn how to simulate a series of sales calls dependent on two skill levels. Simulating Independent Sales Calls: Enter .75 into cell C2 – “skill leve…

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question