evoltuionnet Posted May 28, 2004 Share Posted May 28, 2004 help in admin email for all customers, i get an error: Warning: Bad Message destination in C:\apache\htdocs\catalog\admin\mail.php on line 47 Fatal error: Cannot redeclare class smtp in C:\apache\htdocs\catalog\admin\includes\classes\class.smtp.inc on line 12 my code for admin/email.php is: while ($mail = tep_db_fetch_array($mail_query)) { $mimemessage->send($mail['customers_firstname'] . ' ' . $mail['customers_lastname'], $mail['customers_email_address'], '', $from, $subject); $headers .= "From:" . "Team@" . STORE_NAME . "<" . STORE_OWNER_EMAIL_ADDRESS . ">" . "\r\n"; mail($HTTP_POST_VARS['customers_email_address'], $subject, $message,$headers); } Link to comment Share on other sites More sharing options...
Guest Posted May 28, 2004 Share Posted May 28, 2004 where is your mail server setup at? also, for a windows system you need to change settings in the catalog/admin section read the documentation written it explains quite a bit of what you need to know Link to comment Share on other sites More sharing options...
evoltuionnet Posted May 29, 2004 Author Share Posted May 29, 2004 i'm using the built in mail function of PHP, not the mail module of the oscommerce, i can't make it work with my shop. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.