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


Read Email in Outlook Upload Images   Link 
Michael Flanagan 
39 days 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
38 days 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
25 days 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
23 days 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:

10/21/2021Conditional Formatting
10/20/2021Text Messages
10/19/2021Late Binding
10/18/2021Open Form
10/17/2021Date Only?
10/16/2021Relink Tables
10/16/2021Access Developer 34
10/16/2021Access Developer 34 Lessons
10/16/2021Access Developer 34
10/10/2021Copy Text from Field

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