A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

E-mailing using E-mail recipients in Access Table



 
 
Thread Tools Display Modes
  #1  
Old July 11th, 2004, 12:00 AM
Dave Davies
external usenet poster
 
Posts: n/a
Default E-mailing using E-mail recipients in Access Table

I have a database which will check for certain conditions and e-mail recipients if certain criteria is met. This works fine, however I need to create a mailing list to be stored as a table within Access.

I currently use the 'Sendobject' in a macro to send e-mails to addresses listed in my Outlook address book. I now need to store and create a distribution list of recipients in a table within Access rather than using my Outlook addressbook.

Please can anyone advise how to set the 'To' option in Sendobject to use the list of recipients stored in the address table rather than trying to use the outlook addessbook.

If there is a better way of e-mailing than using the 'Sendobject' command and can be done without installing third party software, this is also an option I could look into.

Many thanks in advance.
Dave
  #2  
Old July 11th, 2004, 12:50 AM
Tony Toews
external usenet poster
 
Posts: n/a
Default E-mailing using E-mail recipients in Access Table

"Dave Davies" Dave wrote:

I have a database which will check for certain conditions and e-mail recipients if certain criteria is met. This works fine, however I need to create a mailing list to be stored as a table within Access.

I currently use the 'Sendobject' in a macro to send e-mails to addresses listed in my Outlook address book. I now need to store and create a distribution list of recipients in a table within Access rather than using my Outlook addressbook.

Please can anyone advise how to set the 'To' option in Sendobject to use the list of recipients stored in the address table rather than trying to use the outlook addessbook.


You will need to use VBA code to run through a recordset either:
1) concatenating the email addresses to a string along with a comma,
sem-colon or other appropriate separator and then send one email with
all the bcc addresses;
2) individually send the emails.

Your method of sending emails may have some restrictions as to the
number of email addresses in the bcc field or the length of data in
that field.

For sample recordset logic see
http://www.granite.ab.ca/access/email/recordsetloop.htm

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
  #3  
Old July 11th, 2004, 12:50 AM
Tony Toews
external usenet poster
 
Posts: n/a
Default E-mailing using E-mail recipients in Access Table

"Dave Davies" Dave wrote:

I have a database which will check for certain conditions and e-mail recipients if certain criteria is met. This works fine, however I need to create a mailing list to be stored as a table within Access.

I currently use the 'Sendobject' in a macro to send e-mails to addresses listed in my Outlook address book. I now need to store and create a distribution list of recipients in a table within Access rather than using my Outlook addressbook.

Please can anyone advise how to set the 'To' option in Sendobject to use the list of recipients stored in the address table rather than trying to use the outlook addessbook.


You will need to use VBA code to run through a recordset either:
1) concatenating the email addresses to a string along with a comma,
sem-colon or other appropriate separator and then send one email with
all the bcc addresses;
2) individually send the emails.

Your method of sending emails may have some restrictions as to the
number of email addresses in the bcc field or the length of data in
that field.

For sample recordset logic see
http://www.granite.ab.ca/access/email/recordsetloop.htm

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
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Word-Excel 2003 - Mail Merge Recipients problem Gabbi Mailmerge 4 January 11th, 2005 04:11 AM
Bcc John General Discussion 10 July 8th, 2004 02:41 PM
Newbie? Do I use Report or Query John Egan New Users 11 June 28th, 2004 08:31 PM
COMPARE THE TWO TABLES Stefanie General Discussion 0 June 4th, 2004 04:36 PM
Mail Merge Recipients Problem Robert J Mailmerge 1 May 12th, 2004 09:20 AM


All times are GMT +1. The time now is 10:56 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.