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. The Lounge
  3. How do I post HTML code, a web page, as an HTML Email? [modified]

How do I post HTML code, a web page, as an HTML Email? [modified]

Scheduled Pinned Locked Moved The Lounge
questionhtmlcomhardware
10 Posts 4 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.
  • J Offline
    J Offline
    JohnnyG
    wrote on last edited by
    #1

    I've got some HTML code on a website/blog with embedded links so I want to send it as a HTML email. All I have is Comcast, google, and hotmail and I don't see how I can do it. I tried using raw HTML code in the text. I borrowed this from viewing the source of a TigerDirect email I received in my comcast E-mail (via the web interface): [EDIT] I initially forgot to add the DOCTYPE line and for some reason I am unable to edit and add it to the PRE code below

    TigerDirect.com
    ...
    ...

    Okay, if I haven't made myself clear, does anyone know how I can post HTML code into an email so that it appears a HTML email when received by the recipient? Do I somehow need to set content-type and any other part of the header and can I do it with web based email accounts such as hotmail, google, or Comcast? Thanks.

    modified on Tuesday, May 20, 2008 6:47 PM

    K B Z 4 Replies Last reply
    0
    • J JohnnyG

      I've got some HTML code on a website/blog with embedded links so I want to send it as a HTML email. All I have is Comcast, google, and hotmail and I don't see how I can do it. I tried using raw HTML code in the text. I borrowed this from viewing the source of a TigerDirect email I received in my comcast E-mail (via the web interface): [EDIT] I initially forgot to add the DOCTYPE line and for some reason I am unable to edit and add it to the PRE code below

      TigerDirect.com
      ...
      ...

      Okay, if I haven't made myself clear, does anyone know how I can post HTML code into an email so that it appears a HTML email when received by the recipient? Do I somehow need to set content-type and any other part of the header and can I do it with web based email accounts such as hotmail, google, or Comcast? Thanks.

      modified on Tuesday, May 20, 2008 6:47 PM

      K Offline
      K Offline
      keyboard warrior
      wrote on last edited by
      #2

      perhaps you should ask about this in the web development forum ? i hear they know something about brackets in those parts. we like to stick to more booz related conversation over here.

      ----------------------------------------------------------- "When I first saw it, I just thought that you really, really enjoyed programming in java." - Leslie Sanford

      J 1 Reply Last reply
      0
      • K keyboard warrior

        perhaps you should ask about this in the web development forum ? i hear they know something about brackets in those parts. we like to stick to more booz related conversation over here.

        ----------------------------------------------------------- "When I first saw it, I just thought that you really, really enjoyed programming in java." - Leslie Sanford

        J Offline
        J Offline
        JohnnyG
        wrote on last edited by
        #3

        I know you're being kind and I really appreciate it and I'll try to be too. I know that I shouldn't ask programming questions here and I didn't think it really was one cuz I simply want to just put something into my email message that makes my HTML code(d) message appear like a real HTML email on the receiving end. I considered using something like the Web Dev forum but thought they'd probably be more familiar with how to code HTML and not necessarily web-email. So, I was hoping for some quick how-to or reference. But, now that I thought of it "google is my friend" too :)

        K 1 Reply Last reply
        0
        • J JohnnyG

          I've got some HTML code on a website/blog with embedded links so I want to send it as a HTML email. All I have is Comcast, google, and hotmail and I don't see how I can do it. I tried using raw HTML code in the text. I borrowed this from viewing the source of a TigerDirect email I received in my comcast E-mail (via the web interface): [EDIT] I initially forgot to add the DOCTYPE line and for some reason I am unable to edit and add it to the PRE code below

          TigerDirect.com
          ...
          ...

          Okay, if I haven't made myself clear, does anyone know how I can post HTML code into an email so that it appears a HTML email when received by the recipient? Do I somehow need to set content-type and any other part of the header and can I do it with web based email accounts such as hotmail, google, or Comcast? Thanks.

          modified on Tuesday, May 20, 2008 6:47 PM

          B Offline
          B Offline
          Bert delaVega
          wrote on last edited by
          #4

          It's just a mime type for the html. I'm not sure who your target audience is, but you shouldn't assume that their email client will display HTML and are better off sending a link to it instead. Gmail (and others) suppress graphics and such and you have to authorize it so see it. I'd rather just get a plain old text email with a link.

          J 1 Reply Last reply
          0
          • J JohnnyG

            I know you're being kind and I really appreciate it and I'll try to be too. I know that I shouldn't ask programming questions here and I didn't think it really was one cuz I simply want to just put something into my email message that makes my HTML code(d) message appear like a real HTML email on the receiving end. I considered using something like the Web Dev forum but thought they'd probably be more familiar with how to code HTML and not necessarily web-email. So, I was hoping for some quick how-to or reference. But, now that I thought of it "google is my friend" too :)

            K Offline
            K Offline
            keyboard warrior
            wrote on last edited by
            #5

            http://www.mailchimp.com/resources/how_to_code_html_emails.phtml[^] that's probably pretty thorough. they push their own product, but the stuff they say is pretty right on.

            ----------------------------------------------------------- "When I first saw it, I just thought that you really, really enjoyed programming in java." - Leslie Sanford

            J 1 Reply Last reply
            0
            • J JohnnyG

              I've got some HTML code on a website/blog with embedded links so I want to send it as a HTML email. All I have is Comcast, google, and hotmail and I don't see how I can do it. I tried using raw HTML code in the text. I borrowed this from viewing the source of a TigerDirect email I received in my comcast E-mail (via the web interface): [EDIT] I initially forgot to add the DOCTYPE line and for some reason I am unable to edit and add it to the PRE code below

              TigerDirect.com
              ...
              ...

              Okay, if I haven't made myself clear, does anyone know how I can post HTML code into an email so that it appears a HTML email when received by the recipient? Do I somehow need to set content-type and any other part of the header and can I do it with web based email accounts such as hotmail, google, or Comcast? Thanks.

              modified on Tuesday, May 20, 2008 6:47 PM

              B Offline
              B Offline
              Bert delaVega
              wrote on last edited by
              #6

              The quick answer (depending on your email client) is just cut & paste what you want to send.

              1 Reply Last reply
              0
              • K keyboard warrior

                http://www.mailchimp.com/resources/how_to_code_html_emails.phtml[^] that's probably pretty thorough. they push their own product, but the stuff they say is pretty right on.

                ----------------------------------------------------------- "When I first saw it, I just thought that you really, really enjoyed programming in java." - Leslie Sanford

                J Offline
                J Offline
                JohnnyG
                wrote on last edited by
                #7

                Thanks for the link, very informative and educational.

                1 Reply Last reply
                0
                • B Bert delaVega

                  It's just a mime type for the html. I'm not sure who your target audience is, but you shouldn't assume that their email client will display HTML and are better off sending a link to it instead. Gmail (and others) suppress graphics and such and you have to authorize it so see it. I'd rather just get a plain old text email with a link.

                  J Offline
                  J Offline
                  JohnnyG
                  wrote on last edited by
                  #8

                  Well, my audience is really just a few friends and family. I've done some research on a topic and thought they'd be interested. I don't need to send or refer to images, I just want to send them links with some commentary text in between. Now they could possibly just end up cutting and pasting the links into their browser but I thought if I could code it as an embedded link, meaning I'd need an HTML email, it would be much easier for them to just click on it. Of course, I realize that some might not have an HTML email client but I thought, no big deal, its mostly reference links. Now reading the site linked above, it is suggested that you send it multipart-alternative MIME format, which provides both plain text and HTML versions but must be hosted on a server. I might do that if I can find a free web server service.

                  1 Reply Last reply
                  0
                  • J JohnnyG

                    I've got some HTML code on a website/blog with embedded links so I want to send it as a HTML email. All I have is Comcast, google, and hotmail and I don't see how I can do it. I tried using raw HTML code in the text. I borrowed this from viewing the source of a TigerDirect email I received in my comcast E-mail (via the web interface): [EDIT] I initially forgot to add the DOCTYPE line and for some reason I am unable to edit and add it to the PRE code below

                    TigerDirect.com
                    ...
                    ...

                    Okay, if I haven't made myself clear, does anyone know how I can post HTML code into an email so that it appears a HTML email when received by the recipient? Do I somehow need to set content-type and any other part of the header and can I do it with web based email accounts such as hotmail, google, or Comcast? Thanks.

                    modified on Tuesday, May 20, 2008 6:47 PM

                    Z Offline
                    Z Offline
                    Zhat
                    wrote on last edited by
                    #9

                    Is this URGENTZ??

                    J 1 Reply Last reply
                    0
                    • Z Zhat

                      Is this URGENTZ??

                      J Offline
                      J Offline
                      JohnnyG
                      wrote on last edited by
                      #10

                      Nyet! It can wait some. I've been doing some research and I think I know how to do it now. Will take some coding but I could probably do with Visual Basic.

                      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