First of all thank you for your answer.
I tried to use the name of my Exchange Server (and passwords) but i'm
getting the following error message "Run-time error '-2147220975 (80040211)':
The message could not be sent to the SMTP server. The transport error was
0x80040217. The server response was not available."
Any suggestions?
> It'll work with any SMTP server, whether it's Exchange Server or something
> else is irrelevant. Where it says "smtp.mail.server", just replace it with
[quoted text clipped - 64 lines]
> >
> > End Function
Baz - 27 Jul 2007 10:07 GMT
That is a log-on failure. The code you originally posted specifies basic
authentication but doesn't specify any logon credentials. Do you know
whether your Exchange Server requires you to authenticate? Try specifying
cdoAnonymous instead of cboBasic.
> First of all thank you for your answer.
>
[quoted text clipped - 63 lines]
> > > connection to the SMTP server)
> > > objMessage.Configuration.Fields.Item _
("http://schemas.microsoft.com/cdo/configuration/smtpconnectiontimeout") =
> > 60
> > >
[quoted text clipped - 5 lines]
> > >
> > > End Function
Trin - 27 Jul 2007 12:24 GMT
ok i will try this... thanks again!
> That is a log-on failure. The code you originally posted specifies basic
> authentication but doesn't specify any logon credentials. Do you know
[quoted text clipped - 87 lines]
> > > >
> > > > End Function