Mail Sending Problem

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • AMT India
    New Member
    • Feb 2007
    • 64

    Mail Sending Problem

    In my application there is an email sending option.But the email is missing its images are missing,and the content of the mail is displayed in html tags.

    this is the example code
    [code=php]

    $msg="<table width='800px' >
    <tr><td colspan='2'><im g src='www.siteur l.com/img/head-lug-ora.jpg' /></a></td>Hi good morning</tr></table>';

    $to = $recemail;
    $subject = 'subject';
    $headers = "MIME-Version: 1.0\r\n";
    $headers .= "Content-type: text/html; charset=iso-8859-1\r\n";
    $headers .= "From:<test@tes t.com>";
    $mail_sent =mail($to,$subj ect ,$msg,$headers)

    [/code]

    Regards,
    AMT
  • aktar
    New Member
    • Jul 2006
    • 105

    #2
    Look at the source code of this message in ur email client.
    Some clients eg Yahoo modifies URLs before dumping.

    Another thing you could try is adding the http:// before the www

    Comment

    • AMT India
      New Member
      • Feb 2007
      • 64

      #3
      Originally posted by aktar
      Look at the source code of this message in ur email client.
      Some clients eg Yahoo modifies URLs before dumping.

      Another thing you could try is adding the http:// before the www

      I have tried with http, but its not working

      Comment

      Working...