D
Dune
I'm trying to send an email from my ASP page using
CDO.Message and CDO.Configuration. I couldn't get this to
work for ages and all my emails ended up in
inetpub\mailroot\queue.
I'm behind a firewall and finally figured out that i have
to set the smarthost field for the SMTP Virtual Server in
IIS to get any emails to send. All good, the emails get
sent.
The part that confuses me is that in my code, no matter
what i set the cdoSMTPServer field for the
CDO.Configuration object to, it always works. I guess it's
using the smarthost field in the SMTP Virtual Server to
get the name of the server to use...but how will this all
work out on a different computer??
(What i would really like is for the code to use the
server specified in the cdoSMTPServer field instead of
relying on the configuration of the SMTP Virtual Server.)
Cheers.
CDO.Message and CDO.Configuration. I couldn't get this to
work for ages and all my emails ended up in
inetpub\mailroot\queue.
I'm behind a firewall and finally figured out that i have
to set the smarthost field for the SMTP Virtual Server in
IIS to get any emails to send. All good, the emails get
sent.
The part that confuses me is that in my code, no matter
what i set the cdoSMTPServer field for the
CDO.Configuration object to, it always works. I guess it's
using the smarthost field in the SMTP Virtual Server to
get the name of the server to use...but how will this all
work out on a different computer??
(What i would really like is for the code to use the
server specified in the cdoSMTPServer field instead of
relying on the configuration of the SMTP Virtual Server.)
Cheers.