Results 1 to 4 of 4
  1. #1
    Lirizarry is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Jan 2012
    Location
    Georgia
    Posts
    2

    Sending emails from Acess Database

    Recently created a database with a form that the user provides problematic information. The form has a close button that has a macro attached that initated an emails and send the form information in a report to the end user . My problem is the function works great when the sender has a Outlook account. When the sender has a gmail account - the command will not work. I read that VBA can be written but I am not able to write SQL. Can anybody help me with a go around. My level with access is using built in functions and commands.

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,913
    SQL is not VBA. VBA can process SQL statements but SQL not required for VBA coding. Will need VBA code for what you want.

    Review this
    http://www.emailarchitect.net/forum/...?g=posts&t=130
    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.

  3. #3
    Lirizarry is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Jan 2012
    Location
    Georgia
    Posts
    2
    Thanks for your reply. At my level knowledge I'm not familiar with either. I checked out the link you posted. If I copy and paste that will it work as is. Do I paste it into the micro or VBA area.

  4. #4
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,913
    I can't vouch for the reliability of this code. You have to test. It is VBA, not macro.

    You will certainly have to change the hard-coded values, such as recipient email, subject, etc.

    I have no idea what the lines about server port are about.

    Review this
    http://office.microsoft.com/en-us/ac...010341717.aspx
    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. Replies: 0
    Last Post: 01-20-2012, 03:41 PM
  2. Sending data from form to multiple emails
    By GeorgeB in forum Access
    Replies: 11
    Last Post: 01-09-2012, 04:23 PM
  3. Sending multiple emails
    By Petefured in forum Programming
    Replies: 0
    Last Post: 05-24-2011, 03:40 AM
  4. Populating emails with database info
    By daviddixon in forum Import/Export Data
    Replies: 9
    Last Post: 08-23-2010, 08:42 AM
  5. Sending out the front end of a split database
    By Huddle in forum Import/Export Data
    Replies: 3
    Last Post: 07-20-2010, 08:47 AM

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