gaspower Posted May 31, 2009 Posted May 31, 2009 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
Recommended Posts
Archived
This topic is now archived and is closed to further replies.