Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Admin mail.php Not Sending Images


gaspower

Recommended Posts

Hello,

 

In admin/mail.php I have the below and it will allow attachments to be sent with email, but images are not sent, just gives link to images..

 

$mimemessage->add_text($message);
$mimemessage->build_message();
while ($mail = tep_db_fetch_array($mail_query)) {
$mimemessage->send($mail['customers_firstname'] . ' ' . $mail['customers_lastname'], $mail['customers_email_address'], '', $from, $subject);
									  };

 

 

If I use this code, it sends images, but attachments are not sent?? Can someone let me know what I am missing.

$mimemessage->add_text($message);
$mimemessage->build_message();
while ($mail = tep_db_fetch_array($mail_query)) {
tep_mail($mail['customers_firstname'] . ' ' . $mail['customers_lastname'], $mail['customers_email_address'], $subject, $message, $from_name, $from, true);
									  };

 

Thanks DFB

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...