<?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: Attaching PDF to User Notification Clarification</title>
		<link>https://legacy.forums.gravityhelp.com/topic/attaching-pdf-to-user-notification-clarification</link>
		<description>Gravity Support Forums Topic: Attaching PDF to User Notification Clarification</description>
		<language>en-US</language>
		<pubDate>Sat, 04 Apr 2026 12:10:03 +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/attaching-pdf-to-user-notification-clarification" rel="self" type="application/rss+xml" />

		<item>
			<title>Chris Hajer on "Attaching PDF to User Notification Clarification"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/attaching-pdf-to-user-notification-clarification#post-92425</link>
			<pubDate>Sat, 17 Nov 2012 18:59:52 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">92425@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thanks for the update. We'll close this one.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>davidjoydotnet on "Attaching PDF to User Notification Clarification"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/attaching-pdf-to-user-notification-clarification#post-92319</link>
			<pubDate>Sat, 17 Nov 2012 07:36:31 +0000</pubDate>
			<dc:creator>davidjoydotnet</dc:creator>
			<guid isPermaLink="false">92319@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Yes. Thank you.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Attaching PDF to User Notification Clarification"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/attaching-pdf-to-user-notification-clarification#post-92178</link>
			<pubDate>Sat, 17 Nov 2012 01:13:53 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">92178@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;David, it looks like you were able to resolve your issue, based on this?&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.gravityhelp.com/forums/topic/simple-user-notification-attachments#post-91150&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/forums/topic/simple-user-notification-attachments#post-91150&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>davidjoydotnet on "Attaching PDF to User Notification Clarification"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/attaching-pdf-to-user-notification-clarification#post-91138</link>
			<pubDate>Wed, 14 Nov 2012 14:33:46 +0000</pubDate>
			<dc:creator>davidjoydotnet</dc:creator>
			<guid isPermaLink="false">91138@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi, I'm using the code below to send out a standard attachment with each user notification. The notifications get sent out, however, with no attachment. Any idea what I'm doing wrong?&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;# add attachment feature to user notification
add_filter(&#38;quot;gform_user_notification_attachments&#38;quot;, &#38;quot;add_attachment&#38;quot;, 10, 3);
function add_attachment($attachments, $lead, $form){

    //getting wordpress upload folder
    $upload = wp_upload_dir();
    $upload_path = $upload[&#38;quot;/var/www/2xy/data/www/messagehouse_2012/wordpress/wp-content/uploads/temp&#38;quot;];

    $attachments = array();

    //add a file from the uploads folder
    $attachments[] = $upload_path . &#38;quot;/test.pdf&#38;quot;;

    return $attachments;
}&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
			<title>David Peralty on "Attaching PDF to User Notification Clarification"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/attaching-pdf-to-user-notification-clarification#post-82980</link>
			<pubDate>Tue, 23 Oct 2012 14:28:45 +0000</pubDate>
			<dc:creator>David Peralty</dc:creator>
			<guid isPermaLink="false">82980@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;You should be able to do an if statement to test for the form number early on. Something like:&#60;br /&#62;
if($form[&#34;id&#34;] = 19)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>jphogan on "Attaching PDF to User Notification Clarification"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/attaching-pdf-to-user-notification-clarification#post-82918</link>
			<pubDate>Tue, 23 Oct 2012 10:20:15 +0000</pubDate>
			<dc:creator>jphogan</dc:creator>
			<guid isPermaLink="false">82918@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I've seen this very helpful post here: &#60;a href=&#34;http://www.gravityhelp.com/forums/topic/use-pre-selected-file-as-user-notification-attachment#post-53767&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/forums/topic/use-pre-selected-file-as-user-notification-attachment#post-53767&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;but, how do I set this up for a specific form? I see where to change the file link. For example, I'm using this for form #19. Where do I put that in the code? Thanks!
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
