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

Authorization Error: json_decode

$
0
0

Replies: 0

Trying to the plugin to work with gmail. All is good up to the point of sending the test email. I get the following: (note replaced domain with …)

Warning: json_decode() expects parameter 1 to be string, array given in D:\home\…\wwwroot\wp\wp-content\plugins\google-calendar-events\vendor\google\apiclient\src\Google\Auth\OAuth2.php on line 184

Now I do not have any google-calendar-events plugin installed. It may have been in the past, no longer.

This is followed with the following fatal error:

Fatal error: Uncaught exception ‘Google_Auth_Exception’ with message ‘Could not json decode the token’ in D:\home\…\wwwroot\wp\wp-content\plugins\google-calendar-events\vendor\google\apiclient\src\Google\Auth\OAuth2.php:186 Stack trace: #0 D:\home\…\wwwroot\wp\wp-content\plugins\google-calendar-events\vendor\google\apiclient\src\Google\Client.php(218): Google_Auth_OAuth2->setAccessToken(Array) #1 D:\home\…\wwwroot\wp\wp-content\plugins\wp-mail-smtp\src\Providers\Gmail\Auth.php(121): Google_Client->setAccessToken(Array) #2 D:\home\…\wwwroot\wp\wp-content\plugins\wp-mail-smtp\src\Providers\Gmail\Auth.php(53): WPMailSMTP\Providers\Gmail\Auth->get_client() #3 D:\home\…\wwwroot\wp\wp-content\plugins\wp-mail-smtp\src\Providers\Gmail\Options.php(138): WPMailSMTP\Providers\Gmail\Auth->__construct() #4 D:\home\…\wwwroot\wp\wp-content\plugins\wp-mail-smtp\src\Providers\Gmail\Options.p in D:\home\…\wwwroot\wp\wp-content\plugins\google-calendar-events\vendor\google\apiclient\src\Google\Auth\OAuth2.php on line 186


Password field unavailable

$
0
0

Replies: 0

I am trying to set up the plugin using the SMTP server of our domain provider. I have the correct information from them, and click on other SMTP. However, when I try to enter the password into the field in the settings, the field is unavailable and does not allow an entry. What am I doing wrong? Obviously the error log shows a failure to make the SMTP connection, but that will be due to the lack of a password I assume.

Very weird SMTP bugs

$
0
0

Replies: 0

I am having a hard time getting smtp to work on AWS EC2.

When using AWS SES credentials to send mail, I can only send to email addresses 15 characters or shorter…

When sending thru gmail (smtp.gmail.com), I can only send to email addresses that have been added to the “Send mail as” (Gmail Settings/Accounts and Import) of that smtp gmail account.

I have only been able to send to the website’s domain email addresses. I cannot verify other addresses because they are all longer than 15 characters.

The sort of error I get when sending fails:


Versions:
WordPress: 5.1
WordPress MS: No
PHP: 7.3.2
WP Mail SMTP: 1.4.1

Params:
Mailer: smtp
Constants: No
ErrorInfo: You must provide at least one recipient email address.
Host: email-smtp.us-east-1.amazonaws.com
Port: 587
SMTPSecure: tls
SMTPAutoTLS: bool(true)
SMTPAuth: bool(true)

Server:
OpenSSL: OpenSSL 1.1.1a-freebsd 20 Nov 2018
Apache.mod_security: No
SMTP Debug:
2019-03-02 05:09:54	Invalid address: (addAnAddress to): adminn@my.domain

Any ideas?

Duplicate Mime Version Headers

$
0
0

Replies: 0

It seems the plugin indiscriminately sets a second mime version header even if it already exists. for many servers this might be fine, but for some it is not and then throw errors like so
SMTP Error: data not accepted.SMTP server error: DATA END command failed Detail: Transaction failed: Duplicate header 'MIME-Version'.

i.e, i simply (programatically) send the following email – the variables are of course replaced with whats appropriate – a second Mime-Version header gets added by WP Mail SMTP


