Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. CDONTS ... URGENT

CDONTS ... URGENT

Scheduled Pinned Locked Moved Web Development
htmlsysadminhelpquestion
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    syedhassan4
    wrote on last edited by
    #1

    Hello guys ... I am fasing a problem which I am unable to handle. I am using CDONTS object for mailling (since only object support by the server X| ). I am using HTML fromatting in that mail, when sending mail display on the HOTMAIL it is display good (all HTML formatting is worked) but when i saw this mail in any other mail server like YAHOO and in OUTLOOK box the HTML formatting did not WORK and worse is that the HTML TAGS also displayed in the message. How can i handle this ... and what i should do ... Waitting for your urgent reply .... Thanx in advance

    D Z 2 Replies Last reply
    0
    • S syedhassan4

      Hello guys ... I am fasing a problem which I am unable to handle. I am using CDONTS object for mailling (since only object support by the server X| ). I am using HTML fromatting in that mail, when sending mail display on the HOTMAIL it is display good (all HTML formatting is worked) but when i saw this mail in any other mail server like YAHOO and in OUTLOOK box the HTML formatting did not WORK and worse is that the HTML TAGS also displayed in the message. How can i handle this ... and what i should do ... Waitting for your urgent reply .... Thanx in advance

      D Offline
      D Offline
      DFU23
      wrote on last edited by
      #2

      Ensure that the BodyFormat is set to 0. Here is the NewMail Object[^] for reference. That is the only thing I can think of off-hand. HTH

      Wally Atkins
      Newport News, VA, USA

      1 Reply Last reply
      0
      • S syedhassan4

        Hello guys ... I am fasing a problem which I am unable to handle. I am using CDONTS object for mailling (since only object support by the server X| ). I am using HTML fromatting in that mail, when sending mail display on the HOTMAIL it is display good (all HTML formatting is worked) but when i saw this mail in any other mail server like YAHOO and in OUTLOOK box the HTML formatting did not WORK and worse is that the HTML TAGS also displayed in the message. How can i handle this ... and what i should do ... Waitting for your urgent reply .... Thanx in advance

        Z Offline
        Z Offline
        Zeeshan Mehmood
        wrote on last edited by
        #3

        Hi Syed Hassan, Here is the solution. <% dim strMessage myMail strMessage = "<center>Welcome My Friend</center>" strMessage = strMessage & "<br><font color=red>How are you?</font>" Set myMail = Server.CreateObject("CDONTS.NewMail") myMail.From = "somewhere@anydomain.com" myMail.To = "somefriend@anyotherdomain.com" myMail.Subject = "Hello" myMail.Message = strMessage myMail.Send Response.Write("Mail has been sent successfully.") set myMail = NOTHING %> Zeeshan Mehmood

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups