Guest Starzstuff Posted February 15, 2007 Share Posted February 15, 2007 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: Quote Link to comment Share on other sites More sharing options...
wilded1 Posted July 5, 2007 Share Posted July 5, 2007 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.