how to make 2 admin email adresses

thiemek

No avatar

2007-05-25 16:33

how can i send 2 emails to different email adresses when order has being placed
example: sales@****.* and admin@****.*

» Quick.Cart v1.x

merci

No avatar

2007-05-28 10:29

thiemek - open file core/orders.php and find:

if( $GLOBALS['config']['mail_informing'] === true )
      @
mailEMAIL$GLOBALS['lang']['mail_title'], $GLOBALS['lang']['mail_txt'], 'FROM: '.EMAIL );

you can try add second e-mail in that code in function mail like that:

@mailEMAIL"nobody@example.com"$GLOBALS['lang']['mail_title'], $GLOBALS['lang']['mail_txt'], 'FROM: '.EMAIL );

if it won't work replace code I paste here as first with this:

if( $GLOBALS['config']['mail_informing'] === true ){
      @
mailEMAIL$GLOBALS['lang']['mail_title'], $GLOBALS['lang']['mail_txt'], 'FROM: '.EMAIL );
      @
mail"nobody@example.com"$GLOBALS['lang']['mail_title'], $GLOBALS['lang']['mail_txt'], 'FROM: '.EMAIL );
    }

Back to top
about us | contact