<?xml version="1.0"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>MachForm Community Forums Topic: Add attachment to auto responder email *VERSION 3*</title>
<link>https://www.machform.com/forums/</link>
<description>MachForm Community Forums Topic: Add attachment to auto responder email *VERSION 3*</description>
<language>en</language>
<pubDate>Mon, 04 May 2026 00:16:13 +0000</pubDate>

<item>
<title>businessschool on "Add attachment to auto responder email *VERSION 3*"</title>
<link>https://www.machform.com/forums/topic/add-attachment-to-notification-email-version-3#post-24370</link>
<pubDate>Tue, 17 Nov 2015 06:07:10 +0000</pubDate>
<dc:creator>businessschool</dc:creator>
<guid isPermaLink="false">24370@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;I am after the same functionality, that is a form that is a request for a file of some type e.g. information pack, the notification email sent to the poster has the file attached. &#60;/p&#62;
&#60;p&#62;As a simple and functional work around I embedded a link to the file/s requested in the body of the notification email (it accepts HTML). There is an added upside to this method, if you update the info pack/file/files (T &#38;#38; C's), replace the existing files keeping the same name, any contact that has the original email with the link will ALWAYS get the most up to date version of the file&#60;/p&#62;
&#60;p&#62;Hope that helps
&#60;/p&#62;</description>
</item>
<item>
<title>HoughtonCR on "Add attachment to auto responder email *VERSION 3*"</title>
<link>https://www.machform.com/forums/topic/add-attachment-to-notification-email-version-3#post-21039</link>
<pubDate>Wed, 14 May 2014 23:41:33 +0000</pubDate>
<dc:creator>HoughtonCR</dc:creator>
<guid isPermaLink="false">21039@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;I agree that function would be excellent to be able to provide. This is for two scenarios:&#60;/p&#62;
&#60;p&#62;1) We get a great many requests for brochure request forms for websites. The web browser fills in a brochure request, it is stored in the database and we would love to be able to send a file(s) with the auto confirmation email.&#60;/p&#62;
&#60;p&#62;2) Whenever you sell something it is a good idea to send the terms and conditions of sale. Again from this form the ability to add a T's&#38;#38;C's file to the email would be excellent.&#60;/p&#62;
&#60;p&#62;Please please please?
&#60;/p&#62;</description>
</item>
<item>
<title>AguilaFan on "Add attachment to auto responder email *VERSION 3*"</title>
<link>https://www.machform.com/forums/topic/add-attachment-to-notification-email-version-3#post-18837</link>
<pubDate>Mon, 29 Jul 2013 00:43:59 +0000</pubDate>
<dc:creator>AguilaFan</dc:creator>
<guid isPermaLink="false">18837@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Being able to add an attachment WITHIN the form itself might be another way to go. Could use the IF function and/or just add a field that defines location of form to include it in email.&#60;br /&#62;
Better yet, let them download it with by clicking a link in the email confirmation.&#60;br /&#62;
Just add a clickable hyperlink in email.&#60;/p&#62;
&#60;p&#62;For now, I just redirect them to a page on website with forms so they download them.&#60;/p&#62;
&#60;p&#62;Person filling form would opt /select 1-2-3 different forms to be included in auto response.&#60;/p&#62;
&#60;p&#62;Have talent agency.&#60;br /&#62;
Once they fill out section with needed items, and if they can work in a movie, then the get:&#60;br /&#62;
1- Details for wardrobe&#60;br /&#62;
2- map to Base Camp&#60;br /&#62;
3- Agency notes on what to do/not do.
&#60;/p&#62;</description>
</item>
<item>
<title>stephenheath on "Add attachment to auto responder email *VERSION 3*"</title>
<link>https://www.machform.com/forums/topic/add-attachment-to-notification-email-version-3#post-18688</link>
<pubDate>Mon, 08 Jul 2013 22:36:39 +0000</pubDate>
<dc:creator>stephenheath</dc:creator>
<guid isPermaLink="false">18688@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Possible feature for a future release?
&#60;/p&#62;</description>
</item>
<item>
<title>yuniar on "Add attachment to auto responder email *VERSION 3*"</title>
<link>https://www.machform.com/forums/topic/add-attachment-to-notification-email-version-3#post-18680</link>
<pubDate>Sun, 07 Jul 2013 22:28:30 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">18680@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Yes, the above code would add it to all of your forms. To apply the code to certain form, you'll need to enclose the code with &#34;IF&#34; statement block.
&#60;/p&#62;</description>
</item>
<item>
<title>stephenheath on "Add attachment to auto responder email *VERSION 3*"</title>
<link>https://www.machform.com/forums/topic/add-attachment-to-notification-email-version-3#post-18665</link>
<pubDate>Fri, 05 Jul 2013 20:19:51 +0000</pubDate>
<dc:creator>stephenheath</dc:creator>
<guid isPermaLink="false">18665@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;I would like to add an attachment to the outoresponder email, but just on one form - I assume the code above would include the attachment for all forms?
&#60;/p&#62;</description>
</item>
<item>
<title>yuniar on "Add attachment to auto responder email *VERSION 3*"</title>
<link>https://www.machform.com/forums/topic/add-attachment-to-notification-email-version-3#post-15443</link>
<pubDate>Wed, 25 Jul 2012 17:07:31 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">15443@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Glen -- that one is the code to send the uploaded files as attachment. This one already part of the core MachForm.&#60;/p&#62;
&#60;p&#62;The one posted by steve above is the code to attach any file (located anywhere on your server) to the autoresponder email.
&#60;/p&#62;</description>
</item>
<item>
<title>gbuecker on "Add attachment to auto responder email *VERSION 3*"</title>
<link>https://www.machform.com/forums/topic/add-attachment-to-notification-email-version-3#post-15435</link>
<pubDate>Tue, 24 Jul 2012 04:53:05 +0000</pubDate>
<dc:creator>gbuecker</dc:creator>
<guid isPermaLink="false">15435@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;What about the code that follows your addition? &#60;/p&#62;
&#60;p&#62;//attach files, if any&#60;br /&#62;
	    	if(!empty($files_to_attach)){&#60;br /&#62;
	    		foreach ($files_to_attach as $file_data){&#60;br /&#62;
	    			$s_message-&#38;gt;attach(Swift_Attachment::fromPath($file_data['filename_path'])-&#38;gt;setFilename($file_data['filename_value']));&#60;br /&#62;
	    		}&#60;br /&#62;
	    	}&#60;br /&#62;
