Hi all,
Ok - at work (NHS) we currently send out emails to everyone in the Trust
(approx 2500 people) whenever there's something to say, perhaps a D&V update
to let people know which wards are closed or remain closed etc...we've
finally managed to get the people in power to see sense and rather than spam
everyone we are going to operate a subscription based application for
various subjects.
Each subject will have an administrator who will log in to the app and
submit the subject and body text, set the importance etc and then the app
will initially save this to SQL Server and then email everyone in the
database who has subscribed to this notification.
I've looked at this from several angles - I want the best performance, and
also the best functionality.
Initially my plan was to have the app run off to a stored procedure to send
the emails using xp_sendmail - but having tried that today all of the email
arrive 'from' SQLAdmin - I've looked at ways to change this but cant seem
to - I'd prefer to be able to configure the 'from' and 'reply-to' fields if
possible.
Therefore I looked back at ASP for this, using CDO, of course this means
iterating through potentially a huge recordset and sending an email to each
(worst case 2500)..
I've put a test of this together this afternoon and have it sending a 500
character notification to my email address - the following are the results :
emails sent time
5 <1 second
10 1 seconds
25 2 seconds
50 2 seconds
100 6 seconds
500 29 seconds
1000 58 seconds
I have managed (thanks to ASPFAQ) to have an animated gif on the screen
showing that something is happening with text telling the user not to click
back/stop/refresh etc etc for fear of resending.
Ordinarily I would hate for a web app to have one page effectively waiting
for 1 minute before doing something, but without using the stored procedure
method to do this I do not see how I will be able to.
So, if anyone has any thoughts or suggestions to a better solution than the
above, or any other comments I would like to hear from you :o)
We do have the ability to install 3rd part components, however we currently
lack the resources funding wise to pay for them, so unless they are free and
very secure they are not likely to be used.
Thanks in advance for reading and any help/suggestions you might have.
Regards
Rob 7 2445
Are these recipients internal and/or do you run Exchange? You can setup a
multi-recipient distribution list in Exchange and just send out the one
e-mail. Or, although I imagine you already thought of this and ruled it out
for some reason, you can send one e-mail to a bogus address and BCC all your
2500 recipients. (Or just address it to all of them.) Is there a reason
that all of the e-mails need to be separate?
Ray at work
"Rob Meade" <ro**********@N OSPAMubht.swest .nhs.uk> wrote in message
news:eV******** ******@TK2MSFTN GP12.phx.gbl... Hi all,
Ok - at work (NHS) we currently send out emails to everyone in the Trust (approx 2500 people) whenever there's something to say, perhaps a D&V
update to let people know which wards are closed or remain closed etc...we've finally managed to get the people in power to see sense and rather than
spam everyone we are going to operate a subscription based application for various subjects.
Each subject will have an administrator who will log in to the app and submit the subject and body text, set the importance etc and then the app will initially save this to SQL Server and then email everyone in the database who has subscribed to this notification.
I've looked at this from several angles - I want the best performance, and also the best functionality.
Initially my plan was to have the app run off to a stored procedure to
send the emails using xp_sendmail - but having tried that today all of the
email arrive 'from' SQLAdmin - I've looked at ways to change this but cant seem to - I'd prefer to be able to configure the 'from' and 'reply-to' fields
if possible.
Therefore I looked back at ASP for this, using CDO, of course this means iterating through potentially a huge recordset and sending an email to
each (worst case 2500)..
I've put a test of this together this afternoon and have it sending a 500 character notification to my email address - the following are the results
: emails sent time 5 <1 second 10 1 seconds 25 2 seconds 50 2 seconds 100 6 seconds 500 29 seconds 1000 58 seconds
I have managed (thanks to ASPFAQ) to have an animated gif on the screen showing that something is happening with text telling the user not to
click back/stop/refresh etc etc for fear of resending.
Ordinarily I would hate for a web app to have one page effectively waiting for 1 minute before doing something, but without using the stored
procedure method to do this I do not see how I will be able to.
So, if anyone has any thoughts or suggestions to a better solution than
the above, or any other comments I would like to hear from you :o)
We do have the ability to install 3rd part components, however we
currently lack the resources funding wise to pay for them, so unless they are free
and very secure they are not likely to be used.
Thanks in advance for reading and any help/suggestions you might have.
Regards
Rob
Why not save this information to SQL Server, and let SQL Server send the
e-mail? Then the user doesn't have to wait for it. Initially my plan was to have the app run off to a stored procedure to
send the emails using xp_sendmail - but having tried that today all of the
email arrive 'from' SQLAdmin - I've looked at ways to change this but cant seem to - I'd prefer to be able to configure the 'from' and 'reply-to' fields
if possible.
You need xp_smtp_sendmai l, see http://www.aspfaq.com/2403
"Ray at <%=sLocation% >" wrote ... Are these recipients internal and/or do you run Exchange?
Bit of an odd one to answer Ray, initially the project is 'internal' - so it
would be people on our domain etc, however - we also have whats known as
AvonWeb which lives on the NHS network, so other users would need to be able
to use it, subscriptions will allow for email extensions of .nhs or
..nhs.uk - they will not be able to send emails outside of this (hotmail etc)
You can setup a multi-recipient distribution list in Exchange and just
send out the one e-mail.
Aye, but the people on the list could change frequently, and it would need
to be manipulated via ASP - not sure if you can do that - its not something
I've tried before?
Or, although I imagine you already thought of this and ruled it out for some reason, you can send one e-mail to a bogus address and BCC all
your 2500 recipients.
Aye, I looked at the BCC, but I remember a colleague mentioned that it
wasn't impossible to see the other emails address from an email sent using
the BCC, although I've never checked this myself (wouldn't know if I'd
received a BCC or not :o) )..
(Or just address it to all of them.) Is there a reason that all of the
e-mails need to be separate?
As the user has subscribed, as with most applications I've written I like to
personalise the emails that they receive (an example of this is one of our
applications which sends the user an email when their accounts is unlocked -
its a little too friendly - we get loads of people replying to it because
they think a 'nice' person as sent it! :oD)...so the emails would start,
Dear Ray,
etc
Also, I'd rather not list the 2500 emails addresses in the To field - we
have a few numptiese here, and one of them are sure to hit ReplyToAll - hehe
:)
Cheers for the reply Ray,
Regards
Rob
"Foo Man Chew" wrote ... Why not save this information to SQL Server, and let SQL Server send the e-mail? Then the user doesn't have to wait for it.
This is what I would prefer to do believe me, but I need to be able to make
it look like its comes from the application not SQLAdmin, and also change
the reply-to address so that if anyone does reply to it it gets sent to our
team to deal with it rather than to a server where it'll get ignored..
You need xp_smtp_sendmai l, see http://www.aspfaq.com/2403
Always an irony when I post asking for help, then find something that looks
promising then see a reply about the same thing - hehe - many thanks :)
I stumbled across this earlier today, and also the article on ASP FAQ so
I'll be giving that a try in the morning...
Cheers for the reply...
Regards
Rob
A third party solution may be best. But if you want to do it all in VBS,
use a .vbs file and set it up to run with the task scheduler.
Ray at work
"Rob Meade" <ro**********@N OSPAMubht.swest .nhs.uk> wrote in message
news:e%******** ********@TK2MSF TNGP11.phx.gbl. .. "Ray at <%=sLocation% >" wrote ...
Are these recipients internal and/or do you run Exchange? Bit of an odd one to answer Ray, initially the project is 'internal' - so
it would be people on our domain etc, however - we also have whats known as AvonWeb which lives on the NHS network, so other users would need to be
able to use it, subscriptions will allow for email extensions of .nhs or .nhs.uk - they will not be able to send emails outside of this (hotmail
etc) You can setup a multi-recipient distribution list in Exchange and just send out the one e-mail.
Aye, but the people on the list could change frequently, and it would need to be manipulated via ASP - not sure if you can do that - its not
something I've tried before?
Or, although I imagine you already thought of this and ruled it out for some reason, you can send one e-mail to a bogus address and BCC all your 2500 recipients.
Aye, I looked at the BCC, but I remember a colleague mentioned that it wasn't impossible to see the other emails address from an email sent using the BCC, although I've never checked this myself (wouldn't know if I'd received a BCC or not :o) )..
(Or just address it to all of them.) Is there a reason that all of the e-mails need to be separate?
As the user has subscribed, as with most applications I've written I like
to personalise the emails that they receive (an example of this is one of our applications which sends the user an email when their accounts is
unlocked - its a little too friendly - we get loads of people replying to it because they think a 'nice' person as sent it! :oD)...so the emails would start,
Dear Ray,
etc
Also, I'd rather not list the 2500 emails addresses in the To field - we have a few numptiese here, and one of them are sure to hit ReplyToAll -
hehe :)
Cheers for the reply Ray,
Regards
Rob
how about
free http://scripts.ocean12tech.com/asp/mailinglist/ http://www.webwizguide.info/asp/samp...ist_script.asp http://www.planet-source-code.com/vb...=8399&lngWId=4
lists (not all free) http://www.scriptz.com/ASP/Mailing_List_Managers/ http://www.hotscripts.com/ASP/Script...List_Managers/ http://devscripts.com/category.php?stId=518
regards
paul
"Rob Meade" <ro**********@N OSPAMubht.swest .nhs.uk> wrote in message
news:eV******** ******@TK2MSFTN GP12.phx.gbl... Hi all,
Ok - at work (NHS) we currently send out emails to everyone in the Trust (approx 2500 people) whenever there's something to say, perhaps a D&V
update to let people know which wards are closed or remain closed etc...we've finally managed to get the people in power to see sense and rather than
spam everyone we are going to operate a subscription based application for various subjects.
Each subject will have an administrator who will log in to the app and submit the subject and body text, set the importance etc and then the app will initially save this to SQL Server and then email everyone in the database who has subscribed to this notification.
I've looked at this from several angles - I want the best performance, and also the best functionality.
Initially my plan was to have the app run off to a stored procedure to
send the emails using xp_sendmail - but having tried that today all of the
email arrive 'from' SQLAdmin - I've looked at ways to change this but cant seem to - I'd prefer to be able to configure the 'from' and 'reply-to' fields
if possible.
Therefore I looked back at ASP for this, using CDO, of course this means iterating through potentially a huge recordset and sending an email to
each (worst case 2500)..
I've put a test of this together this afternoon and have it sending a 500 character notification to my email address - the following are the results
: emails sent time 5 <1 second 10 1 seconds 25 2 seconds 50 2 seconds 100 6 seconds 500 29 seconds 1000 58 seconds
I have managed (thanks to ASPFAQ) to have an animated gif on the screen showing that something is happening with text telling the user not to
click back/stop/refresh etc etc for fear of resending.
Ordinarily I would hate for a web app to have one page effectively waiting for 1 minute before doing something, but without using the stored
procedure method to do this I do not see how I will be able to.
So, if anyone has any thoughts or suggestions to a better solution than
the above, or any other comments I would like to hear from you :o)
We do have the ability to install 3rd part components, however we
currently lack the resources funding wise to pay for them, so unless they are free
and very secure they are not likely to be used.
Thanks in advance for reading and any help/suggestions you might have.
Regards
Rob
Free SMTP control (available as .dll or .ocx, with sample applications, and
mailing list capability) www.ostrosoft.com
--
Regards
Steven Burn
Ur I.T. Mate Group www.it-mate.co.uk
Keeping it FREE!
Disclaimer:
I know I'm probably wrong, I just like taking part ;o)
Rob Meade <ro**********@N OSPAMubht.swest .nhs.uk> wrote in message
news:eV******** ******@TK2MSFTN GP12.phx.gbl... Hi all,
Ok - at work (NHS) we currently send out emails to everyone in the Trust (approx 2500 people) whenever there's something to say, perhaps a D&V
update to let people know which wards are closed or remain closed etc...we've finally managed to get the people in power to see sense and rather than
spam everyone we are going to operate a subscription based application for various subjects.
Each subject will have an administrator who will log in to the app and submit the subject and body text, set the importance etc and then the app will initially save this to SQL Server and then email everyone in the database who has subscribed to this notification.
I've looked at this from several angles - I want the best performance, and also the best functionality.
Initially my plan was to have the app run off to a stored procedure to
send the emails using xp_sendmail - but having tried that today all of the
email arrive 'from' SQLAdmin - I've looked at ways to change this but cant seem to - I'd prefer to be able to configure the 'from' and 'reply-to' fields
if possible.
Therefore I looked back at ASP for this, using CDO, of course this means iterating through potentially a huge recordset and sending an email to
each (worst case 2500)..
I've put a test of this together this afternoon and have it sending a 500 character notification to my email address - the following are the results
: emails sent time 5 <1 second 10 1 seconds 25 2 seconds 50 2 seconds 100 6 seconds 500 29 seconds 1000 58 seconds
I have managed (thanks to ASPFAQ) to have an animated gif on the screen showing that something is happening with text telling the user not to
click back/stop/refresh etc etc for fear of resending.
Ordinarily I would hate for a web app to have one page effectively waiting for 1 minute before doing something, but without using the stored
procedure method to do this I do not see how I will be able to.
So, if anyone has any thoughts or suggestions to a better solution than
the above, or any other comments I would like to hear from you :o)
We do have the ability to install 3rd part components, however we
currently lack the resources funding wise to pay for them, so unless they are free
and very secure they are not likely to be used.
Thanks in advance for reading and any help/suggestions you might have.
Regards
Rob
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Grady |
last post by:
Help.
I need to create a simple database that tracks equipment arrivals (and
departures) at my facility. What I want is to create a simple form,
which the receptionist could fill out, every time someone delivers
something at the front door. The form would simply have a place to put
the time/date, delivery method, addressee, and a brief description.
Once the receptionist filled it out and hit enter it would create a
new record and then...
|
by: antares686 |
last post by:
I am trying to figure out if this is possible and how as I have burnt my
brain out today.
I have an application that submits data to a SQL database and an email is
generated for notifications on a portion of that data. I would like to create
a web page that I can reference as a variable sorta like this
using namespace.templates;
Notification notEmail = new Notification();
|
by: Reidar |
last post by:
I am trying to send web email in vs2005, but haven't succeeded so far.
I found an example in C# to make a Console application.
The top of the code is
using System;
using System.Web.Mail;
I have added a reference System.Web.
When I run the code I get warnings saying that System.Web.MailMessage is
'obsolete'.
Alternative is System.Net.Mail.MailMessage
When I change the System.Web.Mail to System.Net.Mail, I can't find any
|
by: alanwo |
last post by:
Hi Experts,
I am trying to send out email and bounce back to different from "FROM"
email address:
Dim webmail As New System.Net.Mail.MailMessage("B@FROM.com",
"ghyddfhg@gmail.com", "hello", "return errors to")
'webmail.Headers.Add("Errors-To", "a1@a1.com")
'webmail.Headers.Add("X-Sender", "a1@a1.com")
webmail.Headers.Add("Sender", "a1@a1.com")
|
by: Kosmos |
last post by:
Alright so I've got this Outlook code written in VBA in Access. The first part, which works, records information about appointment times based on the required days before notification of certain contracts and then it adds them to the outlook calendar of the current user. This code works and is nested within a bunch of if statements because it only needs to trap certain appointments. The table I create with this code is later used to attempt to...
| |
by: rikerhill |
last post by:
I'm looking for help with JS-Kit's Comment script. They offer a free
script to add comments to any web page. It is as follows:
<script src="http://js-kit.com/comments.js"></script>
What I'm trying to do is add an email notification feature to this.
When any comment is posted, I want an email to kick out to my
specified email address containing the comment and the page it was
sent from. Does anyone have any suggestions? I'm a...
|
by: ganeshraju |
last post by:
Hi,
I need to send notification email on a specific change to a field in database table. I need to also track if the email was delivered or not. If the email is not delivered, it should be logged for a different process. Can someone please help me to architect an efficient design. IS it good to go with sql 2005 notification service? or a simple windows service component? It is .NET c# application. Please give an overview of architecture and...
|
by: ganeshraju |
last post by:
Hi,
I need to send notification email on a specific change to a field in database table. I need to also track if the email was delivered or not. If the email is not delivered, it should be logged for a different process. Can someone please help me to architect an efficient design. IS it good to go with sql 2005 notification service? or a simple windows service component? It is .NET c# application. Please give an overview of architecture and...
|
by: vsrprasad16 |
last post by:
Hi All,
I am implementing a notification form similar to outlook email notification.
my application call this notification form from a dll. this dll includes a form class and this dll has some object value to display the contents on form.
i am filling the form with the object before "form.show."
form has some timer to implement hide and fading.
my problem is when ever form is showing, the focus goes to form from current application(any)...
|
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...
|
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,...
| |
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...
|
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...
|
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
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 then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
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...
|
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
| |
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...
| |