473,659 Members | 2,929 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ASP emailing problem

Ive developed a web based system where somebody can add a news record using
ASP and MS Access database connectivity. The new record is inserted into the
database and then a formatted email gets send to a list of about 30 email
addresses using CDONTS.

My emailing ASP script works by looping through a recordset containing the
email addresses, the text gets formatted, and then it sends, then moves onto
the next recipient etc etc ...

I have had reports that on occassion, emails arent being recieved. But the
record has been inserted into the database table.

Is it best to loop through recipients and send individually or is it best
practise to BCC every recipient?

Im just guessing this is the problem as I cant find any errors in the SMTP
log and there is no bad or queued mail etc.

Any help or thoughts would be appreciated.

Thanks.

Paul.

--
Bin the qq's and zz's to email me
Jul 19 '05 #1
2 1906
That some of your recipients aren't getting their emails isn't necessarily
an indication that your script isn't working. If most are receiving fine
and no errors are being generated, then I would look to the email addresses
that are failing and verify whether or not they're correct.
--
William Morris
Product Development, Seritas LLC

"Paul Hudson" <ph@zzcenturian qq.net> wrote in message
news:it******** **********@news fep4-glfd.server.ntl i.net...
Ive developed a web based system where somebody can add a news record using ASP and MS Access database connectivity. The new record is inserted into the database and then a formatted email gets send to a list of about 30 email
addresses using CDONTS.

My emailing ASP script works by looping through a recordset containing the
email addresses, the text gets formatted, and then it sends, then moves onto the next recipient etc etc ...

I have had reports that on occassion, emails arent being recieved. But the
record has been inserted into the database table.

Is it best to loop through recipients and send individually or is it best
practise to BCC every recipient?

Im just guessing this is the problem as I cant find any errors in the SMTP
log and there is no bad or queued mail etc.

Any help or thoughts would be appreciated.

Thanks.

Paul.

--
Bin the qq's and zz's to email me

Jul 19 '05 #2
"Paul Hudson" <ph@zzcenturian qq.net> wrote in message
news:it******** **********@news fep4-glfd.server.ntl i.net...
Ive developed a web based system where somebody can add a news record using ASP and MS Access database connectivity. The new record is inserted into the database and then a formatted email gets send to a list of about 30 email
addresses using CDONTS.

My emailing ASP script works by looping through a recordset containing the
email addresses, the text gets formatted, and then it sends, then moves onto the next recipient etc etc ...

I have had reports that on occassion, emails arent being recieved. But the
record has been inserted into the database table.

Is it best to loop through recipients and send individually or is it best
practise to BCC every recipient?

Im just guessing this is the problem as I cant find any errors in the SMTP
log and there is no bad or queued mail etc.

IME CDONTS is unreliable. I suggest you use an smtp component e.g aspemail
(www.aspemail.com) instead.
--
John Blessing

http://www.LbeHelpdesk.com - Help Desk software priced to suit all
businesses
http://www.free-helpdesk.com - Completely free help desk software !
http://www.lbetoolbox.com - Remove Duplicates from MS Outlook
Jul 19 '05 #3

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

Similar topics

0
1368
by: Steven Scaife | last post by:
There seems to be a problem with my emailing code, although during testing it worked fine. What happens is it sends two emails instead of one, and also doesn't put any text in the email for some addresses. Its sent as plain text and as i said when i tested it to 6 email addresses it worked fine. my code is below <%@LANGUAGE="VBSCRIPT"%>
1
341
by: Bob-O | last post by:
Need your help in sending an email message with an attachment in my VB.Net program. Sending a body message is no problem. I don't know how to use the attachment property in an emai Following is an excerpt from the program Imports System.Web.Mai Imports System.Web.HttpServerUtilit Imports System.Diagnostics Public Class Emailin Inherits System.Web.UI Pag
1
1788
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 background task instead of user need to wait and wait until all email sent. Also, when user waiting to complete the emailing list, the page is blank and nothing, can we put a layout when user waiting a request.
2
1501
by: Wayne | last post by:
I am experiencing an intermittent problem when emailing snapshot reports using Sendobject. Outlook opens with the snapshot of the report attached but when I click the "Send" button on the Outlook toolbar it only works intermittently ie. sometimes the email is sent and others nothing happens. Using File/Send on the Outlook menu bar also works intermittently. However if I use the keyboard shortcut: Ctrl + Enter it works every time and the...
3
3031
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 App_Start handler to see if I could get emailed at all even from the first request of the app, but to no avail. Could someone please help me out? Thanks a lot! --Thiago Web developer AgniTEK
4
1650
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 currently for our client/server apps.
0
1067
by: Mike Grace | last post by:
Hi, I am writing a web site which sends order confirmations to users via email. Two changes that are needed are as follows: 1) PDF files are going to be attached to the email. It could be one, it could be 20! I have written the code to attach any number of PDF files to the
5
4903
by: Shaan | last post by:
Hi Everybody, I am incorporating emailing feature in my VB.Net application. The code is as below. When I send email to some XYZ@buffalo.edu, it sends the email successfully, but when I send it to someone@hotmail.com, it gives the error message "Err: 553, Domain isn't in my list of allowed rcpthost" . Can you pls throw some light on this.. and give me solution..thanx in advance.
1
3263
by: =?Utf-8?B?U2FpIFZhamph?= | last post by:
Hi I am trying to send a .pdf document as an email attachment using net.mail. This email is being sent by a windows service application. After i receive the email, and when i try to open the attachment, i get the following error message... "adobe reader could not open <filenamebecuase it is either not a suppported file type or because the file has been damaged(for example, it was sent as an email attachment and wasn't correctly...
0
8428
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, 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...
0
8339
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8851
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, 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...
0
8751
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 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...
0
8629
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 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...
0
4176
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...
1
2757
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1982
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1739
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.