Showing posts with label email. Show all posts
Showing posts with label email. Show all posts

Wednesday, March 28, 2012

The best way to send a large number of emails

I have around 100,000 email addresses I want to send an email to each of this customer.
What is the best way to send emails to these customers?

I appreciate any idea,suggestion or comment.

Thank youHello, maybe you can have a script that creates a datareader out of all the emails in ur database, and then you can make one field of the email which is the "To" and concate all the emails u have seperating them with either ";" or "," and then send that email, which will go to many many emails u have !!!!!
Well the problem with that is how do you set the timeout value? How long is that going to take - 5 minutes or an hour or 3 hours to send 100,000 e-mails? Your asp.net page will time out if you don't set the timeout value extremely high.

I think he knows "how" to send e-mails, but wants to know what approach to use when sending volumes of email. And also, you don't want to put all the names in the TO field, you'd want to use BCC.
Hi,
For both of you here is how to set server time out:

The following example sets the request time-out period to 60 seconds.

[Visual Basic]
Server.ScriptTimeout = 60

[C#]
Server.ScriptTimeout = 60;

[C++]
Server->ScriptTimeout = 60;

[JScript]
Server.ScriptTimeout = 60
you can place it anywhere i ur page_load method.

good luck
You might want to make this a desktop app or a service instead. I would go with a desktop app, as you can create a simple GUI that will at least give you feedback as to at which section your code is at so that you know it's working. Then you don't need to set any kind of timeout. Just start it up before you go to bed and it should be done by morning.

Is there any logical way you can "chunk" the data? Don't forget that DataSets are stored in memory and DataReaders stay connected while you spin through them.

Tuesday, March 13, 2012

The issue of Spam and Mail Servers and legitimate use

Hello,
I am currently hosting an asp.net site on a shared crystaltech server,
which involves sending email via their mail servers. The problem is
that most of crystal tech's mail servers have been marked as 'spam
servers', and therefore email sent to aol or yahoo accounts are
rejected. This is of course not acceptable for a commercial online app
that depends on email messages getting received by its users.
Is this the case with most mail servers online? Is there a way around
this? What is a web app developer to do, whose intentions is not to
spam, but whose app requires the legitimate use of mail servers?
Thank you for your time and help.
Regards,
Jimre:
> What is a web app developer to do, whose intentions is not to
> spam, but whose app requires the legitimate use of mail servers?
Either use your own smtp server or host at an ISP which is not blacklisted.
Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espaol : http://asp.net.do/foros/
===================================
<dejavue82@.yahoo.com> wrote in message news:1172951742.456367.83070@.j27g2000cwj.googlegroup
s.com...
> Hello,
> I am currently hosting an asp.net site on a shared crystaltech server,
> which involves sending email via their mail servers. The problem is
> that most of crystal tech's mail servers have been marked as 'spam
> servers', and therefore email sent to aol or yahoo accounts are
> rejected. This is of course not acceptable for a commercial online app
> that depends on email messages getting received by its users.
> Is this the case with most mail servers online? Is there a way around
> this? What is a web app developer to do, whose intentions is not to
> spam, but whose app requires the legitimate use of mail servers?
> Thank you for your time and help.
> Regards,
> Jim
>
On Mar 3, 3:08 pm, "Juan T. Llibre" <nomailrepl...@.nowhere.com> wrote:
> re:
>
> Either use your own smtp server or host at an ISP which is not blackliste=
d=2E
> Juan T. Llibre, asp.net MVP
> asp.net faq :http://asp.net.do/faq/
> foros de asp.net, en espa=F1ol :http://asp.net.do/foros/
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3Ddarkred">
>
> <dejavu...@.yahoo.com> wrote in messagenews:1172951742.456367.83070@.j27g20=
00cwj.googlegroups.com...
>
>
>
>
>
> - Show quoted text -
Hi Juan,
How does one go about finding this out about a given ISP? Is there a
list?
Thanks.
re:
!>How does one go about finding this out about a given ISP? Is there a list?
You can query any of several public services.
http://spamcop.net/bl.shtml
http://www.spamhaus.org/sbl/
Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espaol : http://asp.net.do/foros/
===================================
<dejavue82@.yahoo.com> wrote in message news:1172957501.514770.313190@.64g2000
cwx.googlegroups.com...
On Mar 3, 3:08 pm, "Juan T. Llibre" <nomailrepl...@.nowhere.com> wrote:
> re:
>
> Either use your own smtp server or host at an ISP which is not blacklisted
.
> Juan T. Llibre, asp.net MVP
> asp.net faq :http://asp.net.do/faq/
> foros de asp.net, en espaol :http://asp.net.do/foros/
> ===================================
>
> <dejavu...@.yahoo.com> wrote in messagenews:1172951742.456367.83070@.j27g200
0cwj.googlegroups.com...
>
>
>
>
>
> - Show quoted text -
Hi Juan,
How does one go about finding this out about a given ISP? Is there a
list?
Thanks.
If your hosting company is on a blacklist for mail spamming then you should
"only" think about finding a reputable hosting company and dumping them
ASAP. You get blacklisted for allowing hosters to send out spam and doing
nothing about it - this type of company are usually very unreliable and you
should expect problems with support down the line as they are usually only
interested in getting money in and dont normally give two hoots when
problems arise.
Regards
John Timney (MVP)
http://www.johntimney.com
http://www.johntimney.com/blog
"Juan T. Llibre" <nomailreplies@.nowhere.com> wrote in message
news:ODFrs7dXHHA.4232@.TK2MSFTNGP05.phx.gbl...
> re:
> !>How does one go about finding this out about a given ISP? Is there a
> list?
> You can query any of several public services.
> http://spamcop.net/bl.shtml
> http://www.spamhaus.org/sbl/
>
>
> Juan T. Llibre, asp.net MVP
> asp.net faq : http://asp.net.do/faq/
> foros de asp.net, en espaol : http://asp.net.do/foros/
> ===================================
> <dejavue82@.yahoo.com> wrote in message
> news:1172957501.514770.313190@.64g2000cwx.googlegroups.com...
> On Mar 3, 3:08 pm, "Juan T. Llibre" <nomailrepl...@.nowhere.com> wrote:
>
> Hi Juan,
> How does one go about finding this out about a given ISP? Is there a
> list?
> Thanks.
>
>
Hi John,
That makes sense, however, except for this spamming issue,
CrystalTech has been a pretty good host and answers questions very
promptly. That's why I was a bit surprised when this problem came up.
btw, the address of my current mail server is
maila62.webcontrolcenter.com
On the other hand, I'm not sure how an ISP could prevent a user from
using their mail servers to spam. And when a company like yahoo or aol
blacklists them, it's already too late.
Maybe you should look for another reason why your mails are bouncing as spam
.
That mail server has the IP 216.119.106.40
and neither Spamhaus nor Spamcop list it..
http://www.spamhaus.org/query/bl?ip=216.119.106.40
http://spamcop.net/sc?track=216.119.106.40
Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espaol : http://asp.net.do/foros/
===================================
<dejavue82@.yahoo.com> wrote in message news:1172964192.977930.117000@.s48g2000cws.googlegrou
ps.com...
> btw, the address of my current mail server is

> maila62.webcontrolcenter.com
well even the ISP I use has been blacklisted before, but credible companies
manage to get themselves removed within a couple of hours and respond to the
issue that caused them to be blacklisted. Spamhause etc. have procedures in
place to get your company removed. If your ISP are good (and I personally
cant comment on them) then you should ask them what the problem is and how
they intend to deal with it.
It may be as Juan suggested that there is a different reason why your mails
are being rejected.
--
Regards
John Timney (MVP)
http://www.johntimney.com
http://www.johntimney.com/blog
<dejavue82@.yahoo.com> wrote in message
news:1172964908.346649.249780@.j27g2000cwj.googlegroups.com...
> On the other hand, I'm not sure how an ISP could prevent a user from
> using their mail servers to spam. And when a company like yahoo or aol
> blacklists them, it's already too late.
>

The issue of Spam and Mail Servers and legitimate use

Hello,

I am currently hosting an asp.net site on a shared crystaltech server,
which involves sending email via their mail servers. The problem is
that most of crystal tech's mail servers have been marked as 'spam
servers', and therefore email sent to aol or yahoo accounts are
rejected. This is of course not acceptable for a commercial online app
that depends on email messages getting received by its users.

Is this the case with most mail servers online? Is there a way around
this? What is a web app developer to do, whose intentions is not to
spam, but whose app requires the legitimate use of mail servers?

Thank you for your time and help.

Regards,

Jimre:

Quote:

Originally Posted by

What is a web app developer to do, whose intentions is not to
spam, but whose app requires the legitimate use of mail servers?


Either use your own smtp server or host at an ISP which is not blacklisted.

Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espaol : http://asp.net.do/foros/
===================================
<dejavue82@.yahoo.comwrote in message news:1172951742.456367.83070@.j27g2000cwj.googlegro ups.com...

Quote:

Originally Posted by

Hello,
>
I am currently hosting an asp.net site on a shared crystaltech server,
which involves sending email via their mail servers. The problem is
that most of crystal tech's mail servers have been marked as 'spam
servers', and therefore email sent to aol or yahoo accounts are
rejected. This is of course not acceptable for a commercial online app
that depends on email messages getting received by its users.
>
Is this the case with most mail servers online? Is there a way around
this? What is a web app developer to do, whose intentions is not to
spam, but whose app requires the legitimate use of mail servers?
>
Thank you for your time and help.
>
Regards,
>
Jim
>


On Mar 3, 3:08 pm, "Juan T. Llibre" <nomailrepl...@.nowhere.comwrote:

Quote:

Originally Posted by

re:
>

Quote:

Originally Posted by

What is a web app developer to do, whose intentions is not to
spam, but whose app requires the legitimate use of mail servers?


>
Either use your own smtp server or host at an ISP which is not blacklisted.
>
Juan T. Llibre, asp.net MVP
asp.net faq :http://asp.net.do/faq/
foros de asp.net, en espaol :http://asp.net.do/foros/
===================================
>
>
>
<dejavu...@.yahoo.comwrote in messagenews:1172951742.456367.83070@.j27g2000cwj.go oglegroups.com...

Quote:

Originally Posted by

Hello,


>

Quote:

Originally Posted by

I am currently hosting an asp.net site on a shared crystaltech server,
which involves sending email via their mail servers. The problem is
that most of crystal tech's mail servers have been marked as 'spam
servers', and therefore email sent to aol or yahoo accounts are
rejected. This is of course not acceptable for a commercial online app
that depends on email messages getting received by its users.


>

Quote:

Originally Posted by

Is this the case with most mail servers online? Is there a way around
this? What is a web app developer to do, whose intentions is not to
spam, but whose app requires the legitimate use of mail servers?


>

Quote:

Originally Posted by

Thank you for your time and help.


>

Quote:

Originally Posted by

Regards,


>

Quote:

Originally Posted by

Jim- Hide quoted text -


>
- Show quoted text -


Hi Juan,

How does one go about finding this out about a given ISP? Is there a
list?

Thanks.
re:
!>How does one go about finding this out about a given ISP? Is there a list?

You can query any of several public services.

http://spamcop.net/bl.shtml
http://www.spamhaus.org/sbl/
Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espaol : http://asp.net.do/foros/
===================================
<dejavue82@.yahoo.comwrote in message news:1172957501.514770.313190@.64g2000cwx.googlegro ups.com...
On Mar 3, 3:08 pm, "Juan T. Llibre" <nomailrepl...@.nowhere.comwrote:

Quote:

Originally Posted by

re:
>

Quote:

Originally Posted by

What is a web app developer to do, whose intentions is not to
spam, but whose app requires the legitimate use of mail servers?


>
Either use your own smtp server or host at an ISP which is not blacklisted.
>
Juan T. Llibre, asp.net MVP
asp.net faq :http://asp.net.do/faq/
foros de asp.net, en espaol :http://asp.net.do/foros/
===================================
>
>
>
<dejavu...@.yahoo.comwrote in messagenews:1172951742.456367.83070@.j27g2000cwj.go oglegroups.com...

Quote:

Originally Posted by

Hello,


>

Quote:

Originally Posted by

I am currently hosting an asp.net site on a shared crystaltech server,
which involves sending email via their mail servers. The problem is
that most of crystal tech's mail servers have been marked as 'spam
servers', and therefore email sent to aol or yahoo accounts are
rejected. This is of course not acceptable for a commercial online app
that depends on email messages getting received by its users.


>

Quote:

Originally Posted by

Is this the case with most mail servers online? Is there a way around
this? What is a web app developer to do, whose intentions is not to
spam, but whose app requires the legitimate use of mail servers?


>

Quote:

Originally Posted by

Thank you for your time and help.


>

Quote:

Originally Posted by

Regards,


>

Quote:

Originally Posted by

Jim- Hide quoted text -


>
- Show quoted text -


Hi Juan,

How does one go about finding this out about a given ISP? Is there a
list?

Thanks.
If your hosting company is on a blacklist for mail spamming then you should
"only" think about finding a reputable hosting company and dumping them
ASAP. You get blacklisted for allowing hosters to send out spam and doing
nothing about it - this type of company are usually very unreliable and you
should expect problems with support down the line as they are usually only
interested in getting money in and dont normally give two hoots when
problems arise.

Regards

John Timney (MVP)
http://www.johntimney.com
http://www.johntimney.com/blog
"Juan T. Llibre" <nomailreplies@.nowhere.comwrote in message
news:ODFrs7dXHHA.4232@.TK2MSFTNGP05.phx.gbl...

Quote:

Originally Posted by

re:
!>How does one go about finding this out about a given ISP? Is there a
list?
>
You can query any of several public services.
>
http://spamcop.net/bl.shtml
>
http://www.spamhaus.org/sbl/
>
>
>
>
>
Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espaol : http://asp.net.do/foros/
===================================
<dejavue82@.yahoo.comwrote in message
news:1172957501.514770.313190@.64g2000cwx.googlegro ups.com...
On Mar 3, 3:08 pm, "Juan T. Llibre" <nomailrepl...@.nowhere.comwrote:

Quote:

Originally Posted by

>re:
>>

Quote:

Originally Posted by

What is a web app developer to do, whose intentions is not to
spam, but whose app requires the legitimate use of mail servers?


>>
>Either use your own smtp server or host at an ISP which is not
>blacklisted.
>>
>Juan T. Llibre, asp.net MVP
>asp.net faq :http://asp.net.do/faq/
>foros de asp.net, en espaol :http://asp.net.do/foros/
>===================================
>>
>>
>>
><dejavu...@.yahoo.comwrote in
>messagenews:1172951742.456367.83070@.j27g2000cwj.go oglegroups.com...

Quote:

Originally Posted by

Hello,


>>

Quote:

Originally Posted by

I am currently hosting an asp.net site on a shared crystaltech server,
which involves sending email via their mail servers. The problem is
that most of crystal tech's mail servers have been marked as 'spam
servers', and therefore email sent to aol or yahoo accounts are
rejected. This is of course not acceptable for a commercial online app
that depends on email messages getting received by its users.


>>

Quote:

Originally Posted by

Is this the case with most mail servers online? Is there a way around
this? What is a web app developer to do, whose intentions is not to
spam, but whose app requires the legitimate use of mail servers?


>>

Quote:

Originally Posted by

Thank you for your time and help.


>>

Quote:

Originally Posted by

Regards,


>>

Quote:

Originally Posted by

Jim- Hide quoted text -


>>
>- Show quoted text -


>
>
>
Hi Juan,
>
How does one go about finding this out about a given ISP? Is there a
list?
>
Thanks.
>
>
>


Hi John,

That makes sense, however, except for this spamming issue,
CrystalTech has been a pretty good host and answers questions very
promptly. That's why I was a bit surprised when this problem came up.
btw, the address of my current mail server is

maila62.webcontrolcenter.com
On the other hand, I'm not sure how an ISP could prevent a user from
using their mail servers to spam. And when a company like yahoo or aol
blacklists them, it's already too late.
Maybe you should look for another reason why your mails are bouncing as spam.

That mail server has the IP 216.119.106.40
and neither Spamhaus nor Spamcop list it..

http://www.spamhaus.org/query/bl?ip=216.119.106.40
http://spamcop.net/sc?track=216.119.106.40
Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espaol : http://asp.net.do/foros/
===================================
<dejavue82@.yahoo.comwrote in message news:1172964192.977930.117000@.s48g2000cws.googlegr oups.com...

Quote:

Originally Posted by

btw, the address of my current mail server is


Quote:

Originally Posted by

maila62.webcontrolcenter.com


well even the ISP I use has been blacklisted before, but credible companies
manage to get themselves removed within a couple of hours and respond to the
issue that caused them to be blacklisted. Spamhause etc. have procedures in
place to get your company removed. If your ISP are good (and I personally
cant comment on them) then you should ask them what the problem is and how
they intend to deal with it.

It may be as Juan suggested that there is a different reason why your mails
are being rejected.

--
--
Regards

John Timney (MVP)
http://www.johntimney.com
http://www.johntimney.com/blog
<dejavue82@.yahoo.comwrote in message
news:1172964908.346649.249780@.j27g2000cwj.googlegr oups.com...

Quote:

Originally Posted by

On the other hand, I'm not sure how an ISP could prevent a user from
using their mail servers to spam. And when a company like yahoo or aol
blacklists them, it's already too late.
>