SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Evangelist
    Join Date
    Nov 2003
    Location
    Brisbane, Australia
    Posts
    408
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    HTML Email In Web Client

    Hi All

    I have forms on my website the email me and my clients in HTML. They need to stay HTML and not be plain text.

    If we check the email in Outlook etc it works perfectly fine.

    We use Horde as a web based client and when we try to open the emails in that you can only see the HTML.

    Is there a way to make the email work in Horde and any other web based client?

    Thanks for your help.

    mrmbarnes

  2. #2
    SitePoint Wizard bronze trophy chris.upjohn's Avatar
    Join Date
    Apr 2010
    Location
    Melbourne, AU
    Posts
    2,191
    Mentioned
    17 Post(s)
    Tagged
    1 Thread(s)
    What are the current headers your using for the email? Is the Content-type set to text/html?

  3. #3
    SitePoint Evangelist
    Join Date
    Nov 2003
    Location
    Brisbane, Australia
    Posts
    408
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Currently I am using:

    $headers = "From: email@domain.com\r\n";
    $headers .= "Bcc: email@anotherdomain.com\r\n";
    $headers .= "Content-type: text/html; charset=iso-8859-1\r\n";

    Any ideas?

  4. #4
    SitePoint Wizard bronze trophy chris.upjohn's Avatar
    Join Date
    Apr 2010
    Location
    Melbourne, AU
    Posts
    2,191
    Mentioned
    17 Post(s)
    Tagged
    1 Thread(s)
    I have done a little bit of reading around and it looks like you need access to the horde folder to change the inline configuration value which allows HTML to be displayed as HTML rather then plain text.

  5. #5
    SitePoint Member
    Join Date
    Feb 2011
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks for the discussion. It really helps out me.

    Thanks.


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
  •