Ask a Question related to ASP, Design and Development.

  1. #1

    Default Re: CDONTS

    CDO.Message

    see [url]www.aspfaq.com[/url]

    CDONTS has been phased out. the last OS to include it was Windows 2000





    ________________________________________
    Why? Why was I programmed to feel pain?

    Atrax. MVP, IIS
    [url]http://rtfm.atrax.co.uk/[/url]

    newsflash : Atrax.Richedit 1.0 now released.
    click the link above!

    *** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
    Don't just participate in USENET...get rewarded for it!
    Atrax Guest

  2. Similar Questions and Discussions

    1. cdonts.dll on x64
      Hi... I know I'm probably going to take a lot of grief over this, but we have a pile of legacy code still using CDONTS on 32-bit systems. We're...
    2. CDONTS vs CDO
      OK, so obviously cdonts doesnt work with ii6. Why its depreciated, i dont know. What i need to know is how to just send a simple email, my old...
    3. using CDONTS on XP iis 5.1
      Hi Folks. Trying to use ASP to submit data to both an access database and to an e-mail address at the same time. After downloading the example...
    4. CDONTS for IIS 5.1
      Hi all, I'm trying to get a better understanding of how to use CDONTS on a web server, and I find that I don't have it installed on my own. I'm...
    5. CDONTS & BCC
      Hi I have a website hosted on a virtual server, and am trying to run a script that sends an email with a BCC address. The email gets sent just...
  3. #2

    Default CDONTS

    I am using ASP code to send mail via CDONTS. My question
    is on formatting the body of the e-mail. I want to use
    HTML to put the form fields submiited in my form into
    tables! An example of what I have is this:


    " FP_SavedFields('name1')" &_

    When the email comes it is formnatted with tables just
    how I want it, but instead of the value of the form field
    in the e-mail it simply says FP_SavedFields('name1')


    The email output looks like this:


    The following is the name and address of the person
    submitting:

    FP_SavedFields('name1') FP_SavedFields('name2')
    FP_SavedFields('company')
    FP_SavedFields('address1')
    FP_SavedFields('address2')
    FP_SavedFields('city'), FP_SavedFields('state')
    FP_SavedFields('zip') FP_SavedFields('country')
    Phone: FP_SavedFields('phone')
    Fax: FP_SavedFields('fax')
    FP_SavedFields('email')


    Information on the following products was requested:
    FP_SavedFields('Frink') FP_SavedFields('Swenson')
    FP_SavedFields('Henderson')
    FP_SavedFields('Everest') FP_SavedFields('Stetco')
    FP_SavedFields('Trackless')
    FP_SavedFields('Johnston') FP_SavedFields('York')
    FP_SavedFields('HP')
    FP_SavedFields('ICS2000') FP_SavedFields('Compu_Spread')
    FP_SavedFields('Airport')
    FP_SavedFields('Madvac') FP_SavedFields('Sweepster')
    FP_SavedFields('Stellar')
    FP_SavedFields('Diamond') FP_SavedFields('Camel')
    FP_SavedFields('OshKosh')
    FP_SavedFields('used')
    The following comments were entered:
    FP_SavedFields('comments')


    I need the actual values for all of these. I can get the
    output I want if I do not use HTML! Any help would be
    appreciated! Thanks

    Darren Guest

  4. #3

    Default CDONTS

    Hi,
    I have an ASP form that submitts to a SQL database. I have also
    inserted some ASP code on the confirmation page of the form. The ASP code
    sends a confirmation e-mail to me after the form is submitted using CDONTS
    on my IIS server. The e-mail comes fine and works great. My problem is
    with formatting! I have it set up so that all the submitted fields show up
    on the e-mail.

    The form has multiple checkboxes, so when a box is checked I have the e-mail
    formatted so this shows up:

    Plows: YES

    My problem is when the user does not check the box, the Plows: still shows
    up like this:

    Plows:

    Is it possible to format this so that if the box is not checked then there
    is nothing there, so that only the ones checked show up? If all boxes are
    checked then the e-mail should show all labels with a "YES" next to them and
    if only one is checked then it should show that label only with a "YES" next
    to it. I used to use formail.pl in a cgi script and it worked this way. If
    you are familiar with formail.pl then this is exactly how I would like it to
    work, however the form must post to formail.pl and therefore I would not be
    able to post to a database.
    My code is as follows:


    <%
    Set objCDOMail = Server.CreateObject("CDONTS.NewMail")
    objCDOMail.To = "darrenwoodbrey@hpfairfield.com"
    objCDOMail.From = FP_SavedFields("email")
    objCDOMail.Subject = "HPF Web Request Form"
    For Each item in FP_SavedFields
    strBody = "<b>The following information was submitted via the web request
    form:</b> " & VbCrLf & "<BR><BR>" & VbCrLf & FP_SavedFields("name1") &
    VbCrLf & FP_SavedFields("name2") & VbCrLf & "<BR>" & VbCrLf &
    FP_SavedFields("company") & VbCrLf & "<BR>" & VbCrLf &
    FP_SavedFields("address1") & VbCrLf & "<BR>" & VbCrLf &
    FP_SavedFields("address2") & VbCrLf & "<BR>" & VbCrLf &
    FP_SavedFields("city") & ", " & VbCrLf & FP_SavedFields("state") & " " &
    VbCrLf & FP_SavedFields("zip") & " " & VbCrLf & FP_SavedFields("country") &
    VbCrLf & "<BR>" & VbCrLf & "Phone: " & VbCrLf & FP_SavedFields("phone") &
    VbCrLf & "<BR>" & VbCrLf & "Fax: " & VbCrLf & FP_SavedFields("fax") & VbCrLf
    & "<BR>" & VbCrLf & FP_SavedFields("email") & VbCrLf & "<BR><BR>" & VbCrLf &
    "<b>Information on the following products was requested:</b> " & VbCrLf &
    "<BR><BR>" & VbCrLf & FP_SavedFields("Frink")& VbCrLf &
    FP_SavedFields("Swenson") & VbCrLf & "&nbsp;&nbsp;&nbsp " & VbCrLf &
    FP_SavedFields("Henderson") & VbCrLf & "<BR><BR>" & VbCrLf &
    FP_SavedFields("Everest") & VbCrLf & "<BR><BR>" & VbCrLf &
    FP_SavedFields("Stetco") & VbCrLf & "<BR><BR>" & VbCrLf &
    FP_SavedFields("Trackless") & VbCrLf & "<BR><BR>" & VbCrLf &
    FP_SavedFields("Johnston") & VbCrLf & "<BR><BR>" & VbCrLf &
    FP_SavedFields("York") & VbCrLf & "<BR><BR>" & VbCrLf & FP_SavedFields("HP")
    & VbCrLf & "<BR><BR>" & VbCrLf & FP_SavedFields("ICS2000") & VbCrLf &
    "<BR><BR>" & VbCrLf & FP_SavedFields("Compu_Spread") & VbCrLf & "<BR><BR>" &
    VbCrLf & FP_SavedFields("Airport") & VbCrLf & "<BR><BR>" & VbCrLf &
    FP_SavedFields("Madvac") & VbCrLf & "<BR><BR>" & VbCrLf &
    FP_SavedFields("Sweepster") & VbCrLf & "<BR><BR>" & VbCrLf &
    FP_SavedFields("Stellar") & VbCrLf & "<BR><BR>" & VbCrLf &
    FP_SavedFields("Diamond") & VbCrLf & "<BR><BR>" & VbCrLf &
    FP_SavedFields("Camel") & VbCrLf & "<BR><BR>" & VbCrLf &
    FP_SavedFields("OshKosh") & VbCrLf & "<BR><BR>" & VbCrLf &
    FP_SavedFields("used") & VbCrLf & "<BR><BR>" & VbCrLf & "<b>The following
    comments were entered:</b> "& VbCrLf & "<BR><BR>" & VbCrLf &
    FP_SavedFields("comments")
    Next
    objCDOMail.Body = strBody
    objCDOMail.BodyFormat = 0
    objCDOMail.MailFormat = 0
    objCDOMail.Send
    Set objCDOMail = Nothing
    %>

    Thanks in advance for your help!


    Darren Woodbrey Guest

  5. #4

    Default Re: CDONTS

    If the checkbox is not checked, it's not even in the collection. So
    basically, you need to say for each one,

    if request.form("checkbox_name") <> "" then
    strBody = strBody & "checkbox_name: yes"
    end if

    (Why are you using the "FP_SavedFields" collection? Blecch.)

    --
    Aaron Bertrand
    SQL Server MVP
    [url]http://www.aspfaq.com/[/url]




    "Darren Woodbrey" <darrenwoodbrey@hpfairfield.com> wrote in message
    news:ulgYx980DHA.2412@TK2MSFTNGP10.phx.gbl...
    > Hi,
    > I have an ASP form that submitts to a SQL database. I have also
    > inserted some ASP code on the confirmation page of the form. The ASP code
    > sends a confirmation e-mail to me after the form is submitted using CDONTS
    > on my IIS server. The e-mail comes fine and works great. My problem is
    > with formatting! I have it set up so that all the submitted fields show
    up
    > on the e-mail.
    >
    > The form has multiple checkboxes, so when a box is checked I have the
    e-mail
    > formatted so this shows up:
    >
    > Plows: YES
    >
    > My problem is when the user does not check the box, the Plows: still shows
    > up like this:
    >
    > Plows:
    >
    > Is it possible to format this so that if the box is not checked then there
    > is nothing there, so that only the ones checked show up? If all boxes are
    > checked then the e-mail should show all labels with a "YES" next to them
    and
    > if only one is checked then it should show that label only with a "YES"
    next
    > to it. I used to use formail.pl in a cgi script and it worked this way.
    If
    > you are familiar with formail.pl then this is exactly how I would like it
    to
    > work, however the form must post to formail.pl and therefore I would not
    be
    > able to post to a database.
    > My code is as follows:
    >
    >
    > <%
    > Set objCDOMail = Server.CreateObject("CDONTS.NewMail")
    > objCDOMail.To = "darrenwoodbrey@hpfairfield.com"
    > objCDOMail.From = FP_SavedFields("email")
    > objCDOMail.Subject = "HPF Web Request Form"
    > For Each item in FP_SavedFields
    > strBody = "<b>The following information was submitted via the web request
    > form:</b> " & VbCrLf & "<BR><BR>" & VbCrLf & FP_SavedFields("name1") &
    > VbCrLf & FP_SavedFields("name2") & VbCrLf & "<BR>" & VbCrLf &
    > FP_SavedFields("company") & VbCrLf & "<BR>" & VbCrLf &
    > FP_SavedFields("address1") & VbCrLf & "<BR>" & VbCrLf &
    > FP_SavedFields("address2") & VbCrLf & "<BR>" & VbCrLf &
    > FP_SavedFields("city") & ", " & VbCrLf & FP_SavedFields("state") & " " &
    > VbCrLf & FP_SavedFields("zip") & " " & VbCrLf & FP_SavedFields("country")
    &
    > VbCrLf & "<BR>" & VbCrLf & "Phone: " & VbCrLf & FP_SavedFields("phone") &
    > VbCrLf & "<BR>" & VbCrLf & "Fax: " & VbCrLf & FP_SavedFields("fax") &
    VbCrLf
    > & "<BR>" & VbCrLf & FP_SavedFields("email") & VbCrLf & "<BR><BR>" & VbCrLf
    &
    > "<b>Information on the following products was requested:</b> " & VbCrLf &
    > "<BR><BR>" & VbCrLf & FP_SavedFields("Frink")& VbCrLf &
    > FP_SavedFields("Swenson") & VbCrLf & "&nbsp;&nbsp;&nbsp " & VbCrLf &
    > FP_SavedFields("Henderson") & VbCrLf & "<BR><BR>" & VbCrLf &
    > FP_SavedFields("Everest") & VbCrLf & "<BR><BR>" & VbCrLf &
    > FP_SavedFields("Stetco") & VbCrLf & "<BR><BR>" & VbCrLf &
    > FP_SavedFields("Trackless") & VbCrLf & "<BR><BR>" & VbCrLf &
    > FP_SavedFields("Johnston") & VbCrLf & "<BR><BR>" & VbCrLf &
    > FP_SavedFields("York") & VbCrLf & "<BR><BR>" & VbCrLf &
    FP_SavedFields("HP")
    > & VbCrLf & "<BR><BR>" & VbCrLf & FP_SavedFields("ICS2000") & VbCrLf &
    > "<BR><BR>" & VbCrLf & FP_SavedFields("Compu_Spread") & VbCrLf & "<BR><BR>"
    &
    > VbCrLf & FP_SavedFields("Airport") & VbCrLf & "<BR><BR>" & VbCrLf &
    > FP_SavedFields("Madvac") & VbCrLf & "<BR><BR>" & VbCrLf &
    > FP_SavedFields("Sweepster") & VbCrLf & "<BR><BR>" & VbCrLf &
    > FP_SavedFields("Stellar") & VbCrLf & "<BR><BR>" & VbCrLf &
    > FP_SavedFields("Diamond") & VbCrLf & "<BR><BR>" & VbCrLf &
    > FP_SavedFields("Camel") & VbCrLf & "<BR><BR>" & VbCrLf &
    > FP_SavedFields("OshKosh") & VbCrLf & "<BR><BR>" & VbCrLf &
    > FP_SavedFields("used") & VbCrLf & "<BR><BR>" & VbCrLf & "<b>The following
    > comments were entered:</b> "& VbCrLf & "<BR><BR>" & VbCrLf &
    > FP_SavedFields("comments")
    > Next
    > objCDOMail.Body = strBody
    > objCDOMail.BodyFormat = 0
    > objCDOMail.MailFormat = 0
    > objCDOMail.Send
    > Set objCDOMail = Nothing
    > %>
    >
    > Thanks in advance for your help!
    >
    >

    Aaron Bertrand - MVP Guest

  6. #5

    Default Re: CDONTS


    What else besides the FP_SavedFields would I use. i use the Frontape
    DRW and then just enter in a custom SQL query. I do not know much ASP.
    Is there a better way to do this?


    *** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
    Don't just participate in USENET...get rewarded for it!
    Darren Woodbrey Guest

  7. #6

    Default Re: CDONTS

    Yes, find a tutorial and get your hands dirty with ASP. Should take a day
    or two at most for common tasks. And you'll learn a lot more, and far fewer
    bad habits, by dropping FrontPage to the curb. It's certainly not doing you
    any favors.

    --
    Aaron Bertrand
    SQL Server MVP
    [url]http://www.aspfaq.com/[/url]




    "Darren Woodbrey" <darrenwoodbrey@hpfairfield.com> wrote in message
    news:OWwzHr#0DHA.1760@TK2MSFTNGP10.phx.gbl...
    >
    > What else besides the FP_SavedFields would I use. i use the Frontape
    > DRW and then just enter in a custom SQL query. I do not know much ASP.
    > Is there a better way to do this?
    >
    >
    > *** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
    > Don't just participate in USENET...get rewarded for it!

    Aaron Bertrand [MVP] Guest

  8. #7

    Default Re: CDONTS

    I found the best way I have found so far is to build the email template in
    HTML right off the bat. Anywhere you need to have a field inserted -- just
    use something like

    %%company%% (the % signs make the text unique, you can use whatever you
    want)

    Then on the code side you can open the file using a file object and then use
    the replace function to get the fields... I use the long version of CDONTS
    because I use security credentials on relays within my mail server. If
    anyone has a way to do this with the smtpmailer objects - I'm all ears...

    (Watch out for word wrapping)

    Private Sub....
    Dim fs As System.IO.File
    Dim sFile As String

    sFile = fs.OpenText(Server.MapPath("MailTemplate.html")).R eadToEnd
    sFile = Replace(sFile, "%%company%%", Me.txtCo.Text)
    sFile = Replace(sFile, "%%contact%%", Me.txtContact.Text)

    Dim iMsg As Object
    Dim iConf As Object
    Dim Flds As Object
    iMsg = CreateObject("CDO.Message")
    iConf = CreateObject("CDO.Configuration")
    Flds = iConf.Fields

    With Flds

    ..Item("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2

    ..Item("http://schemas.microsoft.com/cdo/configuration/smtpserver") =
    "mail.myserver.com"

    ..Item("http://schemas.microsoft.com/cdo/configuration/smtpconnectiontimeout"
    ) = 10

    ..Item("http://schemas.microsoft.com/cdo/configuration/sendusername") =
    "myRelayAccessLogin"

    ..Item("http://schemas.microsoft.com/cdo/configuration/senduserpassword") =
    "myPassword"
    .Update()
    End With


    With iMsg
    .Configuration = iConf
    .to = "someone@somewhere.com"
    .From = Request.Form("txtEmail")
    .Subject = "My Information"
    .HTMLBody = sFile
    Try
    .Send()
    Catch
    Response.Write("Message was not sent - a problem exists with
    the server or with the email address you provided.")
    End Try
    End With
    End Sub

    --
    Jerry Boone
    Analytical Technologies, Inc.
    [url]http://www.antech.biz[/url]
    Secure Hosting and Development Solutions for ASP, ASP.NET, SQL Server, and
    Access



    "Darren" <darren@lan-specialist.com> wrote in message
    news:014d01c3d30e$0eb14f90$a501280a@phx.gbl...
    > I am using ASP code to send mail via CDONTS. My question
    > is on formatting the body of the e-mail. I want to use
    > HTML to put the form fields submiited in my form into
    > tables! An example of what I have is this:
    >
    >
    > " FP_SavedFields('name1')" &_
    >
    > When the email comes it is formnatted with tables just
    > how I want it, but instead of the value of the form field
    > in the e-mail it simply says FP_SavedFields('name1')
    >
    >
    > The email output looks like this:
    >
    >
    > The following is the name and address of the person
    > submitting:
    >
    > FP_SavedFields('name1') FP_SavedFields('name2')
    > FP_SavedFields('company')
    > FP_SavedFields('address1')
    > FP_SavedFields('address2')
    > FP_SavedFields('city'), FP_SavedFields('state')
    > FP_SavedFields('zip') FP_SavedFields('country')
    > Phone: FP_SavedFields('phone')
    > Fax: FP_SavedFields('fax')
    > FP_SavedFields('email')
    >
    >
    > Information on the following products was requested:
    > FP_SavedFields('Frink') FP_SavedFields('Swenson')
    > FP_SavedFields('Henderson')
    > FP_SavedFields('Everest') FP_SavedFields('Stetco')
    > FP_SavedFields('Trackless')
    > FP_SavedFields('Johnston') FP_SavedFields('York')
    > FP_SavedFields('HP')
    > FP_SavedFields('ICS2000') FP_SavedFields('Compu_Spread')
    > FP_SavedFields('Airport')
    > FP_SavedFields('Madvac') FP_SavedFields('Sweepster')
    > FP_SavedFields('Stellar')
    > FP_SavedFields('Diamond') FP_SavedFields('Camel')
    > FP_SavedFields('OshKosh')
    > FP_SavedFields('used')
    > The following comments were entered:
    > FP_SavedFields('comments')
    >
    >
    > I need the actual values for all of these. I can get the
    > output I want if I do not use HTML! Any help would be
    > appreciated! Thanks
    >

    Jerry Boone Guest

  9. #8

    Default cdonts

    Hi guys, I am using IIS on windowsxp and I am unable to
    run a asp file ,
    the error point to a line "SET objMail =
    Server.CreateObject("CDONTS.NewMail")"

    I would appericiate the help any help regarding how to
    install/use cdonts
    Tom Guest

  10. #9

    Default Re: cdonts

    Do you have script permissions in the IIS?
    Check que IUSR_yourmachine, the MODIFY permissions...

    --
    FF
    [url]www.francofigun.com.ar[/url]
    [url]www.microsofties.com.ar[/url]
    MSN: [email]francofigun@hotmail.com[/email]
    UIN: 305336919
    Yahoo MSN: [email]frankofm@yahoo.com.ar[/email]
    "Tom" <anonymous@discussions.microsoft.com> escribió en el mensaje
    news:15d9301c44753$57c65590$a301280a@phx.gbl...
    > Hi guys, I am using IIS on windowsxp and I am unable to
    > run a asp file ,
    > the error point to a line "SET objMail =
    > Server.CreateObject("CDONTS.NewMail")"
    >
    > I would appericiate the help any help regarding how to
    > install/use cdonts

    Franco Figun Guest

  11. #10

    Default Re: cdonts

    Well everything else seems to work, I mean I can run
    chats and other appz but the cdonts based sendmail does
    not work..
    How do I access that thing?
    >-----Original Message-----
    >Do you have script permissions in the IIS?
    >Check que IUSR_yourmachine, the MODIFY permissions...
    >
    >--
    >FF
    >[url]www.francofigun.com.ar[/url]
    >[url]www.microsofties.com.ar[/url]
    >MSN: [email]francofigun@hotmail.com[/email]
    >UIN: 305336919
    >Yahoo MSN: [email]frankofm@yahoo.com.ar[/email]
    >"Tom" <anonymous@discussions.microsoft.com> escribió en
    el mensaje
    >news:15d9301c44753$57c65590$a301280a@phx.gbl...
    >> Hi guys, I am using IIS on windowsxp and I am unable to
    >> run a asp file ,
    >> the error point to a line "SET objMail =
    >> Server.CreateObject("CDONTS.NewMail")"
    >>
    >> I would appericiate the help any help regarding how to
    >> install/use cdonts
    >
    >
    >.
    >
    Guest

  12. #11

    Default Re: cdonts

    Hi Tom,
    Take a look at directory c:\winnt\system32 »» win 2000/nt
    Take a look at directory c:\windows\system »» win 95/98
    and check if cdonts.dll is there, if not copy to there and register it:
    regsvr32 cdonts.dll »» register
    regsvr32 cdonts.dll /u »» unregister

    bye
    --


    Vilmar Brazăo de Oliveira

    "Tom" <anonymous@discussions.microsoft.com> escreveu na mensagem
    news:15d9301c44753$57c65590$a301280a@phx.gbl...
    > Hi guys, I am using IIS on windowsxp and I am unable to
    > run a asp file ,
    > the error point to a line "SET objMail =
    > Server.CreateObject("CDONTS.NewMail")"
    >
    > I would appericiate the help any help regarding how to
    > install/use cdonts

    Vilmar Guest

  13. #12

    Default Re: cdonts

    Use CDO, not cdonts which is obsoleted.

    Set mail = CreateObject("CDO.Message")
    Set mailConfig = CreateObject("CDO.Configuration")
    with mailConfig.fields
    .item("http://schemas.microsoft.com/cdo/configuration/sendusing").value =2
    .item("http://schemas.microsoft.com/cdo/configuration/smtpserver").value =
    "192.168.0.7"
    ' .item("http://schemas.microsoft.com/cdo/configuration/sendpassword").value
    = "somepassword"
    ' .item("http://schemas.microsoft.com/cdo/configuration/sendusername").value
    = "someaccount"
    .update
    End With

    Set mail.Configuration = mailConfig
    Mail.To = "someuser@domain.com"
    Mail.From = "youremail@blah.com"
    mail.Subject ="Test 123"
    mail.textbody = "Test 123"
    'mail.bodypart.CharSet = "utf-8"

    Mail.Send

    --
    compatible web farm Session replacement for Asp and Asp.Net
    [url]http://www.nieropwebconsult.nl/asp_session_manager.htm[/url]

    "Tom" <anonymous@discussions.microsoft.com> wrote in message
    news:15d9301c44753$57c65590$a301280a@phx.gbl...
    > Hi guys, I am using IIS on windowsxp and I am unable to
    > run a asp file ,
    > the error point to a line "SET objMail =
    > Server.CreateObject("CDONTS.NewMail")"
    >
    > I would appericiate the help any help regarding how to
    > install/use cdonts
    Egbert Nierop \(MVP for IIS\) Guest

  14. #13

    Default CDONTS

    I have windows small busniess server 2003 standard
    edition installed. I purchased e-commerce software which
    is configured to be used with microsoft CDONTS. I know
    this does not come with 2003 so i copied and loaded the
    cdonts.dll file from a 2000 machine and registered it to
    my 2003 server. However, emails are still not sending
    from my e-commerce software. I am pretty knew to this
    stuff so I'm not sure what to do. I contacted the
    company which I bought the e-commerce software and they
    said the problem lies with my server not their software.
    Can anybody help me solve this problem?

    thank,
    Steve
    steve Guest

  15. #14

    Default Re: CDONTS

    CDONTS is not supported on Windows Server 2003. If they sell you software,
    and claim that it will work on ´Windows Server 2003, they are doing wrong,
    and it is their software where the error lies in.

    I would tell them that i wanted a version using CDO instead, since it is
    supported.

    Anyway, have you looked in the Event Log for error messages?

    --
    Regards,
    Kristofer Gafvert - IIS MVP
    [url]http://www.ilopia.com[/url] - When you need help!


    "steve" <anonymous@discussions.microsoft.com> wrote in message
    news:1d62a01c453d5$139e7df0$a501280a@phx.gbl...
    > I have windows small busniess server 2003 standard
    > edition installed. I purchased e-commerce software which
    > is configured to be used with microsoft CDONTS. I know
    > this does not come with 2003 so i copied and loaded the
    > cdonts.dll file from a 2000 machine and registered it to
    > my 2003 server. However, emails are still not sending
    > from my e-commerce software. I am pretty knew to this
    > stuff so I'm not sure what to do. I contacted the
    > company which I bought the e-commerce software and they
    > said the problem lies with my server not their software.
    > Can anybody help me solve this problem?
    >
    > thank,
    > Steve

    Kristofer Gafvert Guest

  16. #15

    Default Re: cdonts

    You might try switching from CDONTS (which is being phased out) to the
    newer CDO such as can be seen in the E-mail Attachment example at
    [url]http://www.asp101.com/samples[/url]

    And here are changes I made to convert CDONTS stuff to be CDO stuff
    instead:

    o Change objCDONTS to be called objCDO (actually this is just a cosmetic
    change)

    o This:
    Set objCDONTS = Server.CreateObject("CDONTS.NewMail")

    Changed to this instead:
    Set objCDO = Server.CreateObject("CDO.Message")

    o This:
    objCDONTS.Body = strEmailBody

    Changed to this instead:
    objCDO.TextBody = strEmailBody

    o This removed:
    ' Importance.
    ' (0=Low, 1=Normal, 2=High)
    objCDONTS.Importance = 1

    Best regards,
    J. Paul Schmidt, Freelance ASP Web Designer
    [url]http://www.Bullschmidt.com[/url]
    ASP Design Tips, ASP Web Database Demo, Free ASP Bar Chart Tool...


    *** Sent via Devdex [url]http://www.devdex.com[/url] ***
    Don't just participate in USENET...get rewarded for it!
    Bullschmidt Guest

  17. #16

    Default Re: CDONTS

    They told me that as long as I loaded the cdonts.dll
    file, it should work fine. I'll ask the company again.
    How do I check the error Log?

    Thanks,
    Steve Lam
    >-----Original Message-----
    >CDONTS is not supported on Windows Server 2003. If they
    sell you software,
    >and claim that it will work on ´Windows Server 2003,
    they are doing wrong,
    >and it is their software where the error lies in.
    >
    >I would tell them that i wanted a version using CDO
    instead, since it is
    >supported.
    >
    >Anyway, have you looked in the Event Log for error
    messages?
    >
    >--
    >Regards,
    >Kristofer Gafvert - IIS MVP
    >[url]http://www.ilopia.com[/url] - When you need help!
    >
    >
    >"steve" <anonymous@discussions.microsoft.com> wrote in
    message
    >news:1d62a01c453d5$139e7df0$a501280a@phx.gbl...
    >> I have windows small busniess server 2003 standard
    >> edition installed. I purchased e-commerce software
    which
    >> is configured to be used with microsoft CDONTS. I know
    >> this does not come with 2003 so i copied and loaded the
    >> cdonts.dll file from a 2000 machine and registered it
    to
    >> my 2003 server. However, emails are still not sending
    >> from my e-commerce software. I am pretty knew to this
    >> stuff so I'm not sure what to do. I contacted the
    >> company which I bought the e-commerce software and they
    >> said the problem lies with my server not their
    software.
    >> Can anybody help me solve this problem?
    >>
    >> thank,
    >> Steve
    >
    >
    >.
    >
    Guest

  18. #17

    Default Re: CDONTS

    On 6/19/04 12:33 PM, in article 1e65f01c4561b$1a48a250$a601280a@phx.gbl,
    "anonymous@discussions.microsoft.com" <anonymous@discussions.microsoft.com>
    wrote:
    > They told me that as long as I loaded the cdonts.dll
    > file, it should work fine. I'll ask the company again.
    > How do I check the error Log?
    >
    > Thanks,
    > Steve Lam
    >
    >> -----Original Message-----
    >> CDONTS is not supported on Windows Server 2003. If they
    > sell you software,
    >> and claim that it will work on ´Windows Server 2003,
    > they are doing wrong,
    >> and it is their software where the error lies in.
    >>
    >> I would tell them that i wanted a version using CDO
    > instead, since it is
    >> supported.
    >>
    >> Anyway, have you looked in the Event Log for error
    > messages?
    >>
    >> --
    >> Regards,
    >> Kristofer Gafvert - IIS MVP
    >> [url]http://www.ilopia.com[/url] - When you need help!
    >>
    >>
    >> "steve" <anonymous@discussions.microsoft.com> wrote in
    > message
    >> news:1d62a01c453d5$139e7df0$a501280a@phx.gbl...
    >>> I have windows small busniess server 2003 standard
    >>> edition installed. I purchased e-commerce software
    > which
    >>> is configured to be used with microsoft CDONTS. I know
    >>> this does not come with 2003 so i copied and loaded the
    >>> cdonts.dll file from a 2000 machine and registered it
    > to
    >>> my 2003 server. However, emails are still not sending
    >>> from my e-commerce software. I am pretty knew to this
    >>> stuff so I'm not sure what to do. I contacted the
    >>> company which I bought the e-commerce software and they
    >>> said the problem lies with my server not their
    > software.
    >>> Can anybody help me solve this problem?
    >>>
    >>> thank,
    >>> Steve
    >>
    >>
    >> .
    >>
    Again I have to put this out there "CDONTS" is working on my 2003 web farm!
    It took all of maybe 10 mins to get it working to. It May not be supported
    but we donąt have any problems with it working.


    J5 - Eric A. Weintraub
    Sr. Network Administrator
    ScriptLogic Corp
    --


    Eric Weintraub Guest

  19. #18

    Default Re: CDONTS

    Well, it *should* work fine is not good enough (in my opinion). Since it is
    not supported, nobody knows what will happen if you use it, and if it fails
    (cdonts), you will not get any support by Microsoft. And besides, i *think*
    that it violates the EULA to copy it from another machine.

    Start->Run, type eventvwr.msc and press ENTER.

    --
    Regards,
    Kristofer Gafvert - IIS MVP
    [url]http://www.ilopia.com[/url] - When you need help!


    <anonymous@discussions.microsoft.com> wrote in message
    news:1e65f01c4561b$1a48a250$a601280a@phx.gbl...
    They told me that as long as I loaded the cdonts.dll
    file, it should work fine. I'll ask the company again.
    How do I check the error Log?

    Thanks,
    Steve Lam
    >-----Original Message-----
    >CDONTS is not supported on Windows Server 2003. If they
    sell you software,
    >and claim that it will work on ´Windows Server 2003,
    they are doing wrong,
    >and it is their software where the error lies in.
    >
    >I would tell them that i wanted a version using CDO
    instead, since it is
    >supported.
    >
    >Anyway, have you looked in the Event Log for error
    messages?
    >
    >--
    >Regards,
    >Kristofer Gafvert - IIS MVP
    >[url]http://www.ilopia.com[/url] - When you need help!
    >
    >
    >"steve" <anonymous@discussions.microsoft.com> wrote in
    message
    >news:1d62a01c453d5$139e7df0$a501280a@phx.gbl...
    >> I have windows small busniess server 2003 standard
    >> edition installed. I purchased e-commerce software
    which
    >> is configured to be used with microsoft CDONTS. I know
    >> this does not come with 2003 so i copied and loaded the
    >> cdonts.dll file from a 2000 machine and registered it
    to
    >> my 2003 server. However, emails are still not sending
    >> from my e-commerce software. I am pretty knew to this
    >> stuff so I'm not sure what to do. I contacted the
    >> company which I bought the e-commerce software and they
    >> said the problem lies with my server not their
    software.
    >> Can anybody help me solve this problem?
    >>
    >> thank,
    >> Steve
    >
    >
    >.
    >

    Kristofer Gafvert Guest

  20. #19

    Default Re: CDONTS

    There are several tabs in the event viewer: Application,
    Security, System, Directory Service, DNS Server, File
    Replication Service.

    There are errors in Application, System, and DNS Server.
    Which ones are relavant?

    Thanks,
    Steve
    >-----Original Message-----
    >Well, it *should* work fine is not good enough (in my
    opinion). Since it is
    >not supported, nobody knows what will happen if you use
    it, and if it fails
    >(cdonts), you will not get any support by Microsoft. And
    besides, i *think*
    >that it violates the EULA to copy it from another
    machine.
    >
    >Start->Run, type eventvwr.msc and press ENTER.
    >
    >--
    >Regards,
    >Kristofer Gafvert - IIS MVP
    >[url]http://www.ilopia.com[/url] - When you need help!
    >
    >
    ><anonymous@discussions.microsoft.com> wrote in message
    >news:1e65f01c4561b$1a48a250$a601280a@phx.gbl...
    >They told me that as long as I loaded the cdonts.dll
    >file, it should work fine. I'll ask the company again.
    >How do I check the error Log?
    >
    >Thanks,
    >Steve Lam
    >
    >>-----Original Message-----
    >>CDONTS is not supported on Windows Server 2003. If they
    >sell you software,
    >>and claim that it will work on ´Windows Server 2003,
    >they are doing wrong,
    >>and it is their software where the error lies in.
    >>
    >>I would tell them that i wanted a version using CDO
    >instead, since it is
    >>supported.
    >>
    >>Anyway, have you looked in the Event Log for error
    >messages?
    >>
    >>--
    >>Regards,
    >>Kristofer Gafvert - IIS MVP
    >>[url]http://www.ilopia.com[/url] - When you need help!
    >>
    >>
    >>"steve" <anonymous@discussions.microsoft.com> wrote in
    >message
    >>news:1d62a01c453d5$139e7df0$a501280a@phx.gbl.. .
    >>> I have windows small busniess server 2003 standard
    >>> edition installed. I purchased e-commerce software
    >which
    >>> is configured to be used with microsoft CDONTS. I
    know
    >>> this does not come with 2003 so i copied and loaded
    the
    >>> cdonts.dll file from a 2000 machine and registered it
    >to
    >>> my 2003 server. However, emails are still not sending
    >>> from my e-commerce software. I am pretty knew to this
    >>> stuff so I'm not sure what to do. I contacted the
    >>> company which I bought the e-commerce software and
    they
    >>> said the problem lies with my server not their
    >software.
    >>> Can anybody help me solve this problem?
    >>>
    >>> thank,
    >>> Steve
    >>
    >>
    >>.
    >>
    >
    >
    >.
    >
    Guest

  21. #20

    Default Re: CDONTS

    Hello,

    It is very difficult for me to tell, because that would require me to have a
    complete list of possible errors. And since we do not yet know the problem,
    i can ofcourse not tell you what error message to look for.

    --
    Regards,
    Kristofer Gafvert - IIS MVP
    [url]http://www.ilopia.com[/url] - When you need help!


    <anonymous@discussions.microsoft.com> wrote in message
    news:1ef1401c4579a$bd8497a0$a601280a@phx.gbl...
    There are several tabs in the event viewer: Application,
    Security, System, Directory Service, DNS Server, File
    Replication Service.

    There are errors in Application, System, and DNS Server.
    Which ones are relavant?

    Thanks,
    Steve
    >-----Original Message-----
    >Well, it *should* work fine is not good enough (in my
    opinion). Since it is
    >not supported, nobody knows what will happen if you use
    it, and if it fails
    >(cdonts), you will not get any support by Microsoft. And
    besides, i *think*
    >that it violates the EULA to copy it from another
    machine.
    >
    >Start->Run, type eventvwr.msc and press ENTER.
    >
    >--
    >Regards,
    >Kristofer Gafvert - IIS MVP
    >[url]http://www.ilopia.com[/url] - When you need help!
    >
    >
    ><anonymous@discussions.microsoft.com> wrote in message
    >news:1e65f01c4561b$1a48a250$a601280a@phx.gbl...
    >They told me that as long as I loaded the cdonts.dll
    >file, it should work fine. I'll ask the company again.
    >How do I check the error Log?
    >
    >Thanks,
    >Steve Lam
    >
    >>-----Original Message-----
    >>CDONTS is not supported on Windows Server 2003. If they
    >sell you software,
    >>and claim that it will work on ´Windows Server 2003,
    >they are doing wrong,
    >>and it is their software where the error lies in.
    >>
    >>I would tell them that i wanted a version using CDO
    >instead, since it is
    >>supported.
    >>
    >>Anyway, have you looked in the Event Log for error
    >messages?
    >>
    >>--
    >>Regards,
    >>Kristofer Gafvert - IIS MVP
    >>[url]http://www.ilopia.com[/url] - When you need help!
    >>
    >>
    >>"steve" <anonymous@discussions.microsoft.com> wrote in
    >message
    >>news:1d62a01c453d5$139e7df0$a501280a@phx.gbl.. .
    >>> I have windows small busniess server 2003 standard
    >>> edition installed. I purchased e-commerce software
    >which
    >>> is configured to be used with microsoft CDONTS. I
    know
    >>> this does not come with 2003 so i copied and loaded
    the
    >>> cdonts.dll file from a 2000 machine and registered it
    >to
    >>> my 2003 server. However, emails are still not sending
    >>> from my e-commerce software. I am pretty knew to this
    >>> stuff so I'm not sure what to do. I contacted the
    >>> company which I bought the e-commerce software and
    they
    >>> said the problem lies with my server not their
    >software.
    >>> Can anybody help me solve this problem?
    >>>
    >>> thank,
    >>> Steve
    >>
    >>
    >>.
    >>
    >
    >
    >.
    >

    Kristofer Gafvert Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139