Access 2007-2019
Access 2000-2003
Access Seminars
TechHelp Support
Tips & Tricks
Access Forum
Course Index
Topic Glossary
Insider Circle
Home   Courses   Seminars   Templates   Help   TechHelp   Forums   Contact   Join   Order   Logon  
Microsoft Access Email Seminar
By Richard Rost   Richard Rost on Twitter Richard Rost on LinkedIn Email Richard Rost   7 years ago

The Microsoft Access Email Seminar will teach you just about everything there is to know about sending and receiving email using Microsoft Access - with or without Microsoft Outlook. This seminar is for the intermediate to advanced Access developer. Topics include:

  • Microsoft Access Email SeminarSend Email Using Outlook
  • Export Access Reports as PDFs
  • Attach Files to Outgoing Email
  • Disable Outlook Security Warnings
  • Mail Merge Using Access and Word
  • Create Rich Text or HTML Email
  • Include Images in Emails
  • Broadcast Bulk Email Batches
  • Send Email Without Outlook
  • Connect Directly to a Mail Server
  • Create an Email from a Web Page
  • Embed Custom Mail Merge Fields
  • Add a Send Delay to Large Batches
  • Build Regular Email Templates
  • Assign Customers to Mailing Lists
  • Construct a Mail Server Database
  • Acquire Data from Incoming Emails
  • Build a Web Form to Collect Survey Data
  • Extract Files from Access Attachments
  • Track Email Deliverability
  • Email to SMS (Text Message) Gateways
  • Extract Attachments from Incoming Mail Click

Click here for more information on the Microsoft Access Email Seminar, including a complete course outline, sample video, sample database file, and lots more.

NEW! See my updated video for sending Email using Access and Outlook: Send Outlook Email


  • You may have to turn 2-factor authentication OFF for your Google account if you're having problems sending mail. I'd recommend creating a 2nd account just for sending mail from Access. This way your primary account is still safe and secure with 2FA.
  • You may need to make an App Password for your Google account. Go into your Google Account settings (not Gmail, your Google Account) and go to Security - Signing in to Google - App passwords. There you can setup a special username and password just for your Access app to send email thru your Gmail account. Not sure if I covered this in the seminar or not because it wasn't required at the time.


Read Email in Outlook Upload Images   Link  
Michael Flanagan 
2 months ago
Using the following code:

Dim oApp As Outlook.Application
    Dim oNS As Outlook.NameSpace
    Dim oInbox As Outlook.MAPIFolder
    Dim oCompleted As Outlook.MAPIFolder
    Dim oMailItem As Outlook.MailItem
    Dim DB As Database
    Dim RS As Recordset
    Dim X As Long, Y As Long
    Set oApp = New Outlook.Application
    Set oNS = oApp.GetNamespace("MAPI")
    Set oInbox = oNS.GetDefaultFolder(olFolderInbox)
    'Set oCompleted = oInbox.Folders("Completed")
    Set DB = CurrentDb()
    Set RS = DB.OpenRecordset("IncomingT", dbOpenDynaset)
    For Each oMailItem In oInbox.Items
      MsgBox oMailItem.Subject

I get a type mismatch error where oMilItem is set to nothing.

Any ideas on how to fix this?
Richard Rost
2 months ago
Is that code directly from the course, or did you modify it? It's been several years since I recorded that class, so I don't remember. Do you have any mail items actually in your inbox?
Michael Flanagan
2 months ago
The code is from the course.  I did get several records into the IncomingT table, but my Outlook inbox (via Gmail) has over 9,000 emails.  It seems to limit the number of records I can retrieve and now will not add any new records to the table.  I get the type mismatch error where the oMailItem is now null.
Richard Rost
2 months ago
I can't recreate the error. I use the same code in my database to pull customer service emails from Outlook into Access. Never a problem. Can you post some screen shots?
Add a Reply

Show All Comments

Start a NEW Conversation
Only students may post right now. Click here for more information on how you can set up an account. If you are a student, please LOG ON first.

You may want to read these articles from the 599CD News:

11/22/2021Currency Symbols
11/13/2021Access Developer 36
11/13/2021Access Developer 36 Lessons
11/13/2021Access Developer 36
11/13/2021Control Tip Text
11/11/2021Link to Excel
11/11/2021Read Write Excel Data
11/10/2021Moving Average

Access - index
Excel - index
Word - index
Windows - index
PowerPoint - index
Photoshop - index
Visual Basic - index
ASP - index
Account Login
Online Theater
Lost Password
Student Databases
Change Email
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Search The Site
Code Vault
Collapse Menus
Customer Support
Web Site Tour
Consulting Services
Affiliate Program
Richard Rost
Free Lessons
Mailing List
Video Tutorials
Learning Connection
Idiot's Guide to Excel
Volume Discounts
Payment Info
Terms of Sale
Contact Info
Support Policy
Email Richard
Mailing Address
Phone Number
Fax Number
Course Survey
Blog RSS Feed    Twitter

YouTube Channel    LinkedIn
Keywords: access email seminar  Page Tag: whatsnew  PermaLink