I have a couple of apps which use CDO to send emails. They work perfectly
on one machine but not on the other, I get the error message Class
Definition CDO.Configuration not found. I have to say I am not really
conversant with CDO, I copied an excellent script from an internet page so
am at a loss as to where to look. Any suggestions gratefully received <g>
John
John Weller
01380 723235
07976 393631
_______________________________________________
Post Messages to: ProFox@leafe.com
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/005201cdf66b$8a2645b0$9e72d110$@johnweller.co.uk
** 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.
On Sat, Jan 19, 2013 at 12:36 PM, John Weller <john@johnweller.co.uk> wrote:
> I have a couple of apps which use CDO to send emails. They work perfectly
> on one machine but not on the other, I get the error message Class
> Definition CDO.Configuration not found. I have to say I am not really
> conversant with CDO, I copied an excellent script from an internet page so
> am at a loss as to where to look. Any suggestions gratefully received <g>
>
>
I'm not sure my suggestions will be gratefully received. :)
Don't do that. CDO ("Collaborative Data Objects" are a COM/ActiveX wrapper
around MAPI, which in turn is a Microsoft-proprietary wrapper around SMTP,
a well-established, well-tested standard for email sending, a Simple Mail
Transfer Protocol. Every time MS decides they don't like the way something
works, they change their interfaces, breaking your software. SMTP, on the
other hand, Just Works (tm). There are a few gotchas with sending mail,
depending on whether the receiving email server requires SSL,
AUTHentication or other handshake protocol, but they can all be tested and
debugged. MAPI, not so much.
This isn't just theoretical, or an "I Hate Microsoft" screed. Several
times, I've had MS ship "updates" to their software that broke their MAPI
implementation, requiring workarounds or rewrites. To the great unhappiness
of my clients. Since then, I've used SMTP, with Blat or West-Wind's Client
Tools, with dozens of customers across the country, for well over a decade
and a half.
So, when you say, "It breaks when I do that," I'm forced to reply, "Don't
do that."
MAPI Bad, SMTP good.
Take a look at http://fox.wikis.com/wc.dll?Wiki~AutomatedEmail~Wiki as a
good starting point.
--
Ted Roche
Ted Roche & Associates, LLC
--- StripMime Report -- processed MIME parts ---
multipart/alternative
text/plain (text body -- kept)
text/html
---
_______________________________________________
Post Messages to: ProFox@leafe.com
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/CACW6n4teHMqvG=HR=j1+wBmdd_F00=KcMY0Ap0f+K34rycxoCw@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.
not to do with outlook being on is it?
Al
-----Original Message-----
From: John Weller
Sent: Saturday, January 19, 2013 6:36 PM
To: profoxtech@leafe.com
Subject: CDO Configuration Not Found
I have a couple of apps which use CDO to send emails. They work perfectly
on one machine but not on the other, I get the error message Class
Definition CDO.Configuration not found. I have to say I am not really
conversant with CDO, I copied an excellent script from an internet page so
am at a loss as to where to look. Any suggestions gratefully received <g>
John
_______________________________________________
Post Messages to: ProFox@leafe.com
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/E4D4CD70A1514A40BB9D00EE5C37E052@gslredacer
** 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.
Thanks Ted - good advice as always. I'll take a look.
Regards
John
John Weller
01380 723235
07976 393631
> -----Original Message-----
> From: ProfoxTech [mailto:profoxtech-bounces@leafe.com] On Behalf Of Ted
> Roche
> Sent: 19 January 2013 18:56
> To: profoxtech@leafe.com
> Subject: Re: CDO Configuration Not Found
>
> On Sat, Jan 19, 2013 at 12:36 PM, John Weller <john@johnweller.co.uk>
> wrote:
>
> > I have a couple of apps which use CDO to send emails. They work
> > perfectly on one machine but not on the other, I get the error message
> > Class Definition CDO.Configuration not found. I have to say I am not
> > really conversant with CDO, I copied an excellent script from an
> > internet page so am at a loss as to where to look. Any suggestions
> > gratefully received <g>
> >
> >
> I'm not sure my suggestions will be gratefully received. :)
>
> Don't do that. CDO ("Collaborative Data Objects" are a COM/ActiveX wrapper
> around MAPI, which in turn is a Microsoft-proprietary wrapper around SMTP,
> a well-established, well-tested standard for email sending, a Simple Mail
> Transfer Protocol. Every time MS decides they don't like the way something
> works, they change their interfaces, breaking your software. SMTP, on the
> other hand, Just Works (tm). There are a few gotchas with sending mail,
> depending on whether the receiving email server requires SSL,
> AUTHentication or other handshake protocol, but they can all be tested and
> debugged. MAPI, not so much.
>
> This isn't just theoretical, or an "I Hate Microsoft" screed. Several
times, I've
> had MS ship "updates" to their software that broke their MAPI
> implementation, requiring workarounds or rewrites. To the great
> unhappiness of my clients. Since then, I've used SMTP, with Blat or West-
> Wind's Client Tools, with dozens of customers across the country, for well
> over a decade and a half.
>
> So, when you say, "It breaks when I do that," I'm forced to reply, "Don't
do
> that."
>
> MAPI Bad, SMTP good.
>
> Take a look at http://fox.wikis.com/wc.dll?Wiki~AutomatedEmail~Wiki as a
> good starting point.
>
> --
> Ted Roche
> Ted Roche & Associates, LLC
>
>
> --- StripMime Report -- processed MIME parts ---
> multipart/alternative
> text/plain (text body -- kept)
> text/html
> ---
>
[excessive quoting removed by server]
_______________________________________________
Post Messages to: ProFox@leafe.com
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/005601cdf67b$8b2301f0$a16905d0$@johnweller.co.uk
** 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.
Outlook is installed on both machines.
John
John Weller
01380 723235
07976 393631
> -----Original Message-----
> From: ProfoxTech [mailto:profoxtech-bounces@leafe.com] On Behalf Of
> Allen
> Sent: 19 January 2013 19:06
> To: profoxtech@leafe.com
> Subject: Re: CDO Configuration Not Found
>
> not to do with outlook being on is it?
> Al
>
> -----Original Message-----
> From: John Weller
> Sent: Saturday, January 19, 2013 6:36 PM
> To: profoxtech@leafe.com
> Subject: CDO Configuration Not Found
>
> I have a couple of apps which use CDO to send emails. They work perfectly
> on one machine but not on the other, I get the error message Class
> Definition CDO.Configuration not found. I have to say I am not really
> conversant with CDO, I copied an excellent script from an internet page so
> am at a loss as to where to look. Any suggestions gratefully received <g>
>
> John
>
[excessive quoting removed by server]
_______________________________________________
Post Messages to: ProFox@leafe.com
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/005701cdf67d$3e302560$ba907020$@johnweller.co.uk
** 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.
You have to have "outlook express" installed on the machine.
-----Original Message-----
From: John Weller
Sent: Saturday, January 19, 2013 6:36 PM
I have a couple of apps which use CDO to send emails. They work perfectly
on one machine but not on the other, I get the error message Class
Definition CDO.Configuration not found. I have to say I am not really
conversant with CDO, I copied an excellent script from an internet page so
am at a loss as to where to look. Any suggestions gratefully received <g>
John
-----------------------
David Almada Consulting Email: davidalmada@sbcglobal.net Phone:
619-295-5535
San Diego, California - Databases: FoxPro/SQL/MS-Access
Data Translation - Information Extraction - Migrating Applications
Confidentiality Notice: This email message, including any attachments, is
for the sole use of the intended recipient(s) and may contain information
protected by the attorney-client privilege, the attorney work product
doctrine or other applicable privileges or confidentiality laws or
regulations. If you are not the intended recipient, you may not review,
use, copy, disclose or distribute this message or any of the information
contained in this message to anyone. If you are not the intended recipient,
please contact the sender by reply email and destroy all copies (electronic
or paper) of this message and any attachments.
--- StripMime Report -- processed MIME parts ---
multipart/alternative
text/plain (text body -- kept)
text/html
---
_______________________________________________
Post Messages to: ProFox@leafe.com
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/003b01cdf8c6$86091e50$921b5af0$@sbcglobal.net
** 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.