Page 2 of 2 FirstFirst 12
Results 16 to 23 of 23
  1. #16
    Parker is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    Apr 2014
    Posts
    76
    Ok!

    I got something an error


    Run-time error '-2147417851 (80010105)':

    Automation error


    The server threw an exception

  2. #17
    Parker is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    Apr 2014
    Posts
    76
    Under debug:

    it highlights this line

    Set MailDoc = Maildb.CREATEDOCUMENT

  3. #18
    Parker is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    Apr 2014
    Posts
    76
    If I include Sub SendMail() in the begining of the code I recieve a "Compile error: Expected End Sub" and it highlights the first line of code in the debugger Private Sub Save_Record_Click()

  4. #19
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,930
    I said not to include that line.

    If sending email works with early binding, should work with late binding. All I can say is both work for me using Outlook. I don't have LotusNotes so cannot test. Can only offer you references. Code shown for LotusNotes is different from that for Outlook.
    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.

  5. #20
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2013
    Posts
    7,862
    Is this thread the same topic as the other one??

    https://www.accessforums.net/program...ens-43311.html

  6. #21
    Parker is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    Apr 2014
    Posts
    76
    I know you said not to include... I tried it both ways since both suggestions did not work.

  7. #22
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,930
    Basically. The other evolved into discussing CDO code.

    Sorry, can't help with debugging code for LotusNotes.
    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.

  8. #23
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2013
    Posts
    7,862
    The example I provided in the other thread can be incorporated into the Lotus Notes VBA. There is a Lotus Notes VBA example that allows for HTML body.

Page 2 of 2 FirstFirst 12
Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 10
    Last Post: 04-24-2014, 01:43 PM
  2. Email from Access 2010 (Simple!)
    By floyd in forum Access
    Replies: 9
    Last Post: 10-31-2013, 03:46 PM
  3. how to send email in access 2010
    By nickblitz in forum Access
    Replies: 3
    Last Post: 10-29-2012, 07:28 AM
  4. Add a hyperlink to email message
    By Marianna_Air in forum Forms
    Replies: 2
    Last Post: 08-22-2012, 06:57 AM
  5. How to email a hyperlink using VBA
    By Lockrin in forum Access
    Replies: 1
    Last Post: 07-16-2010, 02:29 PM

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