Skip to main content

HTML EMAIL ISSUE 1212 Responses

Last post: 1 month, 2 weeks ago | Thread started: Jul 1, 08, 2:49 p.m.

RespondNew TopicDisable Images

  • mimeartist

    I'm using the code from here to send an HTML email... (second block of code)
    http://www.webcheatsheet.com/PHP…

    now to my email address it appears fine in gmail... but to another one it appears like this in gmail...

    Content-Type: multipart/alternative; boundary="PHP-alt-8794a1c87d7d84…
    Message-Id: <20080701213001.E803F165633@web2.intrascape.com>
    Date: Tue, 1 Jul 2008 22:30:01 +0100 (BST)

    --PHP-alt-8794a1c87d7d840d72759d…
    Content-Type: text/plain; charset="iso-8859-1"
    Content-Transfer-Encoding: 7bit

    Hello World!!!
    This is simple text email message.

    --PHP-alt-8794a1c87d7d840d72759d…
    Content-Type: text/html; charset="iso-8859-1"
    Content-Transfer-Encoding: 7bit

    <h2>Hello World!</h2>
    <p>This is something with HTML formatting.</p>

    --PHP-alt-8794a1c87d7d840d72759d…

    ANY IDEAS WHY!

    Jul 1, 08, 2:49 p.m. – Permalink
  • mimeartist

    didn't know you could use <strong>bold</strong>

    next note >add note

    You must be logged in to add a note. Login now or register for an account.

    Cancel
    Dog-earJul 1, 08, 2:53 p.m. – Permalink
  • mimeartist

    <strong>bold</strong>

    next note >add note

    You must be logged in to add a note. Login now or register for an account.

    Cancel
    Dog-earJul 1, 08, 2:53 p.m. – Permalink
  • mimeartist

    <p>This is something with <strong>bold</strong> formatting.</p>

    next note >add note

    You must be logged in to add a note. Login now or register for an account.

    Cancel
    Dog-earJul 1, 08, 2:53 p.m. – Permalink
  • ESKEMA

    talking to yourself?

    • lol, sorry. don't know shit about html...ESKEMA
    + add note

    You must be logged in to add a note. Login now or register for an account.

    Cancel
    Dog-earJul 1, 08, 2:55 p.m. – Permalink
  • welded

    I get similar results when I send email from my local system, but sending from the server is just fine. Could that be it?

    (Only checked in Mail, I should mention.)

    next note >add note

    You must be logged in to add a note. Login now or register for an account.

    Cancel
    Dog-earJul 1, 08, 8:13 p.m. – Permalink
  • SoulFly

    Can you explain this further?

    >now to my email address it appears fine in gmail... but to another one it appears like this in gmail...

    next note >add note

    You must be logged in to add a note. Login now or register for an account.

    Cancel
    Dog-earJul 1, 08, 9:13 p.m. – Permalink
  • Fizik

    this could get messy

    I'd look into those encoding settings....

    and maybe some tips here:
    http://www.email-standards.org/
    http://www.campaignmonitor.com/r…

    next note >add note

    You must be logged in to add a note. Login now or register for an account.

    Cancel
    Dog-earJul 1, 08, 10:34 p.m. – Permalink
  • airey

    it may be that the php your using just isn't any good and for email environments that don't support HTML it isn't supplying a text only version but showing the whole php code'n'all. i could be totally wrong of course.

    also, have you looked at the notes from other users on that page you linked, that may be a similar issue?

    next note >add note

    You must be logged in to add a note. Login now or register for an account.

    Cancel
    Dog-earJul 1, 08, 10:38 p.m. – Permalink
  • mimeartist

    ... the strange thing is that if i send to my account it is fine... e.g. (which i pick up in gmail) but if i send it to say it loses some of the formatting

    next note >add note

    You must be logged in to add a note. Login now or register for an account.

    Cancel
    Dog-earJul 1, 08, 11:46 p.m. – Permalink
  • mimeartist

    anyone?

    next note >add note

    You must be logged in to add a note. Login now or register for an account.

    Cancel
    Dog-earJul 2, 08, 7:03 a.m. – Permalink
  • SoulFly

    Google, yahoo, hotmail and other webmails have their own CSS and can overwrite your CSS.
    There are different triggers that can set-up their CSS or that avoids it.
    It is not unusual for this to happen.

    next note >add note

    You must be logged in to add a note. Login now or register for an account.

    Cancel
    Dog-earJul 2, 08, 7:36 a.m. – Permalink
  • mimeartist

    yeah it wasn't the css doing it, it was just not applying the PHP alt stuff properly... worked though when sending from my own domain... so I'm doing a workaround

    next note >add note

    You must be logged in to add a note. Login now or register for an account.

    Cancel
    Dog-earJul 2, 08, 8:08 a.m. – Permalink

Login or Register to respond to this

Skip to main content