Jason Hendriks
Forum Replies Created
-
Forum: Plugins
In reply to: [Postman SMTP Mailer/Email Log] Not working with Contact Form 7Sorry, I should have been more specific. π
I meant the error in Tools > Email Log.
The message from Contact Form 7 is too generic to tell us anything.
This means you have an invalid header in your email. Can you post how you’ve configured your form’s mail tab.
Forum: Plugins
In reply to: [Postman SMTP Mailer/Email Log] Not working with Contact Form 7Installed and will send Test Email correctly, but not through Contact Form 7 or other plugins:
What’s the error from Contact Form 7 and other plugins?
Forum: Plugins
In reply to: [Postman SMTP Mailer/Email Log] Yahoo Acess Token Generation FailedThis is the error I got trying to grant permission to Postman:
Uh oh
Looks like something went wrong.
Please try again later.I would suggest using password authentication for now, or switching to gmail. They’re pretty reliable.
Forum: Plugins
In reply to: [Postman SMTP Mailer/Email Log] Yahoo Acess Token Generation FailedAccess token generation failed(ACCESS_TOKEN_GENERATION_FAILED)] I tried setting it all up again from scratch, and still got the error.
Of the big three,Yahoo’s OAuth 2.0 implementation is the most … ‘Finicky’. I’ll try it and let you know if I get the same message as you did.
I tried running the Connectivity test, and got this message:
“No outbound route between this site and the Internet on Port 25.”Postman has reverted to the WordPress default behavior, since your Yahoo configuration is broken. (Localhost, port 25).
Forum: Plugins
In reply to: [Postman SMTP Mailer/Email Log] PHP 5.6 compatibilitySeems to be ok! π
OS: Darwin Jasons-Mac-Pro.local 15.0.0 Darwin Kernel Version 15.0.0: Sat Sep 19 15:53:46 PDT 2015; root:xnu-3247.10.11~1/RELEASE_X86_64 x86_64 PHP: Darwin 5.6.15 C PHP Dependencies: iconv=Yes, spl_autoload=Yes, openssl=Yes, sockets=Yes, allow_url_fopen=Yes, mcrypt=No, zlib_encode=Yes WordPress: 4.3.1 en_CA UTF-8 WordPress Theme: Twenty Fifteen WordPress Plugins: Contact Form 7, Easy WP SMTP, Leads, MyMail - Email Newsletter Plugin for WordPress, Postman SMTP WordPress wp_mail Filter(s): wp_staticize_emoji_for_email WordPress phpmailer_init Action(s): swpsmtp_init_smtp Postman: 1.7.2 Postman Sender Domain (Envelope|Message): hendriks.ca | hendriks.ca Postman Prevent Message Sender Override (Email|Name): No | No Postman Active Transport: SMTP (smtp:tls:oauth2://smtp.gmail.com:587) Postman Active Transport Status (Ready|Connected): Yes | Yes Postman Deliveries (Success|Fail): 231 | 96 Postman PHP LogLevel: 5000From: Jason Hendriks <postman@hendriks> To: jason@hendriks Date: 2015-11-09 13:20:48 Subject: Postman SMTP Test (wp.mydomain.com) Delivery-URI: https:oauth2://www.googleapis.com:443 Content-Type: text/plain; charset = "UTF-8" Content-Transfer-Encoding: 8bit Hello!Forum: Plugins
In reply to: [Contact Form 7] Contact form 7 from field in email is not changingYou can use this plugin to inspect the session transcript (the communication between your wordpress server and the mail server) to see what value is sent for the From field.
It the from field is correct, then your mail server is changing the From and there’s nothing you can do.
If the from field is incorrect, then you have another plugin (or theme) changing your From value after it leaves CF7.
Forum: Plugins
In reply to: [Postman SMTP Mailer/Email Log] PHP 5.6 compatibilityThank-you. No I never have tried it with PHP 5.6. But I will install it somewhere and see what happens π
Forum: Plugins
In reply to: [Contact Form 7] email setupWhat’s in your form’s mail tab’s from field?
Forum: Plugins
In reply to: [Postman SMTP Mailer/Email Log] Error message contact form 7Are you able to determine from the diagnostic test data below where the problem lies?
Nope, that’s what the Email Log is for. Check there for the error.
Cheers
Forum: Plugins
In reply to: [Contact Form 7] Eats too much CPU & RAM! Loads on every page, what for?You are 100% about when the event fires. I was wrong. And your explanation was much better than mine.
However, the patch still works. JS is only loaded when the shortcode is fired. If you look at the HTML source produced, you’ll see CF7’s scripts.js loaded in the same place as Twenty Fifteen’s script, and WP admin-bar’s script. I would hazard that if it is safe for WordPress core, it’s safe for you too.
Not sure if loading the style sheet in the HTML body is valid though! This might only work for the JS.
Forum: Plugins
In reply to: [Postman SMTP Mailer/Email Log] Does this work for a multisite?FYI, v1.7.2 fixes a multisite bug where siteadmins lose access to their Postman Settings.
Forum: Plugins
In reply to: [Postman SMTP Mailer/Email Log] Do not Network Activate 1.7 on MultisiteOk, I found the problem. I assumed the WordPress role was stored global, but it’s not, it’s stored per-site and therefore I need to add the capability to the role on every site. And then do the opposite when deactivating.
Thank-you so much for helping me test this! When the full multisite compatibility is done I might ask for your help in testing again π
Fixed in Postman v1.7.2
You need an SMTP plugin: https://wordpress.org/plugins/postman-smtp/
At the very least, just activating the plugin above will show you why you’re getting a ‘Failed’ message. Look in Tools > Email Log. Post the error here and we’ll help you figure out what to do next.
Here’s the official CF7 FAQ on this issue: http://contactform7.com/faq/i-get-an-error-message-with-a-red-border-so-how-can-i-solve-this/
Forum: Plugins
In reply to: [Contact Form 7] Eats too much CPU & RAM! Loads on every page, what for?@takayukister sorry i let this drop – things got busy :p
it’s a pretty simple change. Move the enqueue call from the wp_enqueue_scripts event to wpcf7_contact_form_tag_func when the short code output is rendered.
includes/controller-new.php:137
// always calling enqueue loads scripts for all pages // add_action( 'wp_enqueue_scripts', 'wpcf7_do_enqueue_scripts' );includes/contact-form.php:916
if ( is_feed() ) { return '[contact-form-7]'; } // enqueue during shortcode loads scripts for cf7 pages only wpcf7_do_enqueue_scripts(); if ( 'contact-form-7' == $code ) { [...]The shortcode function runs before output to the HttpStream begins, which is why this works. wpcf7_enqueue_scripts just flags which registered files should be output. it doesn’t actually output anything.
@justatest47 this should solve your issue