If you mean CC and BCC, the Contact Form doesn't do it.
But you can customize it to do so.
The form itself is rendered by an XSLT function Composite.Forms.ContactForm:
Here, you can see that it uses a C# function with parameters to send an email
The C# function in turn uses the static SendMail method where it makes a message from the values in the input parameters.
I think, you can:
But you can customize it to do so.
The form itself is rendered by an XSLT function Composite.Forms.ContactForm:
Here, you can see that it uses a C# function with parameters to send an email
<f:function name="Composite.Forms.ContactForm.Functions.Send">
...
</f:function>
It is available in /App_Code/Composite/FormsContactForm/Functions.csThe C# function in turn uses the static SendMail method where it makes a message from the values in the input parameters.
I think, you can:
-
extend this method with 1 more parameter, say, string cc
and add its value to mailMessage.CC = cc; -
extend a public static method Send with similar parameter for 'CC'. This method calls "SendMail"
-
Then in the XSLT function I mentioned above, you should also add another parameter - for CC. And also pass its value to the Composite.Forms.ContactForm.Functions.Send. Something like:
<f:function name="Composite.Forms.ContactForm.Functions.Send">
...
<f:param name="toCCEmail" value="{$toCCEmail}" />
...
</f:function>