473,473 Members | 1,895 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Mass Emailing

34 New Member
I am curently trying to find a way of sending out mass emails from access. I have located VBA for generating emails directly into outlook but I have to click send on each one. Is there a way so the emails will automatically be sent?
Oct 1 '07 #1
2 1558
Jim Doherty
897 Recognized Expert Contributor
I am curently trying to find a way of sending out mass emails from access. I have located VBA for generating emails directly into outlook but I have to click send on each one. Is there a way so the emails will automatically be sent?
Since security issues were tightened with installed service packs the word 'automatically' means 'not so automatically' nowadays if you are using 'Outlook'. (You will find a security prompt for the send process unless your send method uses 'redemption' in outlook or other third party workarounds to get round this horribly intrusive behaviour )

If you choose however to use the windows CDO library reference to send emails outside the curtilage of outlook in other words directly to an SMTP server you will not receive prompts

The generics for sending mass emails are simple enough in that you grab all of the emails addresses as a 'single string' separating them with a semi colon and then use the string value in the recipients section of the mail message in code.

The usual method for grabbing email addresses is to loop through a recordset in code and concatenate the value of each email address to one another separating them with a semi colon. You then use this string in the sendto/recipients section of vba code. It might also wish to look at validating/resolving each email address in the recordset to prevent you receiving replies back 'not found' etc (particularly if the email addresses from any recordset has been manually input to a table ie subject to typos and not derived from a fixed point server like exchange where valid email addresses should exist already)

Look at methods of looping through recordsets and if you get stuck for the code come back. There are numerous examples on here how to do this if you search the forum.

I replied recently to a thread for someone and even created a small db demonstrating how to do it surrounding their requirement. If you would like the demo db then PM me your mail address and I'll send you a copy.


Regards

Jim
Oct 1 '07 #2
n8kindt
221 New Member
Since security issues were tightened with installed service packs the word 'automatically' means 'not so automatically' nowadays if you are using 'Outlook'. (You will find a security prompt for the send process unless your send method uses 'redemption' in outlook or other third party workarounds to get round this horribly intrusive behaviour )

If you choose however to use the windows CDO library reference to send emails outside the curtilage of outlook in other words directly to an SMTP server you will not receive prompts

The generics for sending mass emails are simple enough in that you grab all of the emails addresses as a 'single string' separating them with a semi colon and then use the string value in the recipients section of the mail message in code.

The usual method for grabbing email addresses is to loop through a recordset in code and concatenate the value of each email address to one another separating them with a semi colon. You then use this string in the sendto/recipients section of vba code. It might also wish to look at validating/resolving each email address in the recordset to prevent you receiving replies back 'not found' etc (particularly if the email addresses from any recordset has been manually input to a table ie subject to typos and not derived from a fixed point server like exchange where valid email addresses should exist already)

Look at methods of looping through recordsets and if you get stuck for the code come back. There are numerous examples on here how to do this if you search the forum.

I replied recently to a thread for someone and even created a small db demonstrating how to do it surrounding their requirement. If you would like the demo db then PM me your mail address and I'll send you a copy.


Regards

Jim
jim,

i know this has been a while since u posted this, but i would be interested in the demo database if you still have that handy. i tried pm'ing you but was unable to do so... if you could please pm me so i could send u my email address, i would really appreciate your helping me out.

very much appreciated,

nate
Apr 23 '08 #3

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

Similar topics

3
by: Pilu | last post by:
Hi, I have to send a newsletter to more then 8000 address! What is the best way to do it? sending all together?, with mail() function?, with smtp?, divided in groups....??? tnx so much!
3
by: somaboy mx | last post by:
I'm putting together a mass mailing application for sending out newsletters from a site admin area (no spam). I'm wondering how I can automate the removal of bounced addresses in this...
1
by: Stanley Cheung | last post by:
Hi all, I am developing the application for send emailing list, actually, i can perform to send a email 1 by 1 and do it on aspx page. I have a enquiry that how can the application change to...
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: Gil \(Asp.net Developer\) | last post by:
4
by: Mike Moore | last post by:
What is the best way to launch outlook from an asp.net web page? Can you do this using MAPI or is there a control that you can purchase? We are unable to use SMTP. We use MS Exhange and MAPI...
3
by: cordial_camaraderie | last post by:
I need to send 30,000 emails to our NewsLetter Subscriber, I tried to use our hosting Site and for the worst part We we banned and our site was stopped. I am using PHP script, mail() function to...
2
by: Bob Alston | last post by:
I am looking for suggestions for software or access code or utilities to assist in doing mass emailings from an Access database. The emailings would likely be a few thousand at a time. Generally...
11
by: PokerMan | last post by:
I need to email my client database of emails, but doing this is just too slow: ...pseud code while(have emails) { //fetch email //preinitialised smtpclient object with host and message used...
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
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...
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.