Guest Posted March 14, 2007 Posted March 14, 2007 . Hi, My store seems to send out invoices to the customer but doesn't send an email to the store owner or email addresses in the "extra order email" section. Does anyone know why this could be? Thanks for any help, Michael .
Guest Posted March 14, 2007 Posted March 14, 2007 Are you having the email sent to a aol.com or yahoo.com email address ? They generally block autoemails. If this is the case then create an email at your domain name. . Hi, My store seems to send out invoices to the customer but doesn't send an email to the store owner or email addresses in the "extra order email" section. Does anyone know why this could be? Thanks for any help, Michael .
Guest Posted March 14, 2007 Posted March 14, 2007 No, there are no yahoo, aol or gmail accounts :( I have sent test emails via outlook to the accounts and they get there fine... Thanks, Are you having the email sent to a aol.com or yahoo.com email address ? They generally block autoemails. If this is the case then create an email at your domain name.
Guest Posted March 14, 2007 Posted March 14, 2007 . I found this in the checkout_process.php // begin replacement section for Email Subject contribution tep_mail($order->customer['firstname'] . ' ' . $order->customer['lastname'], $order->customer['email_address'], EMAIL_TEXT_SUBJECT . ' ' . $insert_id , $email_order, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS); // end replacement section for Email Subject contribution // send emails to other people if (SEND_EXTRA_ORDER_EMAILS_TO != '') { // next line replacement for Email Subject contribution tep_mail('', SEND_EXTRA_ORDER_EMAILS_TO, EMAIL_TEXT_SUBJECT_1 . ' ' . $insert_id , $email_order2, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS); Is the send emails to other people bit right? I have some email addresses in the "extra emails to" section of admin... .
djmonkey1 Posted March 14, 2007 Posted March 14, 2007 Are the extra order emails saved in this format: Name 1 <email@address1>, Name 2 <email@address2> ? Do, or do not. There is no try. Order Editor 5.0.6 "Ultra Violet" is now available! For support or to post comments, suggestions, etc, please visit the Order Editor support thread.
Guest Posted March 14, 2007 Posted March 14, 2007 Are the extra order emails saved in this format: Name 1 <email@address1>, Name 2 <email@address2> ? . They are indeed... .
Guest Posted March 14, 2007 Posted March 14, 2007 . It is definitely something to do with the extra order emails as all other email function work... Thanks for any help, .
Guest Posted March 14, 2007 Posted March 14, 2007 // Begin DADDROY'S SHORT EMAIL // lets start with the email confirmation $email_order = THANK_YOU . ' ' . $order->customer['firstname'] . THANKYOU_MESSAGE . "\n" . STORE_NAME . "\n" . EMAIL_SEPARATOR . "\n" . EMAIL_TEXT_ORDER_NUMBER . ' ' . $insert_id . "\n" . EMAIL_TEXT_INVOICE_URL . ' ' . tep_href_link2(FILENAME_MY_ORDERS, 'order_id=' . $insert_id, 'NONSSL', false) . "\n" . EMAIL_TEXT_DATE_ORDERED . ' ' . strftime(DATE_FORMAT_SHORT) . "\n\n"; if ($order->info['comments']) { $email_order .= tep_db_output($order->info['comments']) . "\n\n"; } $email_order .= EMAIL_TEXT_PRODUCTS . "\n" . EMAIL_SEPARATOR . "\n" . $products_ordered . EMAIL_SEPARATOR . "\n"; for ($i=0, $n=sizeof($order_totals); $i<$n; $i++) { $email_order .= strip_tags($order_totals[$i]['title']) . ' ' . strip_tags($order_totals[$i]['text']) . "\n"; } if ($order->content_type != 'virtual') { $email_order .= "\n" . EMAIL_TEXT_DELIVERY_ADDRESS . "\n" . EMAIL_SEPARATOR . "\n" . tep_address_label($customer_id, $sendto, 0, '', "\n") . "\n"; } $email_order .= "\n" . EMAIL_TEXT_BILLING_ADDRESS . "\n" . EMAIL_SEPARATOR . "\n" . tep_address_label($customer_id, $billto, 0, '', "\n") . "\n\n"; if (is_object($$payment)) { $email_order .= EMAIL_TEXT_PAYMENT_METHOD . "\n" . EMAIL_SEPARATOR . "\n"; $payment_class = $$payment; $email_order .= $payment_class->title . "\n\n"; if ($payment_class->email_footer) { $email_order .= $payment_class->email_footer . "\n\n"; } } //add company name and VAT number to bottom of email $email_order .= "\n\n\n\n" . "Nord Anglia Lifetime Development – South West, trading as Lifetime Publishing. VAT number: 403-5061-02"; $email_order2 = ORDER_MESSAGE . $order->customer['firstname'] . ' ' . $order->customer['lastname'] . ORDER_MESSAGE2 . "\n\n"; $email_order2 .= EMAIL_TEXT_PRODUCTS . "\n" . EMAIL_SEPARATOR . "\n" . $products_ordered . EMAIL_SEPARATOR . "\n"; for ($i=0, $n=sizeof($order_totals); $i<$n; $i++) { $email_order2 .= strip_tags($order_totals[$i]['title']) . ' ' . strip_tags($order_totals[$i]['text']) . "\n"; } $email_order2 .= EMAIL_SEPARATOR . "\n" . EMAIL_TEXT_PAYMENT_METHOD2 . $payment_class->title . "\n\n" . ORDER_END2 . "\n\n"; // begin replacement section for Email Subject contribution tep_mail($order->customer['firstname'] . ' ' . $order->customer['lastname'], $order->customer['email_address'], EMAIL_TEXT_SUBJECT . ' ' . $insert_id , $email_order, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS); // end replacement section for Email Subject contribution // send emails to other people if (SEND_EXTRA_ORDER_EMAILS_TO != '') { // next line replacement for Email Subject contribution tep_mail('', SEND_EXTRA_ORDER_EMAILS_TO, EMAIL_TEXT_SUBJECT_1 . ' ' . $insert_id , $email_order2, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS); } // End of DADDROY'S SHORT EMAIL As you can see I am using a mod....is this the problem? I tried it with a clean checkout_process.php file and it didn't work either. Oh and an important part I have failed to mention it is on a Windows 2003 Server wth IIS6, PHP5 Thanks, Michael .
Guest Posted March 14, 2007 Posted March 14, 2007 . FOUND THIS: I have the cart setup to Send Extra Order Emails To Eje <[email protected]> which is according to the details how it supposed to be done. When I change the Send Extra Order Emails to read [email protected] then I no longer received this dreaded Header already sent error message on line 500 in email.php Suggestion to the development team is to update the "help" text under this heading to not suggest people to do Name 1 <email@address1> This is the current text "Send extra order emails to the following email addresses, in this format: Name 1 <email@address1>, Name 2 <email@address2>" Should be change to read Send extra order emails to the following email addresses, in this format: email@address1, email@address2 This at a very minimum or the code that send the extra e-mail should be updated to send valid formated rcpt to string to the mail function. HTH .
Recommended Posts
Archived
This topic is now archived and is closed to further replies.