Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Emails from store have wrong From details


Bursar

Recommended Posts

Posted

I've been fiddling about setting up my store, and am just getting to looking at the checkout part.

 

I've filled in the Admin part of OSC as follows:

 

Store Name: MyStore

Store Owner: MyName

E-Mail Address: info at MyStore.com

E-Mail From: MyStore <info at MyStore.com>

 

I have put @ signs in instead of the word at... :) When I place a test order, the email comes from:

 

MyName [info at MyStore.com]

 

To change the name associated with the address, I have to change the Store Owner.

 

If I choose to manually email someone using the admin panel, then the E-Mail From address is used.

 

What's the best solution to this? Do I change the Store Owner to something like 'MyStore' or do I hack the following bit of code?

 

Line 258 of checkout_process.php:

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

Posted

I know that when I changed it, I just went into the "email" section of the tools, I just put in the email that I wanted to have as a "from". It just stayed there for me.

 

Not sure if it helps.

Archived

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

×
×
  • Create New...