- Posts: 4
- Thank you received: 0
Sending emails with Cc or Bcc to the shop
- jgc@jgc.pt
-
Topic Author
- Offline
Less
More
13 years 5 months ago #99071
by jgc@jgc.pt
Sending emails with Cc or Bcc to the shop was created 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!
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.
13 years 5 months ago - 13 years 5 months ago #99163
by Xavier
Replied by Xavier on topic Sending emails with Cc or Bcc to the shop
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
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.153 seconds