Jason Hendriks
Forum Replies Created
-
Forum: Plugins
In reply to: [Postman SMTP Mailer/Email Log] Do not Network Activate 1.7 on MultisiteWhen I say “administrator role” I mean Site Admin. Yes, that’s standard.
This code is run on plugin activation, or, on a sub-site, when postman notices that it’s version number has changed:
// add the custom capability to the administrator role $role = get_role ( 'administrator' ); $role->add_cap ( 'manage_postman_smtp' );AFAIK, this code works fine in multisite, at least it did on mine. I verified the capability given to the Site Admin with https://wordpress.org/plugins/user-role-editor/.
I’m worried that the Postman admin screen will disappear for your Site Admins, based on your symptoms (because they aren’t in the role granted ‘manage_postman_smtp’).
Forum: Plugins
In reply to: [Postman SMTP Mailer/Email Log] Do not Network Activate 1.7 on MultisiteYou are 100% right, if the plugin is not configured, and the user is not in the administrator role, there would be a problem.
So the question becomes, why are your Site Admins not part of the administrator role?
Anyway, I’ve made the fix. Would you download the trunk version and make sure it’s fixed? Thanks!
Forum: Plugins
In reply to: [Contact Form 7] Multiple CC or BCCNo. But you can have multiple recipients per header, separated by commas.
Note: Envelope Email Address has been removed from the v1.7 UI when the Gmail API is selected, because the Gmail API doesn’t use it.
when a user fills in a contact 7 form on my wordpress blog and puts in their email address when I receive the email and click on reply it is actually replying to the address that I setup as the “Envelop Email Address” with postman, its not replacing it with the sender email.
If you check the transcript, you will see that Postman actually does transmit the From field as defined by Contact Form 7. The issue is that to eliminate spoofing, Gmail replaces the From address you send with your own (i.e. the address of the account). Gmail’s not alone. Hotmail, Yahoo and now Mandrill all do this.
Gmail has a “Send Mail As” feature if you can demonstrate you own the From address. Of course, this is no help with CF7.
To solve your reply problem, simply add the Reply-To additional header in CF7
Reply-To: [visitor-name] <[visitor-email]>Best practice is to think of the website as a user in the email ménage-à-trois. Jane@visitor fills out your form, info@mydomain sends it and john@mydomain receives it.
You could re-install v1.6.24 https://downloads.wordpress.org/plugin/postman-smtp.1.6.24.zip or v1.7.0 https://downloads.wordpress.org/plugin/postman-smtp.1.7.0.zip
Sorry about that :-/
Forum: Plugins
In reply to: [Postman SMTP Mailer/Email Log] Do not Network Activate 1.7 on MultisiteThat definitely helps – thank you. I will take a look a look to see what could be breaking for regular admins on line 312.
Forum: Plugins
In reply to: [Postman SMTP Mailer/Email Log] Postman stopped emailing 2 days agoYou’re connecting to a remote SMTP server, under no circumstances if you have your plug-in setup correctly should you be connecting to localhost. There is nothing on the server that forces SMTP traffic through the local SMTP server.
You can easily reproduce Postman’s results yourself by doing this from the command prompt of your WordPress site:
telnet smtp.gmail.com 587 ehlo anydomain.comThe firewall having PORT 53 closed would prevent you from being able to connect to gmail as this would result in DNS lookup failures at the server.
This is 100% true. But what I said was this would have broken more than just Postman. WordPress auto-updates, plugin installation, theme installation would also be failing. They all rely on DNS.
Postman’s Connectivity Test would have simply reported port blocked or no service in response to a DNS failure.
Examples
Here is what the Connectivity Test looks like when it is run against a host that is redirecting connections:
http://plugins.svn.wordpress.org/postman-smtp/assets/screenshot-11.pngHere is what the Wizard looks like when it is run against a host that is redirecting connections:
http://plugins.svn.wordpress.org/postman-smtp/assets/examples/wizard-mitm.pngThis is why I asked if there is a fail over mechanism in the the sites code that causes failed connections to fall back to localhost.
Of course not.
You are right 🙁 I probably broke it fixing this.
I’ll get back to you..
In the interim, using a wp_mail_content_type filter in your theme’s functions.php should work.
I would love to help you.
I used to use Postman to handle the smtp settings and force to reset the content-type to text/html.
You added a content-type header in Postman’s Additional Headers section?
Postman has an Email Log as well, and it’s Email Log will show the error/result from the server, unlike Email Log.
Forum: Plugins
In reply to: [Postman SMTP Mailer/Email Log] Do not Network Activate 1.7 on MultisiteHmmm… on my MU there is no blank contact, for either superadmin or admin. You must have triggered a bug. If the admin content is blank, then PHP is crashing and not finishing the rest of the load.
Could you check the error_log for an error? If you are not logging errors, you have to enable WP_DEBUG_LOG in wp-settings.php. There is also a plugin to do it.
Can you confirm you’re on Postman 1.7.1?
Forum: Fixing WordPress
In reply to: No longer receiving email notifications of commentsMy tone???? You think I’m doing this to troll you?
Sure. No problem.
Forum: Fixing WordPress
In reply to: No longer receiving email notifications of commentsWordPress is hardwired to send mail to your localhost on port 25 via SMTP. There’s nothing broken about it. It’s up to you, as the site owner, to make that work.
It’s as simple as I don’t receive notification emails at my email address
Except it’s not simple.
- You have chosen an email provider that requires user authentication to send mail
- You have chosen a web host that blocks access to the SMTP server of your email provider
- Your web host has chosen to use a wildcard name in their SSL certificate
- Your email provider has chosen to implement SPF and DKIM to limit Spam and Phishing
Not one of these is the fault of WordPress.
🙂
Forum: Plugins
In reply to: [Contact Form 7] Contact Form 7 not sending emailsForum: Fixing WordPress
In reply to: No longer receiving email notifications of commentsWordPress doesn’t use PHP mail(). It uses PHPMailer, an SMTP transport library. WordPress 4.3 included a newer version of PHPMailer with security changes that have broken configurations (for some users). Consequently, all of the PHPMailer-based plugins, such as WP Mail STMP are also broken (for some users).
In your case, your second problem is a peer verification failure, which may or may not be related to the PHPMailer upgrade. Your first problem was likely a Google security upgrade on your account, from passwords to OAuth 2.0.
In either case, you need a better way to send email : https://wordpress.org/plugins/postman-smtp/
Postman will connect you directly to Gmail via the Gmail API and solve this problem.
As for your password reset, there are other, harder ways to do it : https://codex.wordpress.org/Resetting_Your_Password