Click here to Skip to main content
12,694,352 members (37,604 online)
Rate this:
Please Sign up or sign in to vote.
See more: VB
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 25-Sep-12 0:47am
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

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Try using the following :
    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"
Chintan Vithlani 26-Sep-12 1:57am

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)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web01 | 2.8.170118.1 | Last Updated 26 Sep 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100