E
Eric
When I use system.web.mail namespace in most of my integration programs
and in windows application programs it doesn't work.
it normally gives an exception "Could not access 'CDO.Message' object."
or "Could not access MAPI drivers". (all these machines, outlook is not
installed and local SMTP is installed and delivery configured to relay
to the mail server. all my win32 services runs under administrator.) I
was under the impression that this namespace is a wrapper to the CDONTS
object library. Apparently it is not, it needs MAPI drives to be
installed.
Only method i know to install MAPI drivers is to install MS Outlook on
the machine and create a mail profile. Please let me know if there is
another easy method?
In utter desperation I have written a wrapper to the CDONTS object
library my self and use it at the moment or using Indy SMTP socket
client (http://www.indyproject.org/). All these machines works fine
with both methods.
Is this a common problem?
Is there an easy work around for this? I like to use framework classes
so I don't need to ship these extra dlls.
Or am I doing something stupid?
and in windows application programs it doesn't work.
it normally gives an exception "Could not access 'CDO.Message' object."
or "Could not access MAPI drivers". (all these machines, outlook is not
installed and local SMTP is installed and delivery configured to relay
to the mail server. all my win32 services runs under administrator.) I
was under the impression that this namespace is a wrapper to the CDONTS
object library. Apparently it is not, it needs MAPI drives to be
installed.
Only method i know to install MAPI drivers is to install MS Outlook on
the machine and create a mail profile. Please let me know if there is
another easy method?
In utter desperation I have written a wrapper to the CDONTS object
library my self and use it at the moment or using Indy SMTP socket
client (http://www.indyproject.org/). All these machines works fine
with both methods.
Is this a common problem?
Is there an easy work around for this? I like to use framework classes
so I don't need to ship these extra dlls.
Or am I doing something stupid?