Thursday, March 22, 2012

Opinions: Timed bulk email via ASP.NET

Hi, I have a client who wants to have a remind me later feature on their
website.

Basically, people can say "Send me an email at a later date to remind me
about this website"
They then enter their name/ email and choose the day they would like to be
reminded on, pretty simple stuff.

Now, in the old days, I would have placed all this information into an SQL
database and then using a scheduled DTS package I would send emails calling
xp_smtp_sendmail or something similiar..

I am always open to new ideas so if anyone has any better ways to do things
I am all ears :)
TIA
MarkYou could use a standard EXE launched from the Windows Task Manager.
Or you could use a Windows Service.

Here's more info on Windows Services:
http://msdn.microsoft.com/library/d...pplications.asp

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net

"Mark" <mark@.Z-Zvolution.nZt> wrote in message
news:eP9lXBinFHA.320@.TK2MSFTNGP09.phx.gbl...
> Hi, I have a client who wants to have a remind me later feature on their
> website.
> Basically, people can say "Send me an email at a later date to remind me
> about this website"
> They then enter their name/ email and choose the day they would like to be
> reminded on, pretty simple stuff.
> Now, in the old days, I would have placed all this information into an SQL
> database and then using a scheduled DTS package I would send emails
> calling
> xp_smtp_sendmail or something similiar..
> I am always open to new ideas so if anyone has any better ways to do
> things
> I am all ears :)
> TIA
> Mark
Hi Steve, thanks. Sorry, I should have been more clear, ths is for a website
using shared hosting so I do not have access to creating a Windows service.

Thanks again
Mark
"Steve C. Orr [MVP, MCSD]" <Steve@.Orr.net> wrote in message
news:uRopbsinFHA.3092@.TK2MSFTNGP10.phx.gbl...
> You could use a standard EXE launched from the Windows Task Manager.
> Or you could use a Windows Service.
> Here's more info on Windows Services:
http://msdn.microsoft.com/library/d...-us/vbcon/html/
vbconintroductiontontserviceapplications.asp
> --
> I hope this helps,
> Steve C. Orr, MCSD, MVP
> http://SteveOrr.net
>
> "Mark" <mark@.Z-Zvolution.nZt> wrote in message
> news:eP9lXBinFHA.320@.TK2MSFTNGP09.phx.gbl...
> > Hi, I have a client who wants to have a remind me later feature on their
> > website.
> > Basically, people can say "Send me an email at a later date to remind me
> > about this website"
> > They then enter their name/ email and choose the day they would like to
be
> > reminded on, pretty simple stuff.
> > Now, in the old days, I would have placed all this information into an
SQL
> > database and then using a scheduled DTS package I would send emails
> > calling
> > xp_smtp_sendmail or something similiar..
> > I am always open to new ideas so if anyone has any better ways to do
> > things
> > I am all ears :)
> > TIA
> > Mark
"Mark" <mark@.Z-Zvolution.nZt> wrote in
news:OdbU#2jnFHA.1968@.TK2MSFTNGP14.phx.gbl:

> Hi Steve, thanks. Sorry, I should have been more clear, ths is for a
> website using shared hosting so I do not have access to creating a
> Windows service.

ASP.NET is not designed to handled scheduled events, but with a bit of
hacking you can do so:

How to Keep ASP.NET apps alive:
http://authors.aspalliance.com/paul...Articles/?id=12

And I think it needs a slight fix:
http://weblogs.asp.net/ashben/archi...0/11/31579.aspx

Maybe these will help you out?

--
Lucas Tam (REMOVEnntp@.rogers.com)
Please delete "REMOVE" from the e-mail address when replying.
http://members.ebay.com/aboutme/coolspot18/
"Mark" <mark@.Z-Zvolution.nZt> wrote in message
news:OdbU%232jnFHA.1968@.TK2MSFTNGP14.phx.gbl...

> Hi Steve, thanks. Sorry, I should have been more clear, ths is for a
> website
> using shared hosting so I do not have access to creating a Windows
> service.

I have the same situation with the current arrangement I have with my ISP so
I didn't really have much option other than to use the SQL route.

However, if the site really takes off, I'll upgrade to a dedicated server,
whereupon I'll almost certainly go the Windows service route.
Thanks everyone for your help
Cheers
Mark
"Mark Rae" <mark@.mark-N-O-S-P-A-M-rae.co.uk> wrote in message
news:#RtTBcknFHA.3568@.TK2MSFTNGP10.phx.gbl...
> "Mark" <mark@.Z-Zvolution.nZt> wrote in message
> news:OdbU%232jnFHA.1968@.TK2MSFTNGP14.phx.gbl...
> > Hi Steve, thanks. Sorry, I should have been more clear, ths is for a
> > website
> > using shared hosting so I do not have access to creating a Windows
> > service.
> I have the same situation with the current arrangement I have with my ISP
so
> I didn't really have much option other than to use the SQL route.
> However, if the site really takes off, I'll upgrade to a dedicated server,
> whereupon I'll almost certainly go the Windows service route.

0 comments:

Post a Comment