Your plugin is just what I needed, thanks! I followed all your instructions, but in the end there is no attachment in the user notification email. Is there something that I could have overlooked?
Hello Marloes, I was looking at the disallowed plugin list on WP Engine’s website http://wpengine.com/support/disallowed-plugins/. It seems that sending email from the server might be included in that. Do you have a plugin like WP SMTP for sending mail from your own email servers?
Hello timothy wood,
now the plugin is activated, i also get no attachments in the notification email. I used the wordpress email send function, no plugins for smtp
When i used a plugin i also get no attachments in the email.
And a second question, is it possible that only the client gets the attachments and not the reciever ?
I will look into your solution tomorrow. For now, thank you!
@mathijsbok, Please ensure that your server isn’t blocking the sending of attachements (I have found a lot of shared server environments restrict mail that may contain attachments). If this is the case I would recommend using a custom SMTP server to route your email and a plugin like WP SMTP or similar to configure.
Your second question about who recieves the attachment. I would assume you could setup several notification emails – one to the client adn the other to the reciever. The email to the client would then include the PDF.
@timothy, I have installed WP SMTP, and see that the plugin sends the email, but no attachments.
Ad my second question, i have made 2 notification mails of the form. I didn’t saw that. Thankx that works.
But now the attachments…. That’s still not working.
I used 4 plugins to send email, but with all the 4 i don’t get the attachmenst with the email. The email is sending, but with no attachments…
So i don’t think it’s a problem with sending emails from my server…
Hi Timothy… I’ve installed your plugin after fixing the parse error on line 129 with the code you supplied in the other form. It installed fine and the attachment button shows up on the notification form but when I click it nothing happens. I’m using chrome browser and Gravity Forms version 1.83. Any ideas? Thanks!
I ran into the same issue today. The server sends out emails perfectly fine, but in debug mode there is one notice about Gravity Forms Notification Attachments.
Notice: Uninitialized string offset: 0 in /nas/wp/www/blablabla/wp-content/plugins/gravity-forms-notification-attachments2/gf-notification-attachment.php on line 59
I hope that this notice points out the cause of this issue.
A new version has been released that fixes the issues brought up by the support forum. Please let me know if there are still residual issues.
@mathijsbok, would you be available to discuss this directly? Please contact me via twitter.com/codearachnid and I can send you private contact information. I have some tests outside of WordPress that can be run on your host and determine if it’s the email, server, code or WordPress that is failing to deliver the attachments.
@jan, thank you for the update. Your issue should be fixed in the latest version update.
I have updated all the files of Gravity Form, and also your plugin, but the next things happens :
– I have set all the plugins of wordpress site to deactivated.
– Plugin Gravity Forms to Active
– Plugin Gravity Form Notification Attachments to active
When i have done this, the forms won’t send the form to the email. And also the form doesn’t redirect to the end page. When I turn off Notification plugin, the form works 100%.
So your plugin blocks anyhow the form. When I do a debug of the site, nothing comes out of your plugin or from Gravity.
You can email me on mathijsbok ad gmail dot com
Mathijsbok this sounds very interesting, I’ve sent you an email to follow up on this.
Thanks to @mathijsbok for generously providing access to debug issues, I have completely refactored how attachments are attached to the notification based on an issue where some servers return a blank array when using wp_get_attachment_meta. By utilizing wp_get_attachment_url and replacing the url with the base path it ensures that the attachment file is included if valid. Please upgrade to version 1.2 to take advantage of this update.
- The topic ‘Notifications don't have attachements’ is closed to new replies.