Skip to main content

Sending emails with Cc or Bcc to the shop

More
13 years 5 months ago #99071 by jgc@jgc.pt
Hi,

I woulkd like to know how can we receive in an email account of our website a copy of the emails that Hikashop send autyomaticaly to customers.

Thanks in advance!

Please Log in or Create an account to join the conversation.

More
13 years 5 months ago - 13 years 5 months ago #99163 by Xavier
Hi,

To add an email as CC for each email sent to the customer , you can create a plugin based on the function "onBeforeMailSend()" to add the email as recipient.

The functions to add a recipient as CC or BCC are:
$mail->addBCC('email@address.com');
or
$mail->addCC('email@address.com');

Use: $mail = hikashop_get('class.mail'); to load the $mail object.

www.hikashop.com/fr/support/documentatio...tml#onBeforeMailSend
Last edit: 13 years 5 months ago by Xavier.

Please Log in or Create an account to join the conversation.

Time to create page: 0.135 seconds
Powered by Kunena Forum