Results 1 to 3 of 3

Thread: html formatted email???

  1. #1
    Join Date
    Nov 2005
    Location
    Austin TX,US
    Posts
    71
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default html formatted email???

    Hi,

    I'm wondering if there's a way to send nicely formatted emails -- using html or the like-- that still keeps the same format when being opened by receivers regardless of email softwares the clients are using outlook, eudora, lotus notes, hotmail, yahoo,....

    Thanks for your input. I'm completely clueless about this.

  2. #2
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    Some email clients simply don't support html. Most do, and especially most modern ones do.
    Some users do disable this for security, though, and some clients do the same by default.

    To send html, you need a header (for content-type I think) attached to the top of the email.

    Google "email html header" and you should get what you need.

    However, depending on how you are doing it, this can be a bit difficult.

    Using php, for example, to automatically send emails allows the programmer to specify headers. In your average email client, that isn't possible. Many do have an option to "send as html" or the like.
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  3. #3
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    that still keeps the same format when being opened by receivers regardless of email softwares the clients are using
    The problem is not the software, but the rendering engine used to display the HTML. For example, Microsoft Outlook uses Trident, Internet Explorer's rendering engine; Thunderbird uses Gecko; web-based email systems will use the current browser.
    To send html, you need a header (for content-type I think) attached to the top of the email.
    Content-Type: text/html
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

Bookmarks

Posting Permissions

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