Jump to content

php mail dont send images


Karyna

Recommended Posts

hi every one ;)

im driving crazy maybe im missing sometihing i have a php code that give a shoping cart that my customers shop in my website... the final page look like this

final.php displays:

 

    QTY                              DESCRIPTION                            PRICE

    ------|---------------------------------------|----------------------|-----------|

      3  |  professional noteboks            | (picture of item)  |  3.95    |

    ------|---------------------------------------|----------------------|-----------|

      2  | drawing paints                        | (picture of item) |  2.00  |

    ------|---------------------------------------|----------------------|-----------|

                                                                              Total    |  5.95  |

                                  [sent to my mail]

 

the button has the link to another php page (send.php) that has this code

<?php

$name=$_POST['name'];

$mail=$_POST['mail'];

$subject = "Send me this items";

$message =  file_get_contents('http://www.mydomain.net/final.php') ; 

$headers .= "Return-Path: [email protected]\r\n";

$headers .= 'MIME-Version: 1.0' . "\r\n";

$headers .= 'Content-Type: text/html; charset=ISO-8859-1'."\r\n";

$headers .= "From: [email protected]\r\n";

 

mail($mail, $subject, $message, $headers);

?>

 

ALL ITS FINE!!! but only recieve an empty table NO IMAGES, NO INFO, NO LOGOS  :'( :'(

am i missing something in the code??

 

TNX A LOTT

Link to comment
https://forums.phpfreaks.com/topic/244457-php-mail-dont-send-images/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.