471,078 Members | 774 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,078 software developers and data experts.

Email From ASP - Help Please ...

Hi Folks,

I have been going in circles for weeks - trying to find the best way to send
and manage emails from my ASP application. The email page might send as
many as 500 individual emails at a time. The emails are in the user
database for the website. It's used for sending group notices and passwords
to the members.

I'm currently using CDONTS - which works ok - although it is very slow to
send 500 emails. (each email is customized with user info - so it loops
through the database). But CDONTS is on the way out - so I'm considering
CDOSYS. But CDOSYS does not seem have a way to set a 'reply to' address. I
need to direct bounced emails to a bounce mailbox. So I can update my user
database and flag the bounces.

I have tried the "ASPEmail" component, which has a function to
programmatically access the bounce mailbox and update my database. But it
is much slower than CDONTS and it crashes my server at 500 emails. If it
worked better - and if it was able to use more than one bounce mailbox, I'd
pay whatever thay are asking for the component.

So, I'm stuck without a good way to send and manage my emails. Because I
can't find a commercial solution that I can tie into my ODBC database - and
easily program in ASP, I'm looking for do-it-yourself solutions - and
finding them hard to come by as well.

Does anyone have a suggestion for sending and managing large numbers of
custom emails - while also being able to track and flag bounces in the ODBC
databse? I will gladly pay for a component - if it's reasonably easy to
use.

Thanks very much for any advice,

Jack Coletti
St. Petersburg, FL
Mar 14 '06 #1
4 1990

MostlyH2O wrote:
Hi Folks,

I have been going in circles for weeks - trying to find the best way to send
and manage emails from my ASP application. The email page might send as
many as 500 individual emails at a time. The emails are in the user
database for the website. It's used for sending group notices and passwords
to the members.

I'm currently using CDONTS - which works ok - although it is very slow to
send 500 emails. (each email is customized with user info - so it loops
through the database). But CDONTS is on the way out - so I'm considering
CDOSYS. But CDOSYS does not seem have a way to set a 'reply to' address.


It does.

set objMail = createObject("CDO.Message")
With objMail
.from = fromaddress (1)
.to = toaddress
.replyto = replytoaddress (2)
.subject = subject
.textbody = textbody
.send
End With
set objMail = nothing

If no replyto(2) value is supplied, the reply-to address defaults to
the one specified in .from(1).

--
Mike Brind

Mar 14 '06 #2
> But CDOSYS does not seem have a way to set a 'reply to' address.

It does.

set objMail = createObject("CDO.Message")
With objMail
.from = fromaddress (1)
.to = toaddress
.replyto = replytoaddress (2)
.subject = subject
.textbody = textbody
.send
End With
set objMail = nothing

If no replyto(2) value is supplied, the reply-to address defaults to
the one specified in .from(1).

--
Mike Brind


Thanks Mike!
Mar 15 '06 #3
Mike Brind wrote:
CDOSYS does not seem have a way to set a 'reply to' address.


It does.


And here is the URL:
http://msdn.microsoft.com/library/en...ec1de9c1ad.asp
--
Dave Anderson

Unsolicited commercial email will be read at a cost of $500 per message. Use
of this email address implies consent to these terms. Please do not contact
me directly or ask me to contact you directly for assistance. If your
question is worth asking, it's worth posting.
Mar 15 '06 #4
> And here is the URL:

http://msdn.microsoft.com/library/en...ec1de9c1ad.asp

Thank dave. It looks like I was barking up the wrong tree. I think what I
want is a "return-path" property. I still want the recipient to be able to
reply to me. But if the message bounces, I want it to go to a different
mailbox.

Thanks,
Jack
Mar 15 '06 #5

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Glenn | last post: by
4 posts views Thread by elampirai | last post: by
9 posts views Thread by Mahernoz | last post: by
2 posts views Thread by Malli mindwave | last post: by
reply views Thread by leo001 | last post: by

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.