$headers   = array();
$headers['mime'] 	= "MIME-Version: 1.0";
$headers['content'] = "Content-type: ".$mail_message['type']."; charset=".$mail_message['charset']."";
$headers['from'] 	= "From: ".$from_name." <".$from_address.">";
$headers['mailer'] 	= "X-Mailer: PHP/".phpversion();
/* implode */
$headers   			= implode("\r\n", $headers);

/*
	send the email
*/
$sending_mail = wp_mail($recipient, $subject, $message, $headers);

any advise ?

Email Signature

$
0
0

Replies: 0

Security details of sent email from my domain using WP mail SMTP plugin as below.

Mailed by : mrudukanga.lk
Security : Standard Encryption (TSL)

However there is no “Signed by:” signature.

Please let me know how can I send the email with signature using WP mail SMTP plugin in WordPress 5.1.

Thank you

Gmail – must use @gmail ?

Not more than 5 emails can be sent at a time

$
0
0

Replies: 3

Hi there,

I have a scheduler that needs to send email to about 50 people and sometimes a single email id can receive for than once. However the plugin always fails to send email from the 5th one.

The same code is as follows:

require __DIR__.'/wp-load.php';
for($x=0; $x<10;$x++){
    var_dump(wp_mail("randomemailid@gmail.com", "test b: {$x}", "test message {$x}"));
}

sample code screenshot
email outout

However I do not have the same problem when using the default php mail function. And the hoster also confirmed that it is fine on his side.

Is there any configuration or setting that I need to enable to solve this problem? Please help.

Thx
Laxman

  • This topic was modified 5 hours, 39 minutes ago by thapa.laxman. Reason: removed email id

Deleted

$
0
0

Replies: 0

Deleted

  • This topic was modified 6 hours, 19 minutes ago by watchkeys.

The SMTP not working at checkout page.Throwing error

$
0
0

Replies: 0

I setup WP mail SMTP perfectlly and the test mail was sending fine. But its not working at woocommerce checkout page. after i click on place order it keeps on loading and i receive the notification of order placed after almost 90 seconds. Order placed but customer is not redirected to Thank you page. It threw an error and stuck on checkout page. This is not happening when i disable this plugin. ofcourse after i disable it i will not receive the notification.

Use WP Mail SMTP from PHP

$
0
0

Replies: 0

I have written a series of PHP/HTML programs outside of WordPress but in the same domain.
I have been using the PEAR Email package that ships with PHP and it works fine until I updated to PHP 7.2
As an alternative, can I use WP Mail SMTP from a stand-alone PHP program
I have installed WP Mail SMTP in my WordPress site ebps.or.uk

Sudenlly stoped working

$
0
0

Replies: 0

Hi,
Thank you for this handy plugin
I’m using it about 8 months now, I’m using google smtp, but it stoped working today, and doesn’t work any more, when I try to send test email, nothing happend and just delay and stays on the same page, so actually I see no error , and don’t know what to do, all the ports are open, and connection with api is ok”

Test mail fail after hosting change

$
0
0

Replies: 0

Hello,

We use this plugin to send emails in our web.

A couple of weeks ago we migrated the site to a new hosting and the plugin stoped working. I asked the hosting if maybe smtp or the ports for tls o ssl were blocked, but all that was ok. Making a test email i received the following error log:

Versions:
WordPress: 4.9.9
WordPress MS: No
PHP: 7.0.33
WP Mail SMTP: 1.4.1

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

