Forum Replies Created
-
AuthorPosts
-
jfulgham
ParticipantRESOLVED.
While looking around for other options I found the Amazon SES and DKIM Mailer and gave it a try. The SES functionality did the same as the WP-SES plugin (email yes, attachment no) but I noticed it also provided the option of sending via GMail, and my store’s domain uses Google Apps. After setting up the credentials to use my personal account on the store I went to the back-end and did another “Complete” action on a previous order. The email was sent instantly and this time successfully had the PDF ticket attached!This worked with all my plugins and my current Theme. SES seems to be the culprit.
I’m not sure why, but WordPress and SES don’t seem to like file attachments being sent. There may be a workaround or setting somewhere to get it to work, but for anyone else having this trouble and would rather just get things working, the GMail option works for me.
Thanks for the help, Barry!
jfulgham
ParticipantInstalled WP Maintenance Mode to hide the ugly from visitors. Removed all plugins but those absolutely required, switched to TwentyTwelve, restarted both the nginx and php-fpm services to ensure their caches are cleared, created a new order, used the coupon code, placed order, went into the back end and completed it, same result – email successfully sent, no sign of the attachment.
I’m going to experiment with different ways of sending email via SES and report back.
jfulgham
ParticipantMemory use is incredibly lean right now (nginx is incredible!) with over 80% of the 1.62G on this Small EC2 instance free (only 322M used, according to glances).
I did a temporary switch to TwentyEleven and deactivated all but the required plugins and tried re-completing my test order. Another email received, still no attachment. I quickly reactivated everything and set it back to typical settings for the store.
Since this is an EC2 instance I’m using Amazon’s SES service and the wp-ses plugin to send email. I can’t find any information on either thing stripping out attachments. I’ve posted a question on wp-ses’s FAQ here: http://wp-ses.com/faq.html#comment-5657 (awaiting moderation) and am scouring Amazon’s SES docs while I wait for a reply. All I can find so far is that two years ago they added attachment support.
jfulgham
ParticipantThe theme does integrate with WooCommerce. It’s the “Cherry” theme available here: http://themeforest.net/item/cherry-responsive-ecommerce-theme-for-wp/2765359
I just upgraded it from 1.3.0 to 1.3.2 (after you tested) and a re-test of my own test-order still didn’t work.
The site is running on an AWS EC2 instance with nginx/php-fpm/FastCGI so it’s possible I haven’t properly configured the back-end.
Full PHP info: https://www.causticgear.com/phpinfo.php
Do I need some kind of PDF library installed with my PHP?
jfulgham
ParticipantDone, thanks!
-
AuthorPosts
