chrometweaks.org

What free or inexpensive website creation software and iPage hosting service is best?

Click Here To View All Answers...


First question I have is What free or inexpensive website creation software and iPage hosting service is best? Looking forward for any comment. 2nd question I got is.. Hi there,.

I've noticed that when a customer placeses an order, an extra order email is sent to my email address..

But as the senser of that email, OSC uses my own email address..

It's much easier to use the email address of the customer instead, so you can reply from out outlook and keep the reply's, instead of doing that in OSC..

Does any one know where to look for the sending of the extra order email?.

Or even tell me how to do it..

Thanks...

Comments (217)

That's a good question. I'm not sure what is the answer to that question. I'll do some investigation and get back to you if I discover an good answer. You should email the people at iPage as they probably could answer your iPage question..

Comment #1

Ok, Thanks..

So probably by replacing STORE_OWNER_EMAIL_ADDRESS with CUSTOMERS_EMAIL_ADDRESS will do the trick then?.

I'll try it...

Comment #2

I dont think so, STORE_OWNER_EMAIL_ADDRESS is a constant variable, I dont beleive Customer email is.

Probally have to be something like $order_info['customer_email'].

I have not looked that indepth in to the code. if you cant figure it out I might be able to look closer tommorow..

Comment #3

Ok,.

That was probably too easy..

Tep_mail('', SEND_EXTRA_ORDER_EMAILS_TO, EMAIL_TEXT_SUBJECT, $email_order, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS);.

SEND_EXTRA_ORDER_EMAILS_TO.

This looks like the email address I want to send the extra email to (my own).

EMAIL_TEXT_SUBJECT.

This should be the email header.

$email_order.

This should be the content of the order.

STORE_OWNER.

This is now my name as stated in the configuration, but would be nice to be altered to customers_firstname and customers_lastname..

STORE_OWNER_EMAIL_ADDRESS.

This is the emailaddress of the webshop as stated in the configuration, but should be altered in the customers email address..

I don't know how to replace the last 2 for what I want..

When simply replacing STORE_OWNER for CUSTOMERS_LASTNAME (to start with, as first and lastname are more difficult) I get customer_lastname [extraorderemailaddress@mydomain.nl].

When simply replacing STORE_OWNER_EMAIL_ADDRESS into CUSTOMER_EMAIL_ADDRESS, I receive an email like CUSTOMERS_EMAIL_ADDRESS@mymailserver.nl.

So anyone, any help please..

Comment #4

$order_info['customer_email'] makes the whole email address disapear..

So only the store owners name is presented..

Comment #5

Why do you want to send 2 order emails to the customer?..

Comment #6

He does not, he wants the Order Confirmation that is emailed to him, to appear to be comming from the customer, not the store.....

To do that change.

// send emails to other people.

 if (SEND_EXTRA_ORDER_EMAILS_TO != '') {.

   tep_mail('', SEND_EXTRA_ORDER_EMAILS_TO, EMAIL_TEXT_SUBJECT, $email_order, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS);.

 }.

To.

// send emails to other people.

 if (SEND_EXTRA_ORDER_EMAILS_TO != '') {.

   tep_mail('', SEND_EXTRA_ORDER_EMAILS_TO, EMAIL_TEXT_SUBJECT, $email_order, $order->customer['firstname']' '$order->customer['lastname'], $order->customer['email_address']);.

 }.

This is NOT test, Use at your own Risk, I accept no Resposibty for any errors, or down time.

This post has been edited by.

The_ancient.

: 10 July 2004, 15:41..

Comment #7

Well one I can think of off the bat is so that when an order is placed he can reply right to the client, using the "reply" feature of any email program., instead of copy and pasting the address in to a new Message..

Comment #8

Mike, you're the man, not only did you understand what I wanted, but you also gave me the solution..

It works, thanks...

Comment #9

No problem.

Glad to see it works...

Everytime I help someone here I learn more myself, which is the reason I do it,.

By discecting the code and helping others, the solutions I provide to my clients come all that faster, better, and more accurate........

Comment #10

Hi there,.

I've noticed that when a customer placeses an order, an extra order email is sent to my email address..

But as the senser of that email, OSC uses my own email address..

It's much easier to use the email address of the customer instead, so you can reply from out outlook and keep the reply's, instead of doing that in OSC..

Does any one know where to look for the sending of the extra order email?.

Or even tell me how to do it..

Thanks...

Comment #11

Checkout_process.php.

Lines 264 through 265.

That is what sends the Email to you..

Comment #12


This question was taken from a support group/message board and re-posted here so others can learn from it.