More than one email-address

arboeh

No avatar

2006-08-30 08:38

Is there a way to send order-notification-mails to more than one address?
E.g.: xyz@lycos.de; abc@web.de

wewior (OpenSolution)

Avatar: wewior

2006-08-30 09:11

try to edit file "core/orders.php" and in function saveOrder change line:
@mail( EMAIL, $GLOBALS['lang']['mail_title'], $GLOBALS['lang']['mail_txt'], 'FROM: '.EMAIL );
to
@mail( EMAIL.', abc@web.de', $GLOBALS['lang']['mail_title'], $GLOBALS['lang']['mail_txt'], 'FROM: '.EMAIL );
not tested but should work

arboeh

No avatar

2006-08-30 10:43

Doesn't work! Mail is only sent to address defined in admins area!

wewior (OpenSolution)

Avatar: wewior

2006-08-30 11:25

have you wrote there correct email address??? try to remove @ symbol before function mail() and check if there are any errors...

arboeh

No avatar

2006-08-30 12:14

Doesn't work - code-snippet:

if( $GLOBALS['config']['mail_informing'] === true )
//@mail( EMAIL, $GLOBALS['lang']['mail_title'], $GLOBALS['lang']['mail_txt'], 'FROM: '.EMAIL );
mail( EMAIL.', arend.boehmer@web.de', $GLOBALS['lang']['mail_title'], $GLOBALS['lang']['mail_txt'], 'FROM: '.EMAIL );

Back to top
about us | contact