For Programmers: Free Programming Magazines  


Home > Archive > ASP > March 2005 > Sending Mail Using ASP/VBScript to Exchange Mail Box









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Sending Mail Using ASP/VBScript to Exchange Mail Box
martin smith

2005-03-21, 3:55 pm

Here's the scenario. I'm currently using cdosys/asp to send mail to
our SMTP server. We use a product called MailFilter to check for SPAM.
It doesn't work very well. If MailFilter isn't working cdosys also has
problems and emails don't get sent. As these email are confirmations
for customer's bookings this means lots of customers calling to see
where their confirmation emails have gone. The root of the problem is
MailFilter but that here to stay. So I had this thought of sending the
message to a queue of some sort so at least they will get to the
customer eventually rather than being lost for good. So here's the
question:

Can I/How do I send messages to a mailbox on our Exchange server using
cdo.message?

If anyone has any other solutions please let me know.

Many Thanks
Ray Costanzo [MVP]

2005-03-21, 3:55 pm

Address the message to an Exchange recipient?

Ray at work

"martin smith" <msmit217@f2s.com> wrote in message
news:fd892be0.0503210633.3153f33f@posting.google.com...
> Here's the scenario. I'm currently using cdosys/asp to send mail to
> our SMTP server. We use a product called MailFilter to check for SPAM.
> It doesn't work very well. If MailFilter isn't working cdosys also has
> problems and emails don't get sent. As these email are confirmations
> for customer's bookings this means lots of customers calling to see
> where their confirmation emails have gone. The root of the problem is
> MailFilter but that here to stay. So I had this thought of sending the
> message to a queue of some sort so at least they will get to the
> customer eventually rather than being lost for good. So here's the
> question:
>
> Can I/How do I send messages to a mailbox on our Exchange server using
> cdo.message?
>
> If anyone has any other solutions please let me know.
>
> Many Thanks



Thomas

2005-03-21, 3:55 pm

an easy queue could be done like that:

on your webserver, set up SMTPSVC. you can then use this smtp server (i.e.
use localhost as target smtp) as a relay from your web-generated mails to
exchange (or wherever they are targeted to). the smtpsvc will keep trying to
deliver mails in case of MailFilter not running on the remote smtp.

also you could directly write raw mails into the smtpsvc's pickup folder.
this will enqueue the mails and eventually send them once the target machine
is back up running smooth.

- thomas


"martin smith" <msmit217@f2s.com> wrote in message
news:fd892be0.0503210633.3153f33f@posting.google.com...
> Here's the scenario. I'm currently using cdosys/asp to send mail to
> our SMTP server. We use a product called MailFilter to check for SPAM.
> It doesn't work very well. If MailFilter isn't working cdosys also has
> problems and emails don't get sent. As these email are confirmations
> for customer's bookings this means lots of customers calling to see
> where their confirmation emails have gone. The root of the problem is
> MailFilter but that here to stay. So I had this thought of sending the
> message to a queue of some sort so at least they will get to the
> customer eventually rather than being lost for good. So here's the
> question:
>
> Can I/How do I send messages to a mailbox on our Exchange server using
> cdo.message?
>
> If anyone has any other solutions please let me know.
>
> Many Thanks



Jeff Cochran

2005-03-21, 3:55 pm

On 21 Mar 2005 06:33:31 -0800, msmit217@f2s.com (martin smith) wrote:

>Here's the scenario. I'm currently using cdosys/asp to send mail to
>our SMTP server. We use a product called MailFilter to check for SPAM.
>It doesn't work very well. If MailFilter isn't working cdosys also has
>problems and emails don't get sent. As these email are confirmations
>for customer's bookings this means lots of customers calling to see
>where their confirmation emails have gone. The root of the problem is
>MailFilter but that here to stay. So I had this thought of sending the
>message to a queue of some sort so at least they will get to the
>customer eventually rather than being lost for good. So here's the
>question:
>
>Can I/How do I send messages to a mailbox on our Exchange server using
>cdo.message?


See the FAQ:

How do I send e-mail with CDO?
http://www.aspfaq.com/show.asp?id=2026

SMTPSendUsing should be 2, specify the SMTP server as your Exchange
server, make sure Exchange can relay for the system your web site is
on.

Jeff
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com