473,404 Members | 2,137 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,404 software developers and data experts.

Emails With access 97 BUT NOT OUTLOOK

Hi All

I have been and got Dev Ashish script Email for access 97

http://www.mvps.org/access/downloads/email.zip

My email program is Forte Agent
http://www.forteinc.com/agent/download.php

Now this all works Great in my email program
BUT
It will only email one mail at a time and puts it in the to: field

When you run the form it puts a list box up where you can select a person to email

What I want to do is select more than one person to email in the list box
So if in the list box I would select 4 email it would then put these in the
BCC box like fr**@fre.com,bi*@bill.com etc etc

OR if I selected ALL

it would put those in the BCC box

I have been trying to do this now for 3 days and got no further with it

Anyone can help on this please

I do NOT want to use Outlook

All the searches that I have done ALL talk about Outlook

Dev's program brings up my email program just great

So all I want is for it to select certain names and but that in the BCC field

I do not think Dev is about anymore or I would have emailed him

As always, any and all help is greatly appreciated.

Thank you in advance.

John
Nov 13 '05 #1
4 1602
You could try checking the Access EMail FAQ Tony Toews has at
http://www.granite.ab.ca/access/email.htm

I happen to know that he uses Forte as well, so odds are he has something
there!

--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)
<ho**@hope.com> wrote in message
news:pl********************************@4ax.com...
Hi All

I have been and got Dev Ashish script Email for access 97

http://www.mvps.org/access/downloads/email.zip

My email program is Forte Agent
http://www.forteinc.com/agent/download.php

Now this all works Great in my email program
BUT
It will only email one mail at a time and puts it in the to: field

When you run the form it puts a list box up where you can select a person to email
What I want to do is select more than one person to email in the list box
So if in the list box I would select 4 email it would then put these in the BCC box like fr**@fre.com,bi*@bill.com etc etc

OR if I selected ALL

it would put those in the BCC box

I have been trying to do this now for 3 days and got no further with it

Anyone can help on this please

I do NOT want to use Outlook

All the searches that I have done ALL talk about Outlook

Dev's program brings up my email program just great

So all I want is for it to select certain names and but that in the BCC field
I do not think Dev is about anymore or I would have emailed him

As always, any and all help is greatly appreciated.

Thank you in advance.

John

Nov 13 '05 #2
"Douglas J. Steele" <NOSPAM_djsteele@NOSPAM_canada.com> wrote:
You could try checking the Access EMail FAQ Tony Toews has at
http://www.granite.ab.ca/access/email.htm

I happen to know that he uses Forte as well, so odds are he has something
there!


Actually I have nothing Agent specific as my work with automating email has been with
Outlook or the Mabry controls.

Tony
--
Tony Toews, Microsoft Access MVP
Please respond only in the newsgroups so that others can
read the entire thread of messages.
Microsoft Access Links, Hints, Tips & Accounting Systems at
http://www.granite.ab.ca/accsmstr.htm
Nov 13 '05 #3
ho**@hope.com wrote:
When you run the form it puts a list box up where you can select a person to email

What I want to do is select more than one person to email in the list box
So if in the list box I would select 4 email it would then put these in the
BCC box like fr**@fre.com,bi*@bill.com etc etc

OR if I selected ALL

it would put those in the BCC box


So what you really want is a multi-select list box and some code to pull out all the
email addresses you have selected placing them in a string with commas between them.
Some code to start you off using the A97 help files.

The following example prints the value of the bound column for each selected row in a
Names list box on a Contacts form. To try this example, create the list box and set
its BoundColumn property as desired and its MultiSelect property to Simple or
Extended. Switch to Form view, select several rows in the list box, and run the
following code:

Sub BoundData()
Dim frm As Form, ctl As Control
Dim varItm As Variant

Set frm = Forms!Contacts
Set ctl = frm!Names
For Each varItm In ctl.ItemsSelected
Debug.Print ctl.ItemData(varItm)
Next varItm
End Sub

