I am using Access 2000 and need a little help writing the code the
proper way to do the following:
I have a form with the following fields: "Requestor" and
"RequestorEmail Address"
I have a subform with the following fields: "OpenPoNumb er"
I want to use the DoCmd.SendObjec t to send an email of the form to the
Requestors email address.
Can someone please help with this?
I have used macros before to send emails, but they do not allow you to
use data from the form as an email address.
Thanks 1 2226
DoCmd.SendObjec t , , acFormatTXT, Me![RequestorEmailA ddress], , , "Subject",
"Message", True
Note: this will create but not send the message using your default email
client.
<bg********@yah oo.comwrote in message
news:11******** **************@ k58g2000hse.goo glegroups.com.. .
I am using Access 2000 and need a little help writing the code the
proper way to do the following:
I have a form with the following fields: "Requestor" and
"RequestorEmail Address"
I have a subform with the following fields: "OpenPoNumb er"
I want to use the DoCmd.SendObjec t to send an email of the form to the
Requestors email address.
Can someone please help with this?
I have used macros before to send emails, but they do not allow you to
use data from the form as an email address.
Thanks This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Jay Bienvenu |
last post by:
I am trying to execute a DoCmd.SendObject command to produce an email
message from Access 2000. The command produces the email message, but
the To:, CC: and BCC: fields are blank. The subject field and content
come across fine.
I can verify that the information isn't leaving Access. My client is
experiencing the same problem. I tried it on two different computers;
same problem.
|
by: Alfred |
last post by:
Hi
I am using access 2002
1.0 I want to email a word or html file using the docmd.sendobject The
document must be send as a attachment.
2.0 Second I would like to tell the Docmd.Sendobject to take the Info in a
html or word document and to use it as the body of the email message.
Is this possible. How can I do this.
Thanks Alfred
|
by: Baz'noid |
last post by:
Hi all,
With the recent postal strikes here in the UK i'm trying to persuade access
to email reports at the touch of a button. I've not been able to figure out
how to filter the report - when i print a report via a button i have it
filtering to just the customer and invoice on the form on screen, but when i
email, it uses the customer details on screen for the email address but
produces a separate HTML file for EVERY customer on the...
|
by: Lauren Quantrell |
last post by:
I get the prompt from Outlook Express when trying to send an e-mail
using DoCmd.SendObject in MS Access2000:
"A program is attempting to send the following e-mail message on your
behalf:"
To: <blank>
Subject: The subject
Would you like to send the message?
SEND DO NOT SEND
|
by: Tom Louchbaum |
last post by:
When I preview my Access 2000 Report it looks fine. When I Email the
report using
DoCmd.SendObject acSendReport, "Report", acFormatRTF, "To Address", , ,
"Subject", , False
the resulting attachment to the email consistently does not display all
of the lines it should in one of the GroupFooters. I am using the Print
event in the report to print lines multiple times in a groupfooter
depending on an integer set elsewhere in the VBA...
| |
by: TR |
last post by:
Hi,
Just noticed something unusual. If I use Docmd.SendObject in Access 97,
access will open up Lotus Notes to send the email.
here is the code:
DoCmd.SendObject , , , "SomeBody@Somewhere.com", , , "Subject Line",
"Body Text", False
If I use the same line of code in Access XP, the message is sent through
Exchange. This is happening on the same machine (Win XP). Any ideas why
Access97 will use Notes, and XP will use Exchange? Exchange...
|
by: dszmauz |
last post by:
I'd like to send a report to a distribution of email addresses. The distribution list is stored in Email.. How do I use the DoCmd.SendObject to send to a list? The command below isn't working:
DoCmd.SendObject acReport, "Upcoming Week OT Report", "RichTextFormat(*.rtf)", Email., "", "", "Upcoming Week OT Report", "", False, ""
|
by: neosam |
last post by:
Hey all,
I am not able to integrate these 2 actions in one command. What i am doing is...
A button which sends a report with only specific data to a particular person (via outlook). I am able to filter the records using the where comand and i am able to send using the DoCmd.SendObject command. but only seperately. Is it possible to insert the where command in the DoCmd.SendObject syntax??
Thanks
|
by: iBasho |
last post by:
Hi,
I am trying to set up a notification email that would come to my email everytime users click on a command button in a form. I am using the DoCmd.SendObject command without actually sending any database objects.
Private Sub Command107_Click()
On Error GoTo Err_Command107_Click
DoCmd.SendObject acSendNoObject, , , "email@email.com", , , "Test", "Email Test", , True
Exit_Command107_Click:
Exit Sub
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |