473,396 Members | 1,875 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,396 software developers and data experts.

Emailing from within MS Access

Can any one point me in the right direction.

I want to be able to , with in MS Access , send a email using OUTLOOK.

In other words , have a button on a menu that i click on which starts up
Outlook and fills in subject or body with pre defined text.

Can any one help?

thanks
--

"Scanned with Nortons Antivirus 2004"
Nov 12 '05 #1
4 2463
Have you looked at the Access SendObject command?
"Greg" <lm*****@dodo.com.au> wrote in message
news:40********@news.comindico.com.au...
Can any one point me in the right direction.

I want to be able to , with in MS Access , send a email using OUTLOOK.

In other words , have a button on a menu that i click on which starts up
Outlook and fills in subject or body with pre defined text.

Can any one help?

thanks
--

"Scanned with Nortons Antivirus 2004"

Nov 12 '05 #2
Hi Greg,

Have a look at using a hyperlink. I've got a favourite trick: add a label
to a form and give it a meaningful name (lblEmail for example); select the
label, then using the menu Insert, Hyperlink, select Email Address in the
next dialog. If you will always be sending the same email, then just fill
it in. If not, then use the Form_Current event to update the labels'
hyperlink properties with whatever you need through VBA (i.e. if the form's
underlying RecordSource happens to have an email address field, then use
that to update the label's hyperlink to, for instance,
mailto:th****@somewhere.com). Have a look in the Access/VBA help files for
your options.

What you end up with is a label that looks like a hyperlink (underlined
blue) that will fire up an email when the user clicks on it. Once you've
got this one down, it's so simple to use.

HTH

Andrew
"Greg" <lm*****@dodo.com.au> wrote in message
news:40********@news.comindico.com.au...
Can any one point me in the right direction.

I want to be able to , with in MS Access , send a email using OUTLOOK.

In other words , have a button on a menu that i click on which starts up
Outlook and fills in subject or body with pre defined text.

Can any one help?

thanks
--

"Scanned with Nortons Antivirus 2004"

Nov 12 '05 #3
And, to add to the choices available to you for sending emails from an
Access database, there is Automation. Here are a few links:

MSDN article on creating appointments, emails, etc., using Automation
http://tinyurl.com/2knwj

Q161088 Using Automation to Send a Microsoft Outlook Message
http://support.microsoft.com/?id=161088

HOW TO: Use Automation to Send a Microsoft Outlook Message using Access 2000
http://support.microsoft.com/?id=209948

ACC97: How to Use a Recordset to Send Outlook E-Mail to Multiple Recipients
http://support.microsoft.com/?id=318881

Also, have a look at Tony Toews' email page:

http://www.granite.ab.ca/access/email.htm
--

Cheryl Fischer, MVP Microsoft Access
Law/Sys Associates, Houston, TX
"Greg" <lm*****@dodo.com.au> wrote in message
news:40********@news.comindico.com.au...
Can any one point me in the right direction.

I want to be able to , with in MS Access , send a email using OUTLOOK.

In other words , have a button on a menu that i click on which starts up
Outlook and fills in subject or body with pre defined text.

Can any one help?

thanks
--

"Scanned with Nortons Antivirus 2004"

Nov 12 '05 #4
Greg

Some good ideas already. Here's the caveats:

1. SendObject is buggered in Access 2000. Search the KB.

2. Any and all Outlook/CDO etc. automation will give you the security
prompts in anything past Outlook 2000 SR1. Which renders it pretty bloody
useless most of the time, as far as automation goes.

You have been warned.

Mike MacSween

"Greg" <lm*****@dodo.com.au> wrote in message
news:40********@news.comindico.com.au...
Can any one point me in the right direction.

I want to be able to , with in MS Access , send a email using OUTLOOK.

In other words , have a button on a menu that i click on which starts up
Outlook and fills in subject or body with pre defined text.

Can any one help?

thanks
--

"Scanned with Nortons Antivirus 2004"

Nov 12 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: Brendan MAther | last post by:
I have a table called Contact_Info. I have a form that allows me to show all the contacts from a specified city and sector. Once these contacts appear on my new form I would like to be able to...
2
by: Chuck | last post by:
I have a database that has a table in it with employee information (name, dob, email, etc). This is joined to a table that has tasks that are assigned to each individual that has a recurring date....
5
by: Colin Anderson | last post by:
I discovered, with great excitement, this article http://www.davison.uk.net/vb2notes.asp when researching methods for emailing from Access via Notes. Unfortunatly, when I run this I get a...
3
by: bill mahoney | last post by:
Hello, I am using access 2000 and I am trying to email a csv file. I have only used the docmd.sendobject command but you can only email objects that are within the access database ( as far as I...
3
by: Strasser | last post by:
In Access2000 mass emailing worked perfectly (very powerful tool!). Doesn't work when using XP version of both Access and Outlook, even though I checked the box to ensure that I was sending the...
3
by: tafs7 | last post by:
My code below is supposed to email me when an error occurs on the application, but it's not emailing anything. Am I missing something? I know the smtp servers I've tried work. I even added a...
2
by: Tim Hunter | last post by:
I have two questions regarding emailing from Access. My first question relates to how many email addresses is too much. I have a client who wants to email 1500 people at once. Is this possible or...
5
by: szag via AccessMonster.com | last post by:
First - I don't know VBA very well at all. I have report that I want to email to multiple users that give them the quantities of their Inventory parts only. So I need something that will loop...
8
by: marjbell | last post by:
I have a Access database of email addresses that I would like to mass email to customers. Can Access be used through Outlook? or can it just be done with Access? I know it is possible to use...
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
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...
0
agi2029
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,...

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.