Tony
--
Tony Toews, Microsoft Access MVP
Please respond only in the newsgroups so that others can
read the entire thread of messages.
Microsoft Access Links, Hints, Tips & Accounting Systems at
http://www.granite.ab.ca/accsmstr.htm
Nov 13 '05 #4
Hi Tony

Thank you very much for the help

Ok let me get this right

I have made a form called "Contacts"

With Fields
Customer Id
Company Name
Contact Name
Contact Email
Contact Title
Names
On this form I have mad a list box as follows
Control source none
Row source Table /query
Row source Type
SELECT DISTINCTROW [Customers].[CustomerID], [Customers].[ContactEMail], [Customers].[ContactName] .[Names]FROM [Customers];
Bound Column 1
in the other box
Name Names
Multi Select simple
A command button
event on click
run code BoundData ()

I then goto the list box and select three names

I then press the command button

I get

Error
The expression you have entered contains invalid syntax
You may have enter a comma without a preceding value or identifier
what have I got wrong please ?

As always, any and all help is greatly appreciated.

Thank you in advance.

John

On Sun, 06 Jun 2004 02:01:36 GMT, Tony Toews <tt****@telusplanet.net> wrote:
ho**@hope.com wrote:
When you run the form it puts a list box up where you can select a person to email

What I want to do is select more than one person to email in the list box
So if in the list box I would select 4 email it would then put these in the
BCC box like fr**@fre.com,bi*@bill.com etc etc

OR if I selected ALL

it would put those in the BCC box


So what you really want is a multi-select list box and some code to pull out all the
email addresses you have selected placing them in a string with commas between them.
Some code to start you off using the A97 help files.

The following example prints the value of the bound column for each selected row in a
Names list box on a Contacts form. To try this example, create the list box and set
its BoundColumn property as desired and its MultiSelect property to Simple or
Extended. Switch to Form view, select several rows in the list box, and run the
following code:

Sub BoundData()
Dim frm As Form, ctl As Control
Dim varItm As Variant

Set frm = Forms!Contacts
Set ctl = frm!Names
For Each varItm In ctl.ItemsSelected
Debug.Print ctl.ItemData(varItm)
Next varItm
End Sub

Tony


Nov 13 '05 #5

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

Similar topics

0
by: ifeoma | last post by:
I have a script which sends emails through Access. It sends these emails as if it was sent through Outlook. I had no problem with this using Office 2000 but with the newer Outlook 2002 it asks if I...
2
by: Bob | last post by:
Hi Everybody A tough one!!! Is there any way that incoming eMails (MailItems) into Ms Outlook can be used to automatically create records in a ms Access table or sub table. Smiley Bob
4
by: PitchBlackSheep | last post by:
I have an office of Real Estate agents who use our (single) Access 2000 database to keep track of clients. Our agents email our clients everyday using Outlook 2000. I'm trying to find a way to...
3
by: Wizard | last post by:
In Access, using VBA, I am sending emails based on query results. These email include relevant information to a scheduled event the recipient is assigned to. This is working great. What I have...
5
by: horsetransport | last post by:
Hello, Below is what I "Know how to do" but it doesn't accomplish what I want I have table called sndmail fields that matter useremail and mailsent
1
by: PhilD | last post by:
My C#.NET console app checks a public folder every 24 hours for incoming emails. For each unread email in the folder, it copies any attachments to the network, then loads the contents of these files...
16
by: Kosmos | last post by:
Good afternoon everyone, just wondering if anyone knew if it's possible to send meetings or appointments through email when you run VBA or SQL code in Access 2003? The following is the code I've been...
2
by: Jodye Roebuck | last post by:
I have a program that's been automatically generating and sending emails flawlessly. My clients workstation had an automatic Microsoft security update done on it.. and now it's bombing on this...
7
by: mlevit | last post by:
Hi, I send out emails through MS Access via SendObject. I would like to know if there is a way of getting rid of the Outlook Security Popup that comes up every time an email is about to be sent. ...
0
by: =?Utf-8?B?Q2hhcmxlcw==?= | last post by:
Like many people, I normally use Yahoo! Mail via the web and like to keep all my emails stored on the Yahoo! server. However sometimes I can’t get access to a PC/the web and I download my emails...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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,...
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.