Jump to content

Admin Email for orders


Guest Starzstuff

Recommended Posts

Guest Starzstuff

I am new to all this and I have looked at other posts on the subject and its a bit confusing. What i want to know is how to get the admin email for orders to more than one address and is the problem of the admin not getting emails fixed in v 3.0.15. I did a test order and I didnt get the email.

:unsure:

Link to comment
Share on other sites

  • 4 months later...

I had the same request from a client today and this is what i did.

edited a couple of php's which will add an extra field in the settings page.

Add your additional email addresses to this new field seperated by comma for each address.

1.  Open: admin/includes/settings/index.php



Find:

*****************************************************************************



<tr>



	<td width="30%" class="tdText"><strong><?php echo $lang['admin']['settings']['email_address'];?></strong><br />



	<?php echo $lang['admin']['settings']['email_address_desc'];?></td>



		<td align="left"><input type="text" size="35" class="textbox" name="config[masterEmail]" value="<?php echo $config['masterEmail']; ?>" /></td>



	</tr>



*****************************************************************************

*****************************************************************************



Add after:

*****************************************************************************



// added by anynet to email orders to list.

<tr>

  <td width="30%" class="tdText"><strong>Optional Sendto emails</strong><br />



	(This is used to add additional email addresses to send order info to) Comma seperated.</td>



		<td align="left"><input type="text" size="35" class="textbox" name="config[masterEmailTo]" value="<?php echo $config['masterEmailTo']; ?>" /></td>



	</tr>



*****************************************************************************

*****************************************************************************

Save file.



 



2.	Open: includes/content/gateway.inc.php



Find:

*****************************************************************************



$send = $mail->send(array($config['masterEmail']), $config['mailMethod']);



*****************************************************************************

*****************************************************************************



Add after:

*****************************************************************************



// added by anynet to email orders to list.

$send = $mail->send(array($config['masterEmailTo']), $config['mailMethod']); 



*****************************************************************************

*****************************************************************************



Save file.



EOF

Hope this helps

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.

Guest
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...