Server:
OpenSSL: OpenSSL 1.0.2k-fips 26 Jan 2017
SMTP Debug:
2019-03-11 14:48:54 Connection: opening to smtp.gmail.com:587, timeout=300, options=array (
)
2019-03-11 14:48:54 Connection: opened
2019-03-11 14:48:54 SERVER -> CLIENT: 220-az1-ss15.a2hosting.com ESMTP Exim 4.89_1 #1 Mon, 11 Mar 2019 10:48:54 -0400
220-We do not authorize the use of this system to transport unsolicited,
220 and/or bulk e-mail.
2019-03-11 14:48:54 CLIENT -> SERVER: EHLO http://www.acalis.cl
2019-03-11 14:48:54 SERVER -> CLIENT: 250-az1-ss15.a2hosting.com Hello http://www.acalis.cl [68.66.224.35]
250-SIZE 52428800
250-8BITMIME
250-PIPELINING
250-AUTH PLAIN LOGIN
250-STARTTLS
250 HELP
2019-03-11 14:48:54 CLIENT -> SERVER: STARTTLS
2019-03-11 14:48:54 SERVER -> CLIENT: 220 TLS go ahead
2019-03-11 14:48:55 SMTP Error: Could not connect to SMTP host.
2019-03-11 14:48:55 CLIENT -> SERVER: QUIT
2019-03-11 14:48:55 SERVER -> CLIENT: 221 az1-ss15.a2hosting.com closing connection
2019-03-11 14:48:55 Connection: closed
2019-03-11 14:48:55 SMTP connect() failed.

Mails not sending. Test email works

$
0
0

Replies: 0

Hi there,

Our developer advised your plugin, he tested it and everything seemed to work. Now we try it ourselves but no mails are received. It is about Woocommerce confirmation mails for instance. The test email is sent through your plugin.

Our developer is not available for the next 14 days, so we are trying it ourselves 🙂

Could you maybe help out?

Thanks!

From name is showing personal Gmail instead of website admin email

$
0
0

Replies: 0

I did configure the Gmail SMTP through your plugin and the test email worked fine, the only major issue is that the From email displayed my personal Gmail account instead of the Website admin email

Is this normal?

WP Mail SMTP Settings

$
0
0

Replies: 0

Hello,

The ‘SMTP’ password box is greyed out when i attempt to enter a password in the wp mail smtp settings.

any ideas why this happens?

when configuring my custom mail with this plugin, i choose ‘other smtp’. I have entered all of the other details the settings ask for, but then it says, ‘There was a problem while sending the test email’

I really believe this is because i haven’t been able to enter the SMTP password


Multisite TLS setting not working as intended

$
0
0

Replies: 0

I am using the defines for the wp-config.php to set the options for all sites in a multisite-environment.

The TLS-option does not work as intended. It is set to “false” in wp-config, however this only seems to hide the corresponding switch in the Dashboard plugin-settings. Actually TLS stays enabled and sending mails fails.

When I disable the master-override option in wp-config, the switch shows up in Dashboard plugin-settings and I have to disable it on every site to disable TLS for good.

Expected behaviour: If TLS is set to false in wp-config, then TLS should be disabled for all sites.

  • This topic was modified 1 hour, 11 minutes ago by archesis.

return email address incorrect

$
0
0

Replies: 0

Hello,

I installed WP Mail SMTP plugin and configured with one of my gmail accounts…all went well. Then I decided to use a different gmail account, so I disconnected the plugin and generated a new Client ID and Client Secret in the desired gmail account. The new configuration works fine as I’m able to send a test email…but when I look at the delivered test email, I see the original return email address (and from name). I expected that reconfiguring WP Mail SMTP with the second gmail would pick up the new return address & from name.

One interesting observation….the WP Mail Settings page does show the correct from email and from name (ie. from the second gmail account).

Please advise…thanks in advance,
Patrick

Email change

$
0
0

Replies: 0

Hello,
I changed my admin email of my site however I am not able to change it on WP mail smtp settings, it still shows the old admin email. Would you please help me how should I fix it?
Thank you!

WP Mail SMTP by WPForms send folder

$
0
0

Replies: 0

Hi
Will the emails sent be in the send folder on my domain server?
Thanks
Jesper

Email not sending

$
0
0

Replies: 0

Test email is working with the default setting.

However when a user registers via a custom theme. I get the following message

Mailer: Default (none)
PHPMailer was able to connect to SMTP server but failed while trying to send an email.

Any idea how to fix it?

Viewing all 4994 articles
Browse latest View live


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