Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Sendobject not available

Posted on 2013-11-22
3
Medium Priority
?
257 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 2000 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

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

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

Microsoft Office 365 is a subscriptions based service which includes services like Exchange Online and Skype for business Online. These services integrate with Microsoft's online version of Active Directory called Azure Active Directory.
A walk-through example of how to obtain and apply new DID phone numbers to your cloud PBX enabled users that are configured in Office 365. Whether you have 1, 10 or 100+ users in your tenant, it's quite easy to get them phone-enabled and making/rece…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
A company’s greatest vulnerability is their email. CEO fraud, ransomware and spear phishing attacks are the no1 threat to a company’s security. Cybercrime is responsible for the largest loss of money to companies today with losses projected to r…

824 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