Asp and CDO

Results 1 to 2 of 2

Thread: Asp and CDO

  1. #1
    Join Date
    Dec 1969

    Default Asp and CDO

    Has any one seen this message before, I am having trouble running this script on a win2kserver when it worked fine on my winprof.<BR><BR>CDO.Message.1 error &#039;80040220&#039; <BR><BR>The "SendUsing" configuration value is invalid. <BR><BR>-- Here is my code<BR>Set msg = server.createobject("cdo.message")<BR> With msg<BR> .To = strTO<BR> .From = sFrom<BR> .Subject = sSubject<BR> .TextBody = sBody<BR> End with<BR> msg.send <BR>set msg = nothing

  2. #2
    Join Date
    Dec 1969

    Default RE: Asp and CDO

    I am sorry I can&#039;t tell the eact answer,<BR><BR>One suggetion for which I am here.<BR><BR>Why not using CDONT<BR><BR>The code is same:<BR><BR>Set objMail = Server.CreateObject("CDONTS.NewMail") <BR>objMail.From = ""<BR>objMail.To = rs(4)<BR>objMail.Subject = rs(5)<BR>objMail.Body=msgtosend<BR>objMail.BodyFor mat=0<BR>ObjMail.MailFormat = 0 <BR>objMail.Send<BR>Set objMail = Nothing <BR><BR>supports html/Attachments, Importance etc

Posting Permissions

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