<?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: Send confirmation email to client after entries have been reviewed and approved</title>
		<link>https://legacy.forums.gravityhelp.com/topic/send-confirmation-email-to-client-after-entries-have-been-reviewed-and-approved</link>
		<description>Gravity Support Forums Topic: Send confirmation email to client after entries have been reviewed and approved</description>
		<language>en-US</language>
		<pubDate>Thu, 23 Apr 2026 15:17:06 +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/send-confirmation-email-to-client-after-entries-have-been-reviewed-and-approved" rel="self" type="application/rss+xml" />

		<item>
			<title>Vayu on "Send confirmation email to client after entries have been reviewed and approved"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/send-confirmation-email-to-client-after-entries-have-been-reviewed-and-approved#post-26357</link>
			<pubDate>Thu, 26 May 2011 05:06:37 +0000</pubDate>
			<dc:creator>Vayu</dc:creator>
			<guid isPermaLink="false">26357@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I have now coded a way to send a confirmation email from the admin entry page.  I will share it here in case others might need this function. :-)&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;// ------------------------------------------------------------------------------------
// ------------------------------------------------------------------------------------
/**
* Gravity form - add a send confirmation email to entry admin panel.
*/
add_action(&#38;quot;gform_entry_info&#38;quot;, &#38;quot;confirmation_button&#38;quot;, 10, 2);
function confirmation_button($form_id, $lead) {

    if(!class_exists(&#38;quot;GFEntryDetail&#38;quot;))
		require_once(GFCommon::get_base_path() . &#38;quot;/entry_detail.php&#38;quot;);

	if(!class_exists(&#38;quot;RGFormsModel&#38;quot;))
		require_once(GFCommon::get_base_path() . &#38;quot;/forms_model.php&#38;quot;);

	if(!class_exists(&#38;quot;GFCommon&#38;quot;))
		require_once(GFCommon::get_base_path() . &#38;quot;/common.php&#38;quot;);

	if( class_exists(&#38;quot;RGFormsModel&#38;quot;) &#38;amp;&#38;amp; class_exists(&#38;quot;GFCommon&#38;quot;) ) { ?&#38;gt;

		&#38;lt;h4&#38;gt;Send email&#38;lt;/h4&#38;gt;
		&#38;lt;p&#38;gt;Send a confirmation email to the user&#38;lt;/p&#38;gt;
		&#38;lt;input type=&#38;quot;submit&#38;quot; name=&#38;quot;send_admin_notification&#38;quot; value=&#38;quot;&#38;lt;?php _e(&#38;quot;Send to user&#38;quot;, &#38;quot;gravityforms&#38;quot;) ?&#38;gt;&#38;quot; class=&#38;quot;button&#38;quot; style=&#38;quot;width:100px;&#38;quot; onclick=&#38;quot;jQuery(&#38;#39;#action&#38;#39;).val(&#38;#39;send_user_notification&#38;#39;);&#38;quot;/&#38;gt;

		&#38;lt;?php

		if( isset($_POST[&#38;#39;action&#38;#39;]) &#38;amp;&#38;amp; trim($_POST[&#38;#39;action&#38;#39;]) === &#38;#39;send_user_notification&#38;#39; ) {

			// Initiate the form
			$form = RGFormsModel::get_form_meta($form_id);

			// The AutoResponder is not activated in the admin, so activate it here by giving it the ID number of the email field.
			$form[&#38;quot;autoResponder&#38;quot;][&#38;#39;toField&#38;#39;] = 31;

			// Send an email to the user
			GFCommon::send_user_notification($form, $lead);

			// Send email to the admin
			//GFCommon::send_admin_notification($form, $lead);

			echo &#38;#39;&#38;lt;p&#38;gt;The email has been sendt.&#38;lt;/p&#38;gt;&#38;#39;;

		}

	}

}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;If there is a better way to do this I am certainly open for suggestions.&#60;/p&#62;
&#60;p&#62;Vayu
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Vayu on "Send confirmation email to client after entries have been reviewed and approved"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/send-confirmation-email-to-client-after-entries-have-been-reviewed-and-approved#post-24661</link>
			<pubDate>Mon, 02 May 2011 16:40:46 +0000</pubDate>
			<dc:creator>Vayu</dc:creator>
			<guid isPermaLink="false">24661@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;That sounds great, thanks Carl! :-)&#60;/p&#62;
&#60;p&#62;I see that the &#34;gform_entry_info&#34; hook will be an appropriate one to look at for starters.&#60;/p&#62;
&#60;p&#62;Vayu
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Carl Hancock on "Send confirmation email to client after entries have been reviewed and approved"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/send-confirmation-email-to-client-after-entries-have-been-reviewed-and-approved#post-24641</link>
			<pubDate>Mon, 02 May 2011 12:29:21 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">24641@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;It's not a built in feature as you guessed, but there are plenty of API hooks that would allow you to add this type of functionality.  All of the hooks/filters are documented in the Developer Documentation area of the Documentation here:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Developer_Docs&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Developer_Docs&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Hooks for adding elements to the Entry Detail page are going to be under the Administration hooks.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Vayu on "Send confirmation email to client after entries have been reviewed and approved"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/send-confirmation-email-to-client-after-entries-have-been-reviewed-and-approved#post-24617</link>
			<pubDate>Mon, 02 May 2011 07:17:49 +0000</pubDate>
			<dc:creator>Vayu</dc:creator>
			<guid isPermaLink="false">24617@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi.&#60;/p&#62;
&#60;p&#62;I have client that wants a buffet booking system on his website.&#60;br /&#62;
When a customer has booked a certain buffet via the website the owner of the site wants to go through the entries and confirm them before a receipt is sent out to the customer.&#60;/p&#62;
&#60;p&#62;Therefore, what I am after is some sort of function inside the admin area for an entry, where after reviewing the booking, the administrator can click on a button and send out a confirmation email to the customer.&#60;/p&#62;
&#60;p&#62;I assume this is not a built-in feature in GF, but would it be possible to do this using the API, so I would't have to hack the core?&#60;br /&#62;
Any ideas or help on this matter will be much appreciated. :-)&#60;br /&#62;
Vayu
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
