Creating a support ticket so that people will now that this plugin doesn’t work with version 2.5. I am looking into how to resolve the issue but Gravity Forms has for some reason drastically changed the notifications settings UI.
]]>GF Addon only places a link to Library file. I was hoping it would actually attach a copy of the file to the notification email. Am I missing something?
TIA
Tom
Upon submitting this particular form, I get this:
Fatal error: Uncaught Error: Class ‘ZipArchive’ not found in /home/xxx/public_html/wp-content/plugins/gf-upload-to-email-attachment/gf-upload-to-email-attachment.php:41 Stack trace: #0 /home/xxx/public_html/wp-includes/class-wp-hook.php(290): GFUEA_custom_notification_attachments(Array, Array, Array) #1 /home/xxx/public_html/wp-includes/plugin.php(206): WP_Hook->apply_filters(Array, Array) #2 /home/xxx/public_html/wp-content/plugins/gravityforms/gravityforms.php(5886): apply_filters(‘gform_notificat…’, Array, Array, Array, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL) #3 /home/xxx/public_html/wp-content/plugins/gravityforms/common.php(1767): gf_apply_filters(‘gform_notificat…’, Array, Array, Array) #4 /home/xxx/public_html/wp-content/plugins/gravityforms/common.php(1946): GFCommon::send_notification(Array, Array, Array, Array) #5 /home/xxx/public_html/wp-content/plugins/gravityforms/includes/api.php(1836): GFCommon::send_notifications(Array, Array, Array, true, in /home/xxx/public_html/wp-content/plugins/gf-upload-to-email-attachment/gf-upload-to-email-attachment.php on line 41
There has been a critical error on your website.
Learn more about debugging in WordPress.
]]>It seems that some PNG files are not working despite the .png extension being allowed. I can provide a PNG file that causes this behavior if you would like.
]]>hello,
great plugin, but it seems like files with special characters or “umlauts” are not being attached.
for example: ádos-CV.pdf
any way to rename the files before attaching them?
thanks!
Hello! For anyone else looking to use this alongside the GF Media Library perk from Gravity Wiz, note that, as of now, they don’t play nice together. Future support for this would be appreciated. Thanks for a great plugin!
]]>Hi is this plugin still supported? Not updated since 2 years.
]]>Just in case anyone is having a problem to attach post images. I have a form where I am adding a custom post type and for some reason it wasn’t attaching the post images. I then took a look at the code and found that by replacing this line of the code:
$fileupload_fields = GFCommon::get_fields_by_type( $form, array( 'fileupload' ) );
for this line:
$fileupload_fields = GFAPI::get_fields_by_type( $form, array( 'fileupload' ), true );
Solved my problem. Hope helps other people with this problem.
]]>I figure this would be a good feature for this plugin.
Right now, after attaching the file to the email notification, I have to stop using the {all_fields} option and manually list out each items.
If you can add an option to remove the attachment links from the notification email, especially when the delete option is selected, that’d be awesome.
I’ll tinker with it and see if I can get it working.
It look like the notification is passed to the function.
https://www.ads-software.com/plugins/gf-upload-to-email-attachment/
]]>Delete function fail on no-zip option.
I have no-zip and delete check. It’s attaching the files correctly now, but it’s not deleting.
https://www.ads-software.com/plugins/gf-upload-to-email-attachment/
]]>I found 3 problems while using this plugin.
1. There is a hard-coded error message that fires off every time. This should probably be converted over to be debug or uses the Gravity Forms Logging debug function.
Line 34: error_log("upload_root: " . $upload_root);
2. There’s an issue with the $filename variable putting in a double “//” into the link. I’m seeing this in the debug log:
[attachments] => Array
(
[0] => /var/www/wordpress/wp-content/blogs.dir/9/files/gravity_forms//uploaded_files220.zip
)
[abort_email] =>
DEBUG --> VinnieLog_Filename: /var/www/wordpress/wp-content/blogs.dir/9/files/gravity_forms//uploaded_files220.zip
Deleting the \ in front of “uploaded_files” seem to fix that issue.
Another problem I’m having is even if the “zip” checkbox is unchecked, it still zip the files instead of attach each one individually. Still working on debugging this issue to see if it’s my system or a problem with the plugin.
Thanks for a great plugin,
Vinnie Vu
https://www.ads-software.com/plugins/gf-upload-to-email-attachment/
]]>Hi there,
I was looking at potentially using this plugin rather than write a similar set of methods for a client project however, this doesn’t appear to have been updated in 3 months+ or tested against the latest version of WP?
The source code also has several php mail
commands commented out which concern me a little as I would have thought these debugging methods would have been removed or flagged up when submitting the plugin?
https://www.ads-software.com/plugins/gf-upload-to-email-attachment/
]]>Hi, WP CMS Ninja
I realy love your plugin, but Im having one issue though.
When I get notification and zip file is attached, not all uploaded files are archived (this happens two times out of three). Error log doesnt show anything. Is this related to memory limit. Our wp-config.php shows 128M,
cheers
https://www.ads-software.com/plugins/gf-upload-to-email-attachment/
]]>Hey,
I’m trying to get this to work with the GF 1.9.8 version but I’m not able to do it..
I added the ” GFUEA” in the Notification Name but it doesn’t work..
Any idea why?
Thanks for your help!
https://www.ads-software.com/plugins/gf-upload-to-email-attachment/
]]>Thanks Greg!
Is there any way to have the file send to a 3rd party? We send all our Gravity fields to Luxsci.com (with the attached code) for processing and sending, but file uploads are not included. I wonder if your plugin can handle this.
Thanks, GT
/* ------------------------------------
:: luxsci Custom Referral Form
------------------------------------ */
add_action("gform_after_submission_3", "post_to_third_party_2", 10, 2);
function post_to_third_party_2($entry, $form) {
$post_url = "https://secureform.luxsci.com/perl/post/1.....";
$body = array();
$labels = array();
foreach($form["fields"] as &$field)
{
//see if this is a multi-field, like name or address
if (is_array($field["inputs"]))
{
//loop through inputs
foreach($field["inputs"] as &$input)
{
$label = $input["label"];
$value = $entry[strval($input["id"])];
$labels[$label] = $labels[$label] + 1;
$label = ($labels[$label] == 1) ? $label : $label . "[" . $labels[$label] . "]";
$body[ $label ] = $value;
}
}
else
{
$label = $field["label"];
$value = $entry[$field["id"]];
$labels[$label] = $labels[$label] + 1;
$label = ($labels[$label] == 1) ? $label : $label . "[" . $labels[$label] . "]";
$body[ $label ] = $value;
}
}
$request = new WP_Http();
$response = $request->post($post_url, array('body' => $body));
}
https://www.ads-software.com/plugins/gf-upload-to-email-attachment/
]]>Again, I want to say Im super happy with this plugin.
I recently was looking over my catch all on my server and I realized I have had an issue I was not paying attention for.
Some of my form submitors attach a ton of crap and its too big for my mailboxes to accept. I solved that by weening down what they can attach, but now I found a new one that I thought maybe you could help with.
I have about a dozen of these in my catch all. Its a good ratio, considering several thousand worked fine.
No more than 100K characters of the body are included.
https://pastebin.com/Rtzzwe3U
It seems this tool adds that huge blurb at the end of the body of the email….I think. Every so often, its too long and gmail wont accept it due to length. In the provided example, I think its 4 images of average size, so size doesnt seem to be the issue.
So due to it having too many characters, google wont accept it and it bounces back to my server.
Any ideas on a solution for this? Am I being vague? I probably need sleep.
https://www.ads-software.com/plugins/gf-upload-to-email-attachment/
]]>Hi, I’m trying to get this working on a simple test form at https://paymentdepot.com/test-form-temp/
For notification name i’ve tried both “Email GFUEANZ” and “Email GFUEA”. Notifcation is just a simple Send to > Enter email setup. Without those in the name it emails the file link. With those in the name it does nothing.
Not sure how to troubleshoot from here?
Thanks, Rich
https://www.ads-software.com/plugins/gf-upload-to-email-attachment/
]]>Great plugin, thank you ??
Is there a way the uploaded file(s) could be deleted after them being emailed?
I don’t want to keep copies of the files uploaded on the server.
Thanks!
https://www.ads-software.com/plugins/gf-upload-to-email-attachment/
]]>I have enjoyed this plugin. It was perfect for my clients needs, but this new zipped attachment is not working out for us in the latest update.
Is it possible to make some kind of option to zip or not? Maybe GFUEAZIP and GFUEANOZIP?
https://www.ads-software.com/plugins/gf-upload-to-email-attachment/
]]>Hi!
Thank you for making this valuable plugin available to the WordPress community. I was wondering how difficult it would be for you to have it zip the files (or have it as an option) before it attaches them. Thanks again!
Joel
https://www.ads-software.com/plugins/gf-upload-to-email-attachment/
]]>Hi,
I was wondering if there was a way to have the uploads emailed on a saved form notification. By the looks of things this only works when the form is submitted and a notification is sent, not when a form is saved and a notification sent.
https://www.ads-software.com/plugins/gf-upload-to-email-attachment/
]]>I’ve activated the plugin and have add GFUEA to the end of the notification title, however images are not being automatically added as attachments. Below are screenshots from what I think are all the relevant areas. Thanks for any help.
Notification Title and setup: https://i1314.photobucket.com/albums/t576/chiseledimages/title_zpsfsiisyp1.png
File upload field: https://i1314.photobucket.com/albums/t576/chiseledimages/upload_zpskznh8dms.png
Plugin activated: https://i1314.photobucket.com/albums/t576/chiseledimages/activated_zpshajboqjh.png
Email but no attachment (image is just inline from standard gravity form {all fields}: https://i1314.photobucket.com/albums/t576/chiseledimages/email_zpszodqb2hg.png
https://www.ads-software.com/plugins/gf-upload-to-email-attachment/
]]>Hi There
I loaded the plugin fine but the emails that people attach when using the forms are not coming through to me in the notification emails.
Thanks,
Glenn
https://www.ads-software.com/plugins/gf-upload-to-email-attachment/
]]>