How to add CC or BCC to Magento Contact form?

My client was requested to add a cc & bcc to contact form.Can anyone help me?

Team Leader Asked on July 4, 2018 in MAGENTO.
Add Comment
1 Answer(s)


//Multiple BCC email address
//Multiple CC email address
$sender = Array('name' => 'test','email' => '');
$mailSubject='Your subject here';
$vars = Array('name' => 'Your message');
->sendTransactional($templateId, $sender, $email, null, $vars, $storeId);


Team Leader Answered on July 6, 2018.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.