Send "A contact request has been made " CC to the originator

  • Posts: 98
  • Thank you received: 7
  • Hikashop Business
5 years 10 months ago #302530

-- url of the page with the problem -- : www.2-rad-schwede.de
-- HikaShop version -- : 4.0.1
-- Joomla version -- : 3.9.1
-- PHP version -- : 7.0.16



Hi
I'm struggling to send the Contact Request Mail also in CC to creator.
thanks and best regards
Markus

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
5 years 10 months ago #302553

Hi,

We don't allow for that in order to avoid spam. If you add that, it means than anyone can have your website send an email to any email address they want. That's a good way to have your website email server flagged as a spammer and have all your website emails end up in the spam by default or even get rejected altogether by some email servers with stricter rules.
I don't think that the benefits of having the contact email CCed is greater than all the other emails ending up as flagged as spam so I don't recommend doing that.
Now, if you really want to do it, you can add such code in the preload of the contact email via the menu System>Emails:

$mail->cc_email = $data->element->email;

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

Time to create page: 0.055 seconds
Powered by Kunena Forum