Home All Groups Group Topic Archive Search About

Email From ASP - Help Please ...

Author
14 Mar 2006 8:14 PM
MostlyH2O
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

Author
14 Mar 2006 9:09 PM
Mike Brind
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
Are all your drivers up to date? click for free checkup

Author
15 Mar 2006 1:57 AM
MostlyH2O
Show quote Hide quote
> 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!
Author
15 Mar 2006 3:52 PM
Dave Anderson
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-us/cdosys/html/f4e521be-7f94-40b2-81e9-ebec1de9c1ad.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.
Author
15 Mar 2006 7:49 PM
MostlyH2O
> And here is the URL:
>
http://msdn.microsoft.com/library/en-us/cdosys/html/f4e521be-7f94-40b2-81e9-ebec1de9c1ad.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

Bookmark and Share

Post Thread options