PDA

Click to See Complete Forum and Search --> : Why is my e-mail component not working?


Nov 13th, 2000, 02:42 AM
At the line where I want to create my object:
--> Set objMail = Server.CreateObject("MyMail.SendMail")
I get the following error:

OutlLib.dll error '80040102'

Could not complete the operation because the service provider does not support it.

Why is this happening??? All other Com objects are working, for instance ADO objects.

dadames
Nov 15th, 2000, 03:18 PM
Not sure what the problem is but my code looks like this...

Set objMail = Server.CreateObject("CDONTS.NewMail")

objMail.To = strTo
objMail.Cc = strCC
objMail.From = strFrom
objMail.Subject = strSubject
objMail.BodyFormat = 0
objMail.MailFormat = 0
objMail.Body = strBody
objMail.Send

Set objMail = Nothing