Jason Hendriks
Forum Replies Created
-
Hi there, thanks for writing :>
Too many open files (pid 38945)
From the error message, I would guess that there are just too many plugins running (files being opened) per request. I’m sure you’ll hate this suggestion, but I think the obvious answer is use less plugins!
:-S
Forum: Plugins
In reply to: [Postman SMTP Mailer/Email Log] Bad Request(invalid_grant) error?โ Port 25 can be used for SMTP to smtp.gmail.com. Warning: connected to *********************************************** instead of gmail.com.
This warning means that another server has intercepted, and responded to, your request to gmail.com. This is known as a Man-In-The-Middle attack. I use the term loosely here, because it’s probably not a malicious effort, but rather your web host is capturing all TCP requests out on port 25 either for security (to reduce SPAM originating from their IPs) or for convenience.
This is probably something new that they implemented, you guessed it, about a month ago.
Bottom line, OAuth 2.0 will no longer work in this configuration.
- This reply was modified 9 years, 8 months ago by Jason Hendriks.
Forum: Plugins
In reply to: [Postman SMTP Mailer/Email Log] Attachments don't work – ERROR PostmanWpMailHi. Thank-you for the bug report. So this is only for attachments using the SendGrid module? I’ll take a look.
Forum: Plugins
In reply to: [Postman SMTP Mailer/Email Log] HTML headers goneAs @ypeynaud pointed out, WP Better Email is not compatible with Postman.
Try
Cheers!
Jason- This reply was modified 9 years, 9 months ago by Jason Hendriks.
Forum: Plugins
In reply to: [Postman SMTP Mailer/Email Log] Log email in HTMLHi Spark.
The recipient will see the email as intended. However, for security reasons, Postman shows the HTML source code only to protect you from malformed email. Since you are likely logged in to WordPress as admin when viewing the Postman log, a naughty email could trigger a WordPress function to delete your posts (for example).
https://en.wikipedia.org/wiki/Cross-site_scripting
Thanks for using Postman! ๐
- This reply was modified 9 years, 9 months ago by Jason Hendriks.
Good news is Iโm sending emails now using a round about way of replacing PHP mail() with SMTP service by manipulating PHPmailer using this code;
My understanding is that this is what Postman should have been doing. So the bad news is that Postman wonโt do this when Contact Form 7 is being used. Although it is, apparently doing it when itโs test email is sent.
But why not, surely in some way this what Postman SMTP is/should be doing?
Who owns this problem Postman SMTP? or Contact Form 7?Postman does not manipulate PHPmailer; Postman actually replaces PHPmailer with zend_mail. This is why Postman is able to offer OAuth 2.0.
Sounds like Postman’s original warning was correct then; there is another plugin preventing Postman from taking over wp_mail.
Please explain this error message;
Postman: wp_mail has been declared by another plugin or theme, so you wonโt be able to use Postman until the conflict is resolved.Hello Chris.
wp_mail is a WordPress function to allow WordPress, themes and plugins to send email.
WordPress provides a default implementation of wp_mail. But WordPress allows email plugins (like Postman) to provide an alternate implementation of wp_mail.
This message is Postman telling you that some other plugin beat it to the punch. Only one plugin may handle email delivery. However, you may also see this error if any plugin on your system directly includes the file pluggable.php – a lazy hack some plugin developers use to access WordPress code/libraries.
patched pluggable.php
I now do not have the error message but Postman is still not working with Contact Form 7
Diagnostic:
No entry in Postman log
Nothing in error log
Test successful
Contact Form 7 still not sending to external addressPatching pluggable.php is definitely not the recommended solution; removing the conflicting plugin is.
Having said that though, it appears your problem is related to Contact Form 7. If Contact Form 7 and Postman were talking, you would see the activity in Postman’s log file.
- This reply was modified 9 years, 9 months ago by Jason Hendriks.
- This reply was modified 9 years, 9 months ago by Jason Hendriks.
Forum: Plugins
In reply to: [Postman SMTP Mailer/Email Log] email is not delivered via postman smtpWell, by default WordPress uses PHPMailer internally. Like this:
Some plugin -> WordPress -> PHPMailer -> SMTP server
Postman overrides the behaviour of WordPress to provide an alternate mailer.
Some plugin -> WordPress -> Postman -> SMTP server
It isn’t exactly clear what your developer means by “the normal mail function”. However if your custom plugin also uses PHPMailer internally, it is ignoring Postman.
Custom plugin -> PHPMailer -> SMTP server
Your plugin must call wp_mail in order to delegate sending mail via WordPress itself:
https://developer.wordpress.org/reference/functions/wp_mail/I’ll check out Pirate Forms and get back to you!
Forum: Plugins
In reply to: [Postman SMTP Mailer/Email Log] email is not delivered via postman smtpPostman only works with plugins that support the WordPress wp_mail API. If your plugin handles email directly, it will simply ignore Postman.
Which plugins give trouble?
Forum: Plugins
In reply to: [Postman SMTP Mailer/Email Log] How are passwords stored?The general recommendation for storing any password in a database is to use a one-way hash. That way, passwords can never be “recovered” from your database data.
However, Since your email password must be sent in plaintext to the SMTP server, they can not be one-way hashed by Postman (or any other WordPress SMTP plugin for that matter). And any encryption Postman might use could be easily gleaned from it’s open-source code. Postman stores your password in the database in a UUEncoded text format which will protect your password from the most casual observation only.
If you are that concerned about security, it is recommended you use Postman in OAuth 2.0 mode, in which case no password is stored at all. Only the short-lived OAuth 2.0 token.
- This reply was modified 9 years, 10 months ago by Jason Hendriks.
Forum: Plugins
In reply to: [Postman SMTP Mailer/Email Log] wp_mail conflict – urgent cannot send mailDear author of IQ Block Country,
Developper said:โIt was needed for security reasons to load a standard WordPress library.
The proper way to load standard WordPress libraries is to use the WordPress API/Hooks.
Loading pluggables.php directly is dangerous as it can put other plugins into unexpected states.
- This reply was modified 9 years, 10 months ago by Jason Hendriks.
Forum: Reviews
In reply to: [Postman SMTP Mailer/Email Log] greatThanks for your review, but Postman does not create e-mail content. It is up to your WordPress site and/or plugins to create your messages as either HTML email or plan email.
+ Following