Quantcast
Channel: WordPress.org Forums » [WP Mail SMTP by WPForms - The Most Popular SMTP and Email Log Plugin] Support
Viewing all 4992 articles
Browse latest View live

Test email not sending to Outlook

$
0
0

Replies: 0

Hi,

I am trying to send a test email to my Outlook email via WP Mail SMTP, but having followed the suggested documentation, Googling all my problems and asked my hosting provider (Crazy Domains), it’s non-functioning.

The steps I took:
1/ Installed WP Forms, created a simple 3-field form with no edits done to it. Put shortcode into Elementor web builder.

2/ Installed WP Mail SMTP, selected settings for Outlook:
From email: (my outlook email), forced from email
From name: (named it), forced from name
Other SMTP
SMTP host: smtp-mail.outlook.com
Encryption: TLS
SMTP Port: 587
Autentication: ON
SMTP username: (my outlook email)
Password: (password to login to my outlook email)
Saved settings

3/ Attempted to send test email. “Waiting for http://www.kitupforta.co.nz” for a while, then 504 Gateway Timeout.

4/ Contacted Crazy Domains. Suggested I turn off encryption while using Port 587. Did so, as well as using Port 25 and trying every combination with encryption & auto TLS. Same error.

5/ Saw PHP sticky post update. Tried PHP…got an instant “your test email has been sent” but no mail delivered. My WordPress is hosted by Crazy Domains and they do recent updates, most recently today. I should have PHP 7.2…

6/ I have another website on the same hosting service account, which also use WP Forms & WP Mail SMTP and has connected to a Gmail account following your documentation.

Any other clues guys? First time building a website, so I don’t speak the backend lingo at all, please be kind – I’d love a few pointers to anything I missed. Thanks!

Amy


Installing via composer?

$
0
0

Replies: 2

The plugin seems to have vendor/. Is there a composer.json to install the plugin via composer?

Cannot send e-mails or deactivate plugin

$
0
0

Replies: 0

Hello.

When I try to submit e-mails, it gives me a infinite loading screen.
Then I tried to deactivate the plugin, but it doesn’t deactivate.

Technical information:
php version : 7.2.19
max_execution_time : 300
max_file_uploads : 20
max_input_nesting_level : 64
max_input_time : 60
max_input_vars : 1000
memory_limit : 256M
post_max_size : 260M
upload_max_filesize : 256M
output_buffering :
short_open_tag : 1
FileSystem : direct

Plugins I use:
404 to 301 – Redirect, Log and Notify 404 Errors
Asset CleanUp: Page Speed Booster
Caldera Forms
Cloudflare
Disqus for WordPress
Elementor
Elementor Addon Elements
Essential Addons for Elementor
Font Awesome
Google Analytics for WordPress by MonsterInsights
GTmetrix for WordPress
HT Mega – Absolute Addons for Elementor Page Builder
Insert Pages
Livemesh Addons for Elementor
Loginizer
Mailchimp for WordPress
Phlox Core Elements
Phlox Portfolio
ShortCode Redirect
TinyMCE Avançado
W3 Total Cache
Wordfence Security
WP Mail SMTP
WP ULike
Yoast SEO

Cannot use my Exchange due to strange settings

$
0
0

Replies: 0

Hi,

I have a very annoying issue. I want to use my own Exchange Server but unfortunately it rejects the first command when I connect it.

The issue is described here:
Microsoft KB
and here
Serverfault.com

The point is, I don’t have the mentioned firewall/switch. I have an HP switch and a SonicWALL. I don’t find any help.

Is there a workaround I can hack into your source code? The very strange point is, the 1st command is rejected, then, I can use EHLO <servername> without any problem.
So, the hack should ignore the first command and then it continues with the normal code.

When I try to connect behind the firewall then it works so I suspect the SonicWALL but DELL is not capable to help me. Accessing it behind the firewall but routed through the switch then it works as well. This means, the HP switch cannot be the problem.

Any chance? Any idea? Any suggestions?

Thx

