Results 1 to 2 of 2
  1. #1
    behnam is offline Advanced Beginner
    Windows 7 32bit Access 2010 32bit
    Join Date
    May 2014
    Posts
    72

    Check to see if email sent or not


    HI all, the following code sends an email out,


    Code:
    Set objOutlook = CreateObject("Outlook.application")
    Set objEmail = objOutlook.CreateItem(olMailItem)
    With objEmail
        .To = "Behnam Torabi"
        .CC = ""
        .Subject = "New Meter has been setup in IEE"
        .body = "Hello,"
        .display
    End With
    Set objOutlook = Nothing
    ive been searching but can figure out how to see if the email was sent. Thanks for your time.

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    Bing: access vba find email in outlook sent folder

    See if this helps: http://windowssecrets.com/forums/sho...k-mail-folders
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. How to check if email was sent when macro run.
    By behnam in forum Programming
    Replies: 2
    Last Post: 07-18-2014, 05:48 AM
  2. Replies: 5
    Last Post: 05-07-2014, 09:25 AM
  3. Create Email form with check boxes
    By onmyway in forum Forms
    Replies: 6
    Last Post: 10-10-2013, 02:55 AM
  4. Check boxes and email
    By Lxmanager in forum Access
    Replies: 1
    Last Post: 09-21-2010, 11:20 PM
  5. VBA check for email subject line
    By problem_addic in forum Access
    Replies: 4
    Last Post: 03-12-2010, 02:33 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums