Solved

VBA Email code not creating a SENT version

Posted on 2012-03-21
5
285 Views
Last Modified: 2012-03-21
I have emails that are being sent via VBA code; however, no "sent" copy is created for me.  I am trying to find the parametrs needed to send an email, but nothing I have come across tells me how to be sure I get a copy of the email being sent.  This is behind an ACCESS 2003 form.

Sandra
0
Comment
Question by:ssmith94015
  • 3
5 Comments
 
LVL 77

Assisted Solution

by:peter57r
peter57r earned 250 total points
ID: 37748444
How are you sending the emails?
If you by-pass your installed email program then obviously you won't have a copy.

You can always add yourself to the bcc list.
0
 
LVL 74

Accepted Solution

by:
Jeffrey Coachman earned 250 total points
ID: 37748456
Lets be clear, ...are you wanting a "Copy" of the sent email to be created, or are you asking about the email not appearing the the "Sent Items" folder.

You posted no information on the code you are using...?

If you are using SendObject, then insert your email in the cc argument.
DoCmd.SendObject acSendReport, "YourReport", acFormatRTF, "YourRecipientEmail", "YourEmail", , "Some Subject", "Some body Text", True

If creating the email via automation use something like this:
' Add the BCC recipient(s) to the message.
              Set objOutlookRecip = .Recipients.Add("YourEmail")
              objOutlookRecip.Type = olBCC


In other words Outlook will not typically create a copy of the email unless you tell it to.

JeffCoachman
0
 
LVL 74

Expert Comment

by:Jeffrey Coachman
ID: 37748467
Obviously change the automation code and replace BCC with CC...
0
 

Author Closing Comment

by:ssmith94015
ID: 37749628
Yes, I am bypassing the installed program and going right to the server.  So I did make a cc to myself.  Thank you both.<br /><br />Sandra
0
 
LVL 74

Expert Comment

by:Jeffrey Coachman
ID: 37749693
;-)
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Many companies are making the switch from Microsoft to Google Apps (https://www.google.com/work/apps/business/). Use this article to learn more about what Google Apps has to offer and to help if you’re planning on migrating to Google Apps. It is …
Article by: Leon
Software Metering within our group of companies has always been an afterthought until auditing of software and licensing became a pain point. Orchestrator and SCCM metering gave us the answer and it was an exciting process.
What’s inside an Access Desktop Database. Will look at the basic interface, Navigation Pane (Database Container), Tables, Queries, Forms, Report, Macro’s, and VBA code.
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…

820 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