Trying to use the code below, but constantly get :
Server object error 'ASP 0177 : 800401f3'
Server.CreateObject Failed
/zzz/aaa.asp, line 135
Invalid ProgID.
The Chilkatmail2.dll is registered, I can get ordinary text mails via the ChilkatMail.dll with no problems.
Any help greatly appreciated.
' Create a mailman
#135 set mailman = Server.CreateObject("ChilkatWebMail2.WebMailMan2")
' Unlock the component
mailman.UnlockComponent ("----temp unlock code---- ")
' Tell the mailman where the SMTP server is located
mailman.SmtpHost = "ourhost"
' Create an Email message
set email = Server.CreateObject("ChilkatWebMail2.WebEmail2")
' Enter the recipient's information
email.AddTo "support", "support@chilkatsoft.com"
' Enter the sender's information
email.FromName = "Sales"
email.FromAddress = "sales@chilkatsoft.com"
' Enter the email subject
email.Subject = "This is the subject"
email.SetHtmlBody = strTEMPHTML
'email.Body = strTEMPHTML
' Send Email from ASP
if mailman.SendEmail(email) then
Response.write "Message sent successfully!<br><br>"
else
Response.write "ERROR: Message not sent!<br><br>"
end if