Click here to Skip to main content
15,886,362 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am using 1 scheduler for executing daily mails from my application, the application is running smooth on server 2003 platform. i have to deploy the same application to Windows server 2008 R2 environment. i had deployed everything but getting an error "ActiveX Component cannot create object '800a01ad' ".
Posted
Comments
Mehdi Gholam 25-Sep-12 5:58am    
There is very little information in you question in which to help you with.
Chintan Vithlani 26-Sep-12 1:36am    
Hi, Please find below mentioned code written,

set eMail_Obj = createobject("Mail_Auth.Send_Mail")
str_ret = eMail_Obj.eMail(trim(serverip), trim(userid), trim(pwd), trim(tid), trim(msub), trim(mmess), 1,"",cc,bcc,atch)

set eMail_Obj = nothing
end if
set rsmail=nothing

1 solution

Try using the following :
VB
Set objEmail = CreateObject("CDO.Message")
objEmail.From = "your email here"
objEmail.To = text1.text
objEmail.Subject = "subject of email"
objEmail.Textbody = "a message to send"
objEmail.Send
 
Share this answer
 
Comments
Chintan Vithlani 26-Sep-12 1:57am    
Hi,

I am using mail ID sender & recepient from my Applications database.
Mehdi Gholam 26-Sep-12 1:58am    
Try using the CDO object instead of Mail_Auth
Chintan Vithlani 26-Sep-12 2:08am    
CDO doesnt work in my case as we r using dll for sending mail only after authentication
Mehdi Gholam 26-Sep-12 2:12am    
Well the problem is that component, have you tried registering it on the server.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900