Server:
OpenSSL: OpenSSL 1.0.2k 26 Jan 2017
Apache.mod_security: No
SMTP Debug:
2019-07-10 19:02:37	Connection: opening to mail.cbdfactum.com:587, timeout=300, options=array (
)
2019-07-10 19:02:38	Connection: opened
2019-07-10 19:02:38	SERVER -> CLIENT: 421 4.3.2 Service not available
2019-07-10 19:02:38	CLIENT -> SERVER: EHLO cbdfactum.com
2019-07-10 19:02:38	SERVER -> CLIENT:
2019-07-10 19:02:38	SMTP ERROR: EHLO command failed:
2019-07-10 19:02:38	SMTP NOTICE: EOF caught while checking if connected
2019-07-10 19:02:38	Connection: closed
2019-07-10 19:02:38	SMTP Error: Could not connect to SMTP host.
2019-07-10 19:02:38	SMTP Error: Could not connect to SMTP host.
Please copy only the content of the error debug message above, identified with an orange left border, into the support forum topic if you experience any issues.

Settings in wp-config.php require saving before working

$
0
0

Replies: 0

We have a number of options hard coded in the wp-config.php file on our install, as we are using a multisite / network install of WordPress, and want to use the same settings for all sites.

Looking through the code for the plugin, we found the following list of options:

https://github.com/awesomemotive/WP-Mail-SMTP/blob/master/src/Options.php#L446-L514

We then set up the following options in wp-config.php:


/* WP-MAIL SMTP settings */
define( 'WPMS_ON', true );
/* Mail Settings */
define( 'WPMS_MAIL_FROM', 'test@example.com' );
define( 'WPMS_MAIL_FROM_NAME', 'Some Website Email' );
define( 'WPMS_MAILER', 'smtp' );
define( 'WPMS_SET_RETURN_PATH', 'true' );
/* SMTP settings */
define( 'WPMS_SMTP_HOST', 'smtp.gmail.com' );
define( 'WPMS_SSL', 'ssl' );
define( 'WPMS_SMTP_PORT', 465 );
define( 'WPMS_SMTP_AUTOTLS', 1 );
define( 'WPMS_SMTP_AUTH', 1 );
define( 'WPMS_SMTP_USER', 'test@example.com' );
define( 'WPMS_SMTP_PASS', 'somepassword' );

We created a fresh site and activated the WP Mail SMTP plugin. However, we attempted to send a test email, and got an error message stating that our settings were not correctly configured yet.

Going back to the Setting tab and pressing the Save Settings button appeared to resolve this.

We’d like to know if the plugin can be modified to always check for the hard coded values in wp-config.php and default to them if present.

Duplicate Emails v1.5.0

$
0
0

Replies: 0

Also getting duplicate New Order emails when changing woocommerce order status from Pending Payment to Processing. Went down to v1.4.1 and working properly.

Issues resolving with Mailgun

$
0
0

Replies: 0

Today I’ve logged in and I’ve found this error

EMAIL DELIVERY ERROR: the plugin WP Mail SMTP v1.5.0 logged this error during the last time it tried to send an email:

cURL error 6: Couldn’t resolve host ‘api.eu.mailgun.net’
Please review your WP Mail SMTP settings in plugin admin area. Consider running an email test after fixing it.

Tried a curl -o to api.eu.mailgun.net through my server shell and it downloads the response adequately

What might be happening here?

Kind regards

[HUGE PROBLEM] oauth link for gmail is changed after last update

$
0
0

Replies: 1

oauth link for gmail is changed after last update

FROM
https://mydomain/wp-admin/options-general.php?page=wp-mail-smtp&tab=auth

TO
https://mydomain/wp-admin/admin.php?page=wp-mail-smtp&tab=auth

cause this error

Mailer: Gmail
{
“error”: “invalid_grant”,
“error_description”: “Token has been expired or revoked.”
}
Please review your WP Mail SMTP settings in plugin admin area. Consider running an email test after fixing it.

the problem is that practically the authorization is not then valid on ALL the sites where I have installed the plugin (which are many) and now I have to reinsert all the authorization links in the google console

FIX IT PLS

regards


Update to 1.5.0 messed up wp_mail when looping through users.

$
0
0

Replies: 1

