yvsupport
asked on
Trying to use CDONTS on XP to send e-mail
I am trying to use CDONTS to send emails without using outlook etc.
When I try to instantiate the object I get the following:
Runtime Error '-2147024770 (8007007e)':
Automation error
The specified module could not be found
from this code:
Dim objNewMail As Object
Set objNewMail = CreateObject("CDONTS.NewMa il")
I have tried to unregister the CDONTS.DLL to try and re-register it but get the following error:
Loadlibrary("C:\windows\sy stem32\cdo nts.dll") failed. The specified module could not be found
Can anyone help me here?
When I try to instantiate the object I get the following:
Runtime Error '-2147024770 (8007007e)':
Automation error
The specified module could not be found
from this code:
Dim objNewMail As Object
Set objNewMail = CreateObject("CDONTS.NewMa
I have tried to unregister the CDONTS.DLL to try and re-register it but get the following error:
Loadlibrary("C:\windows\sy
Can anyone help me here?
I am not sure, but I think that you need CDO.dll and GAPI32.DLL
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
See explaination and suggested solution by amit_g and GaryC123 at: http:Q_20649064.html
GaryC123 wrote:
Cdonts doesn't come with XP!
You can get a copy of it here
http://dll.yaroslavl.ru/index.php3?lng=&in_char=C
and then in a dos prompt type
regsvr32 C:\windows\SYSTEM32\cdonts .dll
GaryC123 wrote:
Cdonts doesn't come with XP!
You can get a copy of it here
http://dll.yaroslavl.ru/index.php3?lng=&in_char=C
and then in a dos prompt type
regsvr32 C:\windows\SYSTEM32\cdonts
ASKER
I am having trouble unregistering the cdonts.dll and then re-registering it....
I have also tried the CDOSYS method and whilst the code runs, I get no mail received. Do I have to configure anything?
I have also tried the CDOSYS method and whilst the code runs, I get no mail received. Do I have to configure anything?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Working.
Will split the points between ryancys and aelatik
half each.
cheers guys.
Will split the points between ryancys and aelatik
half each.
cheers guys.