<?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: Is it possible to use gform_notification_email to customise the from field(s)?</title>
		<link>https://legacy.forums.gravityhelp.com/topic/is-it-possible-to-use-gform_notification_email-to-customise-the-from</link>
		<description>Gravity Support Forums Topic: Is it possible to use gform_notification_email to customise the from field(s)?</description>
		<language>en-US</language>
		<pubDate>Thu, 23 Apr 2026 18:32:36 +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/is-it-possible-to-use-gform_notification_email-to-customise-the-from" rel="self" type="application/rss+xml" />

		<item>
			<title>Chris Hajer on "Is it possible to use gform_notification_email to customise the from field(s)?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/is-it-possible-to-use-gform_notification_email-to-customise-the-from#post-32397</link>
			<pubDate>Fri, 12 Aug 2011 11:59:34 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">32397@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thank you for the update!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>sevendayweekend on "Is it possible to use gform_notification_email to customise the from field(s)?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/is-it-possible-to-use-gform_notification_email-to-customise-the-from#post-32380</link>
			<pubDate>Fri, 12 Aug 2011 09:58:08 +0000</pubDate>
			<dc:creator>sevendayweekend</dc:creator>
			<guid isPermaLink="false">32380@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;That totally works! Thanks.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Carl Hancock on "Is it possible to use gform_notification_email to customise the from field(s)?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/is-it-possible-to-use-gform_notification_email-to-customise-the-from#post-31850</link>
			<pubDate>Fri, 05 Aug 2011 14:31:37 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">31850@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I don't believe there is currently a hook for the Send From email address, only the Send To.  Can you not configure the Send From in the Notification settings in the admin?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>sevendayweekend on "Is it possible to use gform_notification_email to customise the from field(s)?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/is-it-possible-to-use-gform_notification_email-to-customise-the-from#post-31818</link>
			<pubDate>Fri, 05 Aug 2011 09:47:40 +0000</pubDate>
			<dc:creator>sevendayweekend</dc:creator>
			<guid isPermaLink="false">31818@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I'm using the gform_notification_email filter to customise where the notification email is sent. I'm currently using to send to the WP author of the post that the form is used on. I now need to customise the from/ sender fields of this notification email.&#60;/p&#62;
&#60;p&#62;Currently, the notification email is sent from the user's email entered into the form itself. This has worked pretty well on our website ( &#60;a href=&#34;http://www.barbadospropertylist.com/listings/alleynerealestate/no-219-1st-avenue-heywoods-park-st-peter/#enquiry_form&#34; rel=&#34;nofollow&#34;&#62;http://www.barbadospropertylist.com/listings/alleynerealestate/no-219-1st-avenue-heywoods-park-st-peter/#enquiry_form&#60;/a&#62; ), but we have recently been running into a lot of problems with overly aggressive spam filters. So, I figured sending the notifications from 1 centralised email would help as I can then ask all of my authors/ agents to white list 1 email address.&#60;/p&#62;
&#60;p&#62;I would love to add a $email_from field to this, but don't know how. I searched the forum and couldn't find anything relevant. I hope it's possible to customise the from field(s).&#60;/p&#62;
&#60;p&#62;Here is my code from functions.php.&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;add_filter( &#38;#39;gform_notification_email_3&#38;#39;, &#38;#39;route_notification&#38;#39;, 10, 2 );
function route_notification($email_to, $entry) {
	global $post;
	//$email_to = get_the_author_email();
	$email_to = get_the_author_meta(&#38;#39;email&#38;#39;, $post-&#38;gt;post_author);
	return $email_to;
}&#60;/code&#62;&#60;/pre&#62;</description>
		</item>

	</channel>
</rss>
