Jason Hendriks
Forum Replies Created
-
John where have you input your settings (smtp.gmail.com)? Are you using an SMTP plugin?
And Javier, according to your source code you are sending mail with PHPMailer. That is not the best practice. WordPress plugins should use wp_mail to send mail. That is probably why John gets an error on localhost:25 when using your plugin.
Forum: Plugins
In reply to: [Postman SMTP Mailer/Email Log] Server: POP before SMTPPOP before SMTP was a hack to prove your identity to a mail server in use nearly twenty years ago. Postman doesn’t support it. Neither has anyone else on the Internet since 2002, AFAIK.
Did you setup the mail server yourself? I think you need to fix it’s settings.
Forum: Plugins
In reply to: [Contact Form 7] Populate a field with product nameYes, CF7 is compatible with WP Mail SMTP.
See http://contactform7.com/faq/after-submitting-the-form-i-get-an-error-message/
If you are having issues receiving mail, you might find a solution in one of my articles:
WordPress emails are sent but not received
Sent But Not Received: Increase the Reliability of your (WordPress) EmailProbably your host put it there to prevent you from sending mail.
Forum: Reviews
In reply to: [Postman SMTP Mailer/Email Log] a bit uselessIt’s not a “feature”. It’s a library. Why should the user need to choose which library their 3rd-party plugin supports? How are they even supposed to know?
Maybe you missed the part where I wrote WordPress has an API for sending mail.
Thanks, but I was just asking about your plugin’s settings as my own settings are correct and working with other applications.
John where have you put your settings? localhost:25 doesn’t sound correct at all.
Forum: Plugins
In reply to: [Postman SMTP Mailer/Email Log] CF7 problemThen use OAuth 2.0 instead, or contact your email service provider to find out why they are refusing your login.
Forum: Reviews
In reply to: [Postman SMTP Mailer/Email Log] a bit uselessThere are two classes of SMTP plugins, those that inject your SMTP settings into PHPMailer:
- WP Mail SMTP
- Easy SMTP
- WP Mail Bank
- Configure SMTP
And those that replace PHP Mailer with something else:
- wp Mandrill
- SendGrid
- Postman
- Cimy Swift
While they all work with wp_mail, WP DB Backup is specifically coded to work with the first group only. That does not mean the second ground should all get 1-Stars. It means WP DB Backup should fix their code.
To send mail in WordPress, use
wp_mail. Not@$phpmailer->Send();Forum: Plugins
In reply to: [Postman SMTP Mailer/Email Log] CF7 problemThis means you name and password are incorrect. The mail server will not accept your email until you prove who you are to them (“authenticate”).
You need to input the correct name and password to Postman and try again.
Forum: Reviews
In reply to: [Postman SMTP Mailer/Email Log] a bit uselessYa.. because WP DB Backup codes directly to PHPMailer. There’s a WordPress API for e-mail and they don’t use it.
There is no way that is the fault of this plugin. What else have you got?
http://plugins.svn.wordpress.org/wp-db-backup/tags/2.3.0/wp-db-backup.php:
// try to use phpmailer directly (WP 2.2+) if ( is_object( $phpmailer ) && ( strtolower(get_class( $phpmailer )) == 'phpmailer' ) ) { $phpmailer->AddAddress( $to ); $phpmailer->AddAttachment($diskfile, $filename); $phpmailer->Body = $message; $phpmailer->CharSet = apply_filters( 'wp_mail_charset', get_bloginfo('charset') ); $phpmailer->From = apply_filters( 'wp_mail_from', $from_email ); $phpmailer->FromName = apply_filters( 'wp_mail_from_name', $from_name ); $phpmailer->IsMail(); $phpmailer->Subject = $subject; do_action_ref_array( 'phpmailer_init', array( &$phpmailer ) ); $result = @$phpmailer->Send();Probably what happened was this:
- You had malware on your site sending spam
- The spam went nowhere because your site had no way to actually deliver it
- You installed WP Mail SMTP and your email started working
- Spam came pouring out of you site
Hi. Your diagnostics are suspicious
WordPress wp_mail Owner: /var/www/vhosts/mysite.de/httpdocs/wp-config.php
Open up this file and see what’s in it. See if you see something like the following
function wp_mailThat’s not part of the normal WordPress distribution.
I didn’t mean log… to be more specific, it’s the error messages from the server and the session transcript that I can’t get. I’ll fix it up.
.. this was a good idea, but I can’t get the SMTP transcript from PHP mail.
My choices are
- use PHP mail and show no log
- use SMTP to localhost:25 and show a log