We created some custom code to loop through users and send an email out to them when a post is published. Very simplistically we are running get_users( $args ); and are looping through those users and sending email via wp_mail();. When doing this it would loop through all 200 users but it would only send out an email to the first person in the array. So the first email address got 200 of the same emails. Reverting back to version 1.4.2 fixed this issue. So something in 1.5 seems to have broken it.

Any idea what could have been the issue?

Update 1.5.0 – Duplicate Woocommerce admin emails

$
0
0

Replies: 1

Hi,

Since upgrading to 1.5.0 we are receiving duplicate product out of stock admin emails in WooCommerce.

Our site is running the latest versions of WordPress and Woocommerce.

I have since rolled back to previous version but thought I would post for information.

Kind regards

Steve.

WP Mail SMTP with Multisite

$
0
0

Replies: 0

Just brought up a multi-site instance of WP.

WP Mail works fine for the first (default site) that comes with the installation. When I add sites and configure the credentials etc. it fails.

Credentials are exactly the same as the default site.

In this case, all sites will use the same SMTP relay.

Couple of questions:
1) Any idea why it works on the default site and none of the others even though everything is identical?
2) Is there a way to just make the settings global for all sites?

Many Thanks!

Intermittent Emails being sent (v1.5.0-1.5.1)

$
0
0

Replies: 0

Dear support,

We’ve been experiencing an issue since the release of 1.5.0 ad even with the recent 1.5.1 update where application related emails such as those being sent by our theme and plugins like wordfence are no longer being sent (received by recipient).

Testing WP system related emails such as password resets, etc. work fine however web app related functionality is no longer working. We’ve tested this on a number of different platforms that we operate and all produce the same result.

Any help would be greatly appreciated.

WP Mail SMTP Not sending any Emails

$
0
0

Replies: 2

Hello.
I have a strange issue.

WP Mail SMTP is not sending any emails. I tried the Email Test and it say’s
Test HTML email was sent successfully! Please check your inbox to make sure it is delivered.

Nothing shows on any email I try it on. Not even in the spam folder.
I have Formidable Forums for Contact and it says it sent it out. But again nothing.
Woocommerce orders don’t even show anymore either.

This has been a problem for over a week now. It worked perfectly fine and all the sudden stopped working. I updated the WP Mail SMTP

Nothing was updated to affect it at all. It just randomly stopped working on v1.4.2
I updated to 1.5.0 and no success.
The last update was 1.5.1 and seen the “others not receiving their emails” fix.
So I updated to that and I tried the Email Test and it worked only once and stopped again.

I then decided to update WordPress to the latest version and all the plugins I have and made no difference. It says it sent an email and never does.

Last true email it sent out was on Fri, Jul 5, 6:05 AM
Almost forgot to mention, I’m using Gmail

  • This topic was modified 6 hours, 52 minutes ago by hobgoblins.
  • This topic was modified 6 hours, 50 minutes ago by hobgoblins.

Sending via Amazon SMTP Error: Duplicate header ‘MIME-Version’

$
0
0

Replies: 0

Hi,

I have setup WP Mail SMTP to work with an Amazon AWS SMTP server. Sending test emails works.