Is this a holder from a previous version or a possible future addition? &#60;/p&#62;
&#60;p&#62;Thanks,&#60;br /&#62;
Glen
&#60;/p&#62;</description>
</item>
<item>
<title>yuniar on "Add attachment to auto responder email *VERSION 3*"</title>
<link>https://www.machform.com/forums/topic/add-attachment-to-notification-email-version-3#post-15180</link>
<pubDate>Fri, 29 Jun 2012 20:32:33 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">15180@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Thank you for sharing this, Steve!
&#60;/p&#62;</description>
</item>
<item>
<title>steve on "Add attachment to auto responder email *VERSION 3*"</title>
<link>https://www.machform.com/forums/topic/add-attachment-to-notification-email-version-3#post-15156</link>
<pubDate>Thu, 28 Jun 2012 03:21:36 +0000</pubDate>
<dc:creator>steve</dc:creator>
<guid isPermaLink="false">15156@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;This is just a quick hardcoded way to add an attachment to an auto response email after someone fills out your form.&#60;/p&#62;
&#60;p&#62;File location: /includes/helper-functions.php&#60;br /&#62;
Line #748&#60;/p&#62;
&#60;p&#62;Change this:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;$s_message = Swift_Message::newInstance()
			-&#38;gt;setCharset(&#38;#39;utf-8&#38;#39;)
			-&#38;gt;setMaxLineLength(1000)
			-&#38;gt;setSubject($subject)
			-&#38;gt;setFrom(array($from_email =&#38;gt; $from_name))
			-&#38;gt;setSender($from_email)
			-&#38;gt;setReturnPath($from_email)
			-&#38;gt;setTo($email_address)
			-&#38;gt;setBody($email_content, $email_content_type);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;To this:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;$s_message = Swift_Message::newInstance()
			-&#38;gt;setCharset(&#38;#39;utf-8&#38;#39;)
			-&#38;gt;setMaxLineLength(1000)
			-&#38;gt;setSubject($subject)
			-&#38;gt;setFrom(array($from_email =&#38;gt; $from_name))
			-&#38;gt;setSender($from_email)
			-&#38;gt;setReturnPath($from_email)
			-&#38;gt;setTo($email_address)
			-&#38;gt;setBody($email_content, $email_content_type)
                        -&#38;gt;attach(Swift_Attachment::fromPath(&#38;#39;http://www.domainname.com/filename.ext&#38;#39;));&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;That will attach the file to the auto responder email.  I just used an absolute url to the file, in my case I wanted to attach a vCard (.vcf) to the auto responder email.&#60;/p&#62;
&#60;p&#62;Hope this helps someone.
&#60;/p&#62;</description>
</item>

</channel>
</rss>
