SitePoint Sponsor

User Tag List

Results 1 to 4 of 4

Threaded View

  1. #1
    SitePoint Evangelist
    Join Date
    Jan 2001
    Location
    earth
    Posts
    501
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Red face help me on this form, please.

    PHP Code:
                                     <?php 
     
    $recipient 
    $mailto
    $headers ="From:$mailfrom";
    $subject "?";
    $message .= $msg;
    mail($recipient,$subject,$message,$headers);
    ?>

    It is a validation of a form. With this code I can received the email notification at the recipient email.

    But when I try to send an image....
    PHP Code:
                                 <?php 
     
    $recipient 
    $mailto
    $headers ="From:$mailfrom";
    $subject "?";
    $message .= '<html><head><title></title></head></head><body><img src="[url="http://www.domain.com/"]http://www.domain.com[/url]/04.jpg">\n';
    $message .= $msg;
    $message .= '</body></html>';
    mail($recipient,$subject,$message,$headers);
    ?>

    I don't received the email... It goes to the spam.

    Can anyone help me? Thank you.
    Last edited by magi; Aug 10, 2004 at 07:16.


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
  •