I have installed the User Verification plugin (https://wordpress.org/plugins/user-verification/) that should send a confirmation email when a user registers.

But, when the user registers I get the following error:

SMTP Error: data not accepted.SMTP server error: DATA END command failed Detail: Transaction failed: Duplicate header ‘MIME-Version’.
SMTP code: 554

I’m not sure when the MIME-Version header is set twice. I tried commenting out the line in that sets the MIME-Version header in the User Verification plugin, but it didn’t make any difference. Here’s how the headers look like

[MIMEHeader:protected] => Date: Sat, 13 Jul 2019 07:54:48 +0000
To: my@email.com
From: Admin <admin@mysite.com>
Subject: New User Submitted – http://www.mysite.com
Message-ID: <813f9c492967e4a76ca8ddd332585eb8@www.mysite.com>
X-Mailer: WPMailSMTP/Mailer/smtp 1.5.1
MIME-Version: 1.0
MIME-Version: 1.0
Content-Type: text/html; charset=ISO-8859-1

Any idea why this happens?

thanks,
John

Reply-to

$
0
0

Replies: 0

Hi is there a way you can change or add the reply-to header. I’m trying to change it from a plugin I am building but we are using your smtp plugin to actually send the email.


Remote Email Hosting

$
0
0

Replies: 0

Hi there,

I’m starting to have issues when we host the website, but emails are hosted remotely.

The “test” email will send just fine. But when you send an actual web-form, the email is never received.

I was using the “Other SMTP” setting, with a fake email that I created on our server. By fake, I mean an email address that is likely not created on the remote email host.

One solution I tried was use an email address from a different domain so all webforms would be sent from a valid email address. For example, the domain is domaina.com, but the email used to send the webforms is domainb.com. This also caused problems.

Then I tried using GMail. This seems to work, but I’ve run out of Gmail addresses to use and I can’t create new ones, since my phone # has been used to create too many accounts.

Any suggestions on what to improve so the emails are actually delivered?

No attachment

$
0
0

Replies: 0

I have been using WP Mail SMTP to send database backups with * WordPress Database Backup by Austin Matzko. Works like a charm until 1.5.1
Now there is an attachment with a length of 0 bytes.

Works fine with last version

Other SMTP won’t send HTML and Plain text email

$
0
0

Replies: 1

Can I please get some help with “Other SMTP” email option.
The plugin is unable to send both HTML and Plain text version of the message. At the moment all emails are sent as HTML but that’s not good enough for a good email score.

I’m working on my own plugin and this is my implementation to to send an email.

$subject= ‘My subject’;
$message='<doctype html> content here’;
$plaintextmsg = ‘my plain text msg using/r/n as line breaks. Is this correct?’;

add_action(‘phpmailer_init’,’wp_mail_set_text_body’);
function wp_mail_set_text_body($phpmailer) {
if (empty($phpmailer->AltBody)) {$phpmailer->AltBody = $plaintextmsg;}
}
$headers = array( ‘Content-Type: text/html; charset=UTF-8’,’BCC: test@test.com‘ );
wp_mail( $email, $subject, $message, $headers );

What am I doing wrong?
The issue is marked as resolved in previous tickets but I’m having issues with this still, using latest version of the plugin.

Thanks!

  • This topic was modified 3 hours, 55 minutes ago by alexga.

400 error

$
0
0

Replies: 0

I did eveything like show intructiin but face 400 error.

How to solve that issue?

No longer delivering mails

$
0
0

Replies: 0

I use Yandex SMTP for my mail settings with WP MAIL SMTP and things have been gone well. Infact, your plugin would have been my first draft pick if I was setting up a team of plugins. Unfortunately, I noticed recently I didn’t receive a couple of mails and was surprised. I sent a TEST EMAIL but it failed and received this error message:

There was a problem while sending the test email.

Could not connect to the SMTP host.

This means your web server was unable to connect to smtp.yandex.com.

Typically this error is returned for one of the following reasons:

-SMTP settings are incorrect (wrong port, security setting, incorrect host).
-Your web server is blocking the connection.
-Your SMTP host is rejecting the connection.

I am not sure why the error exists IF everything was working before and I didn’t tweak the settings.

Below is the full error log (please how do I go about resolving the issue, thank you).

Versions:
WordPress: 5.2.2
WordPress MS: No
PHP: 7.2.20
WP Mail SMTP: 1.5.1

Params:
Mailer: smtp
Constants: No
ErrorInfo: SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
Host: smtp.yandex.com
Port: 465
SMTPSecure: ssl
SMTPAutoTLS: bool(true)
SMTPAuth: bool(true)

Server:
OpenSSL: OpenSSL 1.0.2k 26 Jan 2017
Apache.mod_security: No
SMTP Debug:
2019-07-16 13:16:13 Connection: opening to ssl://smtp.yandex.com:465, timeout=300, options=array (
)
2019-07-16 13:16:17 Connection: Failed to connect to server. Error number 2. “Error notice: stream_socket_client(): unable to connect to ssl://smtp.yandex.com:465 (Invalid argument)
2019-07-16 13:16:17 SMTP ERROR: Failed to connect to server: Invalid argument (22)
2019-07-16 13:16:17 SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting

Viewing all 4992 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>