Urgent help needed, PHP mime issue...?

Discussion in 'PHP' started by strgraphics, Sep 23, 2012.

  1. #1
    Hi friends,
    am using jhtml textarea in my application, so am able to copy html directly into my textarea box like...

    aa.jpg

    But when i send email, its giving blank image in my inbox like..

    bb.jpg

    And am using php..

    
    $to = $info['email'];
    $subject = "$sub";
    $fmm = "$c";
    $headers = "From: Strk<$fmm> \r\n";
    $headers .= "Content-Type: text/html; charset=ISO-8859-1\r\n";
    $body = "$body";
    
    PHP:
    pls help me..
    Thanks lotzzzzzzzzzzz.
     
    strgraphics, Sep 23, 2012 IP
  2. strgraphics

    strgraphics Active Member

    Messages:
    710
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    53
    #2
    But if i saw source code in my mail box with firebug its showing...

    <img width="\&quot;650px\&quot;" border="\&quot;0\&quot;" alt="\&quot;str-graphics.com\&quot;">
     
    strgraphics, Sep 23, 2012 IP
  3. happpy

    happpy Well-Known Member

    Messages:
    926
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    120
    #3
    after pasting the html into your wysiwig, try looking at the then-generated sourcecode.
     
    happpy, Sep 23, 2012 IP
  4. pxranger

    pxranger Peon

    Messages:
    30
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    How about echoing out the contents of $body before the email is sent? I'd follow that trail.
     
    pxranger, Sep 24, 2012 IP