<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Gravity Support Forums Topic: Adding Carbon Copy</title>
		<link>https://legacy.forums.gravityhelp.com/topic/adding-carbon-copy</link>
		<description>Gravity Support Forums Topic: Adding Carbon Copy</description>
		<language>en-US</language>
		<pubDate>Fri, 03 Apr 2026 19:39:14 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.1</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>https://legacy.forums.gravityhelp.com/search.php</link>
		</textInput>
		<atom:link href="https://legacy.forums.gravityhelp.com/rss/topic/adding-carbon-copy" rel="self" type="application/rss+xml" />

		<item>
			<title>Rob Harrell on "Adding Carbon Copy"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/adding-carbon-copy#post-55272</link>
			<pubDate>Sat, 14 Apr 2012 13:51:16 +0000</pubDate>
			<dc:creator>Rob Harrell</dc:creator>
			<guid isPermaLink="false">55272@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thanks for posting your solution.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>BandonRandon on "Adding Carbon Copy"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/adding-carbon-copy#post-55201</link>
			<pubDate>Fri, 13 Apr 2012 13:46:35 +0000</pubDate>
			<dc:creator>BandonRandon</dc:creator>
			<guid isPermaLink="false">55201@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thanks that did the trick &#60;/p&#62;
&#60;p&#62;For anyone who wants to do this here is a snippit:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;add_action(&#38;quot;gform_pre_submission_filter&#38;quot;, &#38;quot;my_submit_form&#38;quot;, 10, 2);

function my_submit_form($form){
       //check if checkbox value is set to the correct value
	if($_POST[&#38;#39;input_id&#38;#39;] ==&#38;quot;value&#38;quot;){  //id and value of the checkbox here

       //Send Email to the OP
    	$bcc  = $_POST[&#38;quot;input_id&#38;quot;]; // id of the email field here

    //setting notification BCC field to the list of fields
    $form[&#38;quot;notification&#38;quot;][&#38;quot;bcc&#38;quot;] = $bcc; 

     return $form;  //return

	}
//box not checked return
   else{ return $form;  }
}&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
			<title>Alex Cancado on "Adding Carbon Copy"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/adding-carbon-copy#post-55185</link>
			<pubDate>Fri, 13 Apr 2012 10:33:06 +0000</pubDate>
			<dc:creator>Alex Cancado</dc:creator>
			<guid isPermaLink="false">55185@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;If I understand correctly, all you need to do is set the email in the notification's BCC field.&#60;br /&#62;
The following doc page should point you in the right direction.&#60;br /&#62;
&#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Gform_pre_submission_filter&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Gform_pre_submission_filter&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>BandonRandon on "Adding Carbon Copy"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/adding-carbon-copy#post-55168</link>
			<pubDate>Fri, 13 Apr 2012 03:18:47 +0000</pubDate>
			<dc:creator>BandonRandon</dc:creator>
			<guid isPermaLink="false">55168@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;There are lots of post on this but none of them give an example of how one might go about it so I'm hoping to create a post here that others can use to solve this issue until it becomes a core feature. &#60;/p&#62;
&#60;p&#62;I'm trying to allow the sender to send themselves a copy of the message. Right now I have it so on post submission if the checkbox is checked I'm getting the email field but I need to know the best way to duplicate the notifications. &#60;/p&#62;
&#60;p&#62;Here is what I have:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;add_action(&#38;quot;gform_post_submission_1&#38;quot;, &#38;quot;my_submit_form&#38;quot;, 10, 2);

function my_submit_form($entry){
//if checkbox value is set to true then display the email address
if($entry[&#38;quot;4.1&#38;quot;] ==&#38;quot;true&#38;quot;){
die ($entry[&#38;quot;2&#38;quot;]);
}
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;This is just a simple test to get the email address. Now my question is, can I use a built in form feature to send a copy of the message or should i use &#60;code&#62;wp_mail&#60;/code&#62; or &#60;code&#62;mailto()&#60;/code&#62; instead? An example would be awesome
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
