473,406 Members | 2,369 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Sendobject (Access vba)

Has anyone got a simple workaround that will let Access send a report via SendObject? I've tried but keep getting the Access Can't Send This Email error message.
Jun 25 '18 #1
3 1305
twinnyfo
3,653 Expert Mod 2GB
You may have to attach it to an e-mail and review the e-mail first.

I sounds like you are on a managed network system, and such systems often do not allow VBA to directly send e-mails. I hav eencountered that in the past. My only workaraound is to create the e-mail, attach the file and then send manually.
Jun 25 '18 #2
I'm using a standalone running Windows10/Access16 but the database was produced in 07. I loked at CreateItem but it seems that you can't attach the email by code. I can't believe that there is no solution to this.
Jun 25 '18 #3
twinnyfo
3,653 Expert Mod 2GB
One of the parameters for the SendObject Method is EditMessage. If set to true, it will bring up your e-mail message and then you can send it manually.

Should require very little change to your code.
Jun 25 '18 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: andreas | last post by:
Hi there, I have the following situation: 1. DOT.NET Application is started 2. DOT.NET Application instantiates Access.Application.8 3. Opens a specified database (MDB) 4. DOT.NET...
3
by: Big Time | last post by:
I'm looking into buying a book to learn Access VBA programming. I am very familiar with Access however I am new to programming Access with VBA. Are there any recommendations for books for...
15
by: Cheryl Langdon | last post by:
Hello everyone, This is my first attempt at getting help in this manner. Please forgive me if this is an inappropriate request. I suddenly find myself in urgent need of instruction on how to...
4
by: Konrad Hammerer | last post by:
Hi! I have the following problem: I have a query (a) using another query (b) to get the amount of records of this other query (b), means: select count(MNR) as Number from...
1
by: sajithamol | last post by:
On the analysis of migrating the MS Access VBA application to .Net, here problem is the exsiting VBA application uses grid control created in Visual basic 6.0 as a OCX. Is there any possiblity...
0
by: JFKJr | last post by:
I have an excel file, which has columns C and D grouped together, I am trying to delete blank columns and rows from the excel file, ungroup the columns and import the file to MS Access using Access...
3
by: JFKJr | last post by:
Hello everyone, I am trying to insert a picture in an excel spreadsheet cell using Access VBA. The following excel VBA code is working perfectly fine and I am able to insert picture in "A1" cell....
6
by: JFKJr | last post by:
Hello everyone, the following is the Access VBA code which opens an excel spreadsheet and creates combo boxes dynamically. And whenever a user selects a value in a combo box, I am trying to pass...
1
by: Kloj | last post by:
I have two queries in MS.Access, qry1 and qry2. qry1 is based on table1, qry1 has two fields i.e Qty and Product. qry2 is sum of qry1. qry2 has two fields i.e Sum_of_Qty and Product, qry2...
0
by: u70115 | last post by:
I have a Python Code As given below that I wish to use Access VBA to do the same thing. Here is the Python Code example: import datetime import pytz import hmac import hashlib import base64
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.