Solved

Sendobject not available

Posted on 2013-11-22
3
247 Views
Last Modified: 2014-08-10
The following code worked great in a database created in access 2007. We now use office 365 and get an error message "sendobject not available" when trying to send an email from access. Any suggestions?


Private Sub Email_Report_Click()
On Error GoTo Err_Email_Report_Click

    Dim stDocName As String

    stDocName = "Application Verification Report"
    DoCmd.SendObject acSendReport, stDocName

Exit_Email_Report_Click:
    Exit Sub

Err_Email_Report_Click:
    MsgBox Err.Description
    Resume Exit_Email_Report_Click
   
End Sub
0
Comment
Question by:cskehan
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 21
ID: 39670447
You need to have an email client, like Outlook, installed and configured to send emails.

What email software  do you have installed?

If you do not have any email program installed and do not want to install one then you can't use SendObjects. You will need to use VBA code to send out through an SMTP server.

You may want to use this: http://www.chilkatsoft.com/
0
 

Author Comment

by:cskehan
ID: 39670480
Outlook is installed office 365 version.
0
 
LVL 21

Accepted Solution

by:
Boyd (HiTechCoach) Trimmell, Microsoft Access MVP earned 500 total points
ID: 39670484
Is Outlook configured as the default email program and set up to send email?

If Outlook is already used to send emails then you mail need to run the Office Repair.
0

Featured Post

Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is my first article on Expert Exchange on the Manual Method of Exporting Office 365 Mailboxes to PST format by using the eDiscovery mechanism of Office. Hope you will enjoy the article.
How to resolve IMCEAEX NDRs in Exchange or Exchange Online related to invalid X500 addresses.
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question