Results 1 to 2 of 2
  1. #1
    Join Date
    May 2017
    Posts
    1

    Unhappy sendobject works only one time

    DoCmd.SendObject acSendReport, "INVOICE", acFormatPDF, holdemailaddr, , , "Current Invoice from xx", "Invoice Attached", False
    Have been issuing this statement for several years, and now, I receive "[accessfile] can't send this email"


    Have also used
    DoCmd.SendObject acSendReport, "INVOICE", acFormatPDF, holdemailaddr, , , "Current Invoice from xx", "Invoice Attached", True
    but same result.
    If I close and open the access file, it will send one email, then I receive the same message.
    Checked for new updates to access.
    Any suggestions?

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,652
    A client had this start happening, it slowly spread through the company. I suspect a Windows or Office update caused it. I switched them to Outlook automation, which worked.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

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

Similar Threads

  1. Code only works after form is loaded 2nd time
    By joecamel9166 in forum Forms
    Replies: 1
    Last Post: 05-05-2016, 02:12 PM
  2. Replies: 1
    Last Post: 07-18-2015, 08:02 AM
  3. Replies: 15
    Last Post: 06-29-2015, 11:12 AM
  4. Replies: 1
    Last Post: 06-21-2015, 07:58 AM
  5. Replies: 2
    Last Post: 06-28-2013, 10:14 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