You can configure CDO to use whatever settings you want; for instance I
have this code in one of classes SetUp() method:

LOCAL loEx As Exception, llSuccess As Boolean
llSuccess = .T.
loEx = .NULL.
TRY
WITH THIS.oConfig
.Fields.Item("http://schemas.microsoft.com/cdo/configuration/sendusing";) =
cdoSendUsingPort
*!* Name or IP of Remote SMTP Server
.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpserver";) =
"smtp.mail.yahoo.com"
*!* Type of authentication, NONE, Basic (Base64 encoded), NTLM
.Fields.Item("
http://schemas.microsoft.com/cdo/configuration/smtpauthenticate";) = cdoBasic
*!* Your UserID on the SMTP server
.Fields.Item("http://schemas.microsoft.com/cdo/configuration/sendusername";)
= MAIL_NAME
*!* Your password on the SMTP server
.Fields.Item("http://schemas.microsoft.com/cdo/configuration/sendpassword";)
= MAILPW
*!* Server port (typically 25)
.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpserverport";)
= THIS.nServerPort
*!* Use SSL for the connection (False or True)
.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpusessl";) =
True
*!* Connection Timeout in seconds (the maximum time CDO will try to
establish a connection to the SMTP server)
.Fields.Item("
http://schemas.microsoft.com/cdo/configuration/smtpconnectiontimeout";) =
TIMEOUT
.Fields.Update
ENDWITH
THIS.oMessage.Configuration = THIS.oConfig
CATCH TO loEx
ENDTRY
IF NOT ISNULL(loEx)
THIS.HandleException(loEx)
llSuccess = .F.
ENDIF
RETURN llSuccess

The constants come from a header file.

Laurie

On 9 January 2016 at 09:55, Koen Piller <[email protected]> wrote:

> Hi,
>
> I believe there is a problem, since the CDO.Message uses the computers
> default email settings, namely Outlook express when you dont have OE
> installed as your default.
>
> Regards,
>
> Koen
>
> 2016-01-09 8:52 GMT+01:00 Laurie Alvey <[email protected]>:
>
> > CDO has been part of Windows since Windows 2000. I'll put something
> > together and email it direct to you.
> >
> > Laurie
> >
> > On 8 January 2016 at 14:00, rafael copquin <[email protected]>
> > wrote:
> >
> > > By all means!
> > >
> > > I have to send just one pdf file, a price list, to one or many selected
> > > recipients.
> > >
> > > If you would give me an example on how to do this, plus where to get
> the
> > > CDO class, it would be greatly appreciated
> > >
> > > Rafael
> > >
> > >
> > > El 08/01/2016 a las 4:50, Laurie Alvey escribió:
> > >
> > >> I use CDO (runs on Windows 10) without problems. If you're interested,
> > >> I'll
> > >> give you some details.
> > >>
> > >> Laurie
> > >>
> > >> On 7 January 2016 at 21:21, Tracy Pearson <[email protected]>
> > wrote:
> > >>
> > >> YAHOO wrote on 2016-01-07:
> > >>>
> > >>>>   Thanks for the info but I forgot to mention that it SHOULD BE FREE
> > >>>>
> > >>>>   Sorry
> > >>>>
> > >>>>   Rafael
> > >>>>
> > >>>> Rafael,
> > >>>
> > >>> If you don't need SSL or TLS connections you can use the BLAT
> everyone
> > >>> has
> > >>> given many examples for.
> > >>>
> > >>> If you need TLS but not SSL, one could use the .NET tools to build an
> > EXE
> > >>> or
> > >>> COM object to use.
> > >>>
> > >>> If you need SSL and TLS, you'll need to spend some money.
> > >>>
> > >>> TLS is getting to be the preferred method.
> > >>>
> > >>> Tracy Pearson
> > >>> PowerChurch Software
> > >>>
> > >>>
[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/camvtr9f3my_roaxw49293cywdt55w2noluspsu4qtcdmdze...@mail.gmail.com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to