Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How Does Osc Store Send_extra_order_emails_to Php Constant?


GeorgeP

Recommended Posts

Hi,

 

I cant seem to find how osC stores the email adresses that the store owner writes in the admin part of the store under: SEND_EXTRA_ORDER_EMAILS_TO

 

Quote from the Admin part of osC (as found in Configuration -> My store) :

 

" Send extra order emails to the following email addresses, in this format: Name 1 <email@address1>, Name 2 <email@address2> "

 

Now, in checkout_process.php we have the php constant SEND_EXTRA_ORDER_EMAILS_TO which from what I can see on my store only retains : Name 1 Name 2

 

How does osC access the actual adresses ? Is it an array or something ? Can someone point it out to me? (is this some kind of problem from my own store?)

 

Thank you

 

ps: I need this because i have modified my store to send smtp relay emails

Link to comment
Share on other sites

  • 1 year later...

I hit this post trying to work out where

SEND_EXTRA_ORDER_EMAILS_TO

was defined

 

For any one else who wants an answer to this question look in

application_top.php in includes (and admin/includes)

and find the code below

define($configuration['cfgKey'], $configuration['cfgValue']);

 

SEND_EXTRA_ORDER_EMAILS_TO

is defined in the admin area in the shop configuration,

and stored in the database

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...