The /tmp folder is outside the web folder root.
I think it’s a permission error need to be solved by your web hosting.
Thread Starter
mwlahn
(@mwlahn)
I would have thought that if it was a permissions issue it would have occurred everytime this email was triggered, however, the offending email the other day was from a nightly backup which ran and generated the email just fine this morning.
I’ll check with my ISP to see if they have any logs, but it sure seems odd that it would have been directly a permissions error at the OS level.
You are correct that the /tmp folder is outside the web folder root.
Please paste the diagnostic test output here.
Thread Starter
mwlahn
(@mwlahn)
OS: Linux skg4.skgold.hosting 3.10.0-714.10.2.lve1.5.12.el7.x86_64 #1 SMP Fri Feb 2 00:27:48 EST 2018 x86_64
PHP: Linux 5.6.33 C
PHP Dependencies: iconv=Yes, spl_autoload=Yes, openssl=Yes, sockets=Yes, allow_url_fopen=Yes, mcrypt=Yes, zlib_encode=Yes
WordPress: 4.9.4 en_US UTF-8
WordPress Theme: Boutique
WordPress Plugins: Redirectioner, Akismet Anti-Spam, All In One SEO Pack, Contact Form 7, GTmetrix for WordPress, Jetpack by WordPress.com, Link Library, Loginizer, Maintenance, Post SMTP, Really Simple CAPTCHA, Regenerate Thumbnails, Republish Old Posts Pro, Subscribe / Connect / Follow Widget, UpdraftPlus – Backup/Restore, W3 Total Cache, WooCommerce Bulk Edit Product Variations, Woo Store Vacation, WooCommerce Checkout Manager, WooCommerce – Store Exporter, WooCommerce – Store Toolkit, WooCommerce, WP-DBManager, WP Smush
WordPress wp_mail Filter(s): wp_staticize_emoji_for_email
WordPress phpmailer_init Action(s): wpcf7_phpmailer_init
Postman: 1.8
Postman Sender Domain (Envelope|Message): cozycuddles.com | cozycuddles.com
Postman Prevent Message Sender Override (Email|Name): No | No
Postman Active Transport: Gmail API (https:oauth2://www.googleapis.com:443)
Postman Active Transport Status (Ready|Connected): Yes | Yes
Postman Deliveries (Success|Fail): 49 | 6
Thread Starter
mwlahn
(@mwlahn)
The hosting provider reports that the permissions on the /tmp folder (and I’ve confirmed) is 755. This should allow the ability to create files in that directory, unless you are using a different id (and of course, the “why only sometimes” question still holds true).