• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 303
  • Last Modified:

VBA Email code not creating a SENT version

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.

  • 3
2 Solutions
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.
Jeffrey CoachmanMIS LiasonCommented:
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.

Jeffrey CoachmanMIS LiasonCommented:
Obviously change the automation code and replace BCC with CC...
ssmith94015Author Commented:
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
Jeffrey CoachmanMIS LiasonCommented:
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now