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. Problem in HTML [modified]

Problem in HTML [modified]

Scheduled Pinned Locked Moved Web Development
4 Posts 2 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.
  • M Offline
    M Offline
    Madhu Nair
    wrote on last edited by
    #1

    Hi, I am generating HTML Content of mail at runtime from my asp page. Everything works fine. Except for some links and in tags. "!" creep in to the HTML tag from somewhere in the Email Message. I have no idea where this character is coming from. It is showing some links like [](! http://www.gmail.com)If i save the generated the HTML code in text file and Preview it is displaying properly. Problem occurs only when the mail is received by the client Sample code:[](http!<br mode=)

    A 1 Reply Last reply
    0
    • M Madhu Nair

      Hi, I am generating HTML Content of mail at runtime from my asp page. Everything works fine. Except for some links and in tags. "!" creep in to the HTML tag from somewhere in the Email Message. I have no idea where this character is coming from. It is showing some links like [](! http://www.gmail.com)If i save the generated the HTML code in text file and Preview it is displaying properly. Problem occurs only when the mail is received by the client Sample code:[](http!<br mode=)

      A Offline
      A Offline
      Ashfield
      wrote on last edited by
      #2

      Have you tried debugging and seeing where things go wrong. That should be your first step.

      Bob Ashfield Consultants Ltd Proud to be a 2009 Code Project MVP

      M 1 Reply Last reply
      0
      • A Ashfield

        Have you tried debugging and seeing where things go wrong. That should be your first step.

        Bob Ashfield Consultants Ltd Proud to be a 2009 Code Project MVP

        M Offline
        M Offline
        Madhu Nair
        wrote on last edited by
        #3

        I copied the entire HTML Code generated and pasted in a text file and created an HTML file and everything works fine. The same thing works on my local server also. But the problem occurs only when i run the same from my Live Server using CDO.

        A 1 Reply Last reply
        0
        • M Madhu Nair

          I copied the entire HTML Code generated and pasted in a text file and created an HTML file and everything works fine. The same thing works on my local server also. But the problem occurs only when i run the same from my Live Server using CDO.

          A Offline
          A Offline
          Ashfield
          wrote on last edited by
          #4

          Well, if the characters are in the file then I can only assume that your application is doing it, so back to my original sugestion, try debugging. How HTML displays is entirely down to the browser, some are less picky than others. Have you actually examined the data in say notepad to see if the characters are there? If they are, then its your application doing it, it will not be done by magic.

          Bob Ashfield Consultants Ltd Proud to be a 2009 Code Project MVP

          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