Home › Forums › Quform WordPress › Attaching a file to the autoreply email
- This topic has 9 replies, 2 voices, and was last updated 9 years, 3 months ago by Ally.
- AuthorPosts
- January 15, 2015 at 12:27 am #13618alpinewavParticipant
I’ve followed the instructions on this page to the letter and it still does not work. https://support.themecatcher.net/quform-wordpress/guides/email/attaching-a-file-to-the-autoreply-email
The form is visible at http://www.discflo.com/2015/ and all it does is bark a generic error response, it does not send the email or return the attachment to download.
January 15, 2015 at 12:30 am #13619alpinewavParticipantHere’s the code on the functions.php file…
/**
* This will attach a file to QUForm auto reply forms
*/
function mytheme_attach_autoreply_file(PHPMailer $mailer, $form, $attachments)
{
$mailer->AddAttachment(ABSPATH . ‘/2015/pdf/document.pdf’, ‘document.pdf’, ‘base64’, ‘application/pdf’);
return $mailer;
}
add_filter(‘iphorm_pre_send_autoreply_email_2’, ‘mytheme_attach_autoreply_file’, 10, 3);January 15, 2015 at 12:35 am #13620AllySupport StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
January 15, 2015 at 12:38 am #13621alpinewavParticipantYes, it works perfectly!
January 15, 2015 at 12:44 am #13622alpinewavParticipantEverything is set according to the documentation but I still get a no send and generic error.
Attachments:
You must be logged in to view attached files.January 15, 2015 at 12:49 am #13624alpinewavParticipantI guess I could just put the link in the auto response email but then that defeats the purpose of being able to force the download and the functionality of this.
January 15, 2015 at 11:48 am #13628AllySupport StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
January 15, 2015 at 1:43 pm #13631alpinewavParticipantOkay, did the debug steps and there doesn’t seem to be any errors on the page.
What is really annoying and frankly serves no purpose whatsoever are the two Vimeo videos at the bottom that serve absolutely no purpose whatsoever! These are marketing videos, not how-to videos so why are they even included with the plugin? People have already seen these if they have the plugin already. These videos offer no intelligent info whatsoever and just serve to take up the page. And lets not forget to mention NO SCROLL BAR ALSO FOR THE VIDEOS. There seems to be an ongoing theme here with GTranslate for WP. Your Joomla version is far superior to this WP version of the plugin.
Other than that, no errors.
January 15, 2015 at 1:44 pm #13632alpinewavParticipantJust lots of frustration and disappointment.
January 18, 2015 at 3:00 pm #13649AllySupport StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
- AuthorPosts
- You must be logged in to reply to this topic.