Results 1 to 2 of 2

Thread: Why is my e-mail component not working?

  1. #1
    Guest

    Angry

    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.

  2. #2
    Member
    Join Date
    Aug 2000
    Location
    Florida
    Posts
    45

    e-mail

    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
    If I could only remember my name...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width