Results 1 to 3 of 3
  1. #1
    jbickl is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Dec 2011
    Posts
    14

    Question Emailing a preset email draft from Access

    Hello,



    In brief: In my database, I need to have a button on a form which when pressed (1) pulls the email address from the displayed record on that form, (2) loads an Outlook instance, (3) in that Outlook instance, load a drafted email for editing and sending.

    More detailed: My form, frmReferrals, contains the email address of a contact. I need to have a button, cmdEmail, which loads the email address of the displayed record in an Outlook instance. Ideally, I would like the loaded Outlook instance to pull some other information from the form. For example, I would like it to pull the name of the contact and display it.

    Something like this:
    "Dear " & [FirstName] & " " & [LastName] & ","
    Leads to this:
    "Dear John Smith,"

    There would be a lot more text in the email with other information to input automatically, but I could probably figure that out if someone can help get me started with this. Also, I have done very basic VBA... I would prefer to use as little coding as possible... but I suspect that all of this will have to be done with coding. Beggars can't be choosers.

    Any help is much appreciated!

  2. #2
    pdebaets is offline Competent Performer
    Windows Vista Access 2010 (version 14.0)
    Join Date
    Jul 2010
    Location
    Los Angeles
    Posts
    235
    This link may help:

    Sending an E-Mail Message from Access
    http://peterssoftware.com/c_emfa.htm

  3. #3
    jbickl is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Dec 2011
    Posts
    14
    Thanks for your help!

    My question really isn't how to send an email, though; I already knew how to do that. My question is about loading a pre-written email into the outlook instance once it opens and then filling in information in the body of the email. I think the problem is that Access seems to allow only 255 characters in the Message part of the email, so I'm trying to find a way around this.

    Thanks!

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

Similar Threads

  1. Pop-up when emailing from Access
    By tgavin in forum Access
    Replies: 5
    Last Post: 05-02-2011, 10:56 AM
  2. Exporting from Access to Populate a Draft Email
    By swimmermx in forum Import/Export Data
    Replies: 5
    Last Post: 07-28-2010, 05:27 PM
  3. Exporting to Draft Email
    By swimmermx in forum Import/Export Data
    Replies: 0
    Last Post: 07-28-2010, 05:16 PM
  4. EMailing Through Access
    By mamta in forum Programming
    Replies: 5
    Last Post: 02-15-2010, 01:07 PM
  5. Emailing report at the Email content
    By ylivne in forum Reports
    Replies: 0
    Last Post: 07-07-2009, 05:31 AM

Tags for this Thread

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