Solved

Sendobject not available

Posted on 2013-11-22
3
239 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
  • 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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Synchronize a new Active Directory domain with an existing Office 365 tenant
Create and license users in Office 365 in bulk based on a CSV file. A step-by-step guide with PowerShell script examples.
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…

760 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now