<?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: Data Injection inside confirmation email</title>
		<link>https://legacy.forums.gravityhelp.com/topic/data-injection-inside-confirmation-email</link>
		<description>Gravity Support Forums Topic: Data Injection inside confirmation email</description>
		<language>en-US</language>
		<pubDate>Wed, 08 Apr 2026 21:48:41 +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/data-injection-inside-confirmation-email" rel="self" type="application/rss+xml" />

		<item>
			<title>Chris Hajer on "Data Injection inside confirmation email"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/data-injection-inside-confirmation-email#post-34754</link>
			<pubDate>Wed, 07 Sep 2011 17:45:00 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">34754@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;You will want to use the &#60;a href='http://www.gravityhelp.com/documentation/page/Gform_pre_submission' rel=&#34;nofollow&#34;&#62;gform_pre_submission&#60;/a&#62; filter so you can modify the notification before it's sent.  It should be no problem.  You will need to decide how you pull a coupon code and keep track that it has been used so it's not given out again.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>edenzz12 on "Data Injection inside confirmation email"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/data-injection-inside-confirmation-email#post-34738</link>
			<pubDate>Wed, 07 Sep 2011 16:12:21 +0000</pubDate>
			<dc:creator>edenzz12</dc:creator>
			<guid isPermaLink="false">34738@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Gravitiy users and hackers,&#60;/p&#62;
&#60;p&#62;I hope someone can help me here, as i'm not the best programmer for this kind of stuff&#60;/p&#62;
&#60;p&#62;Problem&#60;br /&#62;
After a user submits a form, they get a confirmation email with a nice thank you. But what i want inside that email, is a unique code (i got 1000s of them) that the user can use to buy something nice from a other website &#60;/p&#62;
&#60;p&#62;To be stupid clear here..  : If there are 1000 unique coupon codes, and it will display 1 coupon after a customer sends his data, there should be only 999 left ofcourse in the database somewhere. &#60;/p&#62;
&#60;p&#62;Possible solution (is there one?)&#60;br /&#62;
I can inject those codes inside the SQL database and make a simple php script that inject this inside the delivered email.&#60;/p&#62;
&#60;p&#62;How do i do that?&#60;/p&#62;
&#60;p&#62;Frank Edens&#60;br /&#62;
PS : If someone has a better idea, i'm open for that also :)
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
