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

Its not working


bbPress Notify (No Spam) Error: wp_mail_failed is not called on error

$
0
0

Replies: 0

Hi all,

This is a followup on a thread that I first created on the bbPress Notiy (No Spam) forums: https://wordpress.org/support/topic/cannot-send-email-undefined-property-bbpress_notify_nospamwp_mail_error/#post-10739837

Whenever I configure a custom SMTP server with WP Mail SMTP (“Other SMTP”), my debug.log is filled with errors. Apparently, on email sending errors, the wp_mail_failed function is not called by WP Mail SMTP. This causes an error with bbPress Notify down the road.

The bbPress Notify developer will take action to address this, but still: I would very much like to know the reason why my emails cannot be sent to my custom SMTP.

What do you think?

Authentication problem with gmail

$
0
0

Replies: 0

Hi,

I am getting the following error when configuring the plugin with gmail “There was an error while processing the authentication request. Please try again.”

So far I have tried enabling less secure apps and disabling mod security altogether and I still see the problem. Any help here is appreciated.

Thanks
Vish

Contact Form 7 – I did not receive the email

setting from email address in wp_mail always gets overridden

$
0
0

Replies: 0

Hi,

I’ve setup the plugin using Gmail as the mailer. I have all the correct credentials in place and also, can send out a test email successfully.

My use-case is such as described:
– The public contact form is filled by users with their name and email address and their query.
– I want to use their name and email address in the from_name, from, and reply-to fields of the mail sent out to my email_address.

I have added the following code in my theme’s functions.php

add_action('wp_ajax_sendMail', 'custom_sendmail');
add_action('wp_ajax_nopriv_sendMail', 'custom_sendmail');
function custom_sendmail(){
  if (isset($_POST['message'])){
        $to = $_POST['to_mail'];
        $subject = $_POST['subject'];

        $headers = array(
                'From: ' . $_POST['from_email'],
                'Reply-To: <"' . $_POST['from_email']  . '">',
                'Content-Type: text/html; charset=UTF-8'
        );
        $mail = wp_mail($to, $subject, $_POST['message'], $headers);
        if($mail){
                echo 'success';
        }else{
                echo 'failed';
        }

        die();
  }
  return;
}

The issue is that the from/reply-to field in the email is always set to the one I have setup in the From Email field in WP Mail SMTP settings on my admin dashboard. The same is the case with the from name field.
Please note that I do not have the Force From Email and Force From Name checkboxes selected in my settings.

What am I doing wrong?

403 Gmail auth error – contacted hosting

$
0
0

Replies: 0

Hi there,
I get the 403 error when I try to authorise my connection too. My URL is:
https://www.acevetsupplies.co.uk/wp-admin/options-general.php?page=wp-mail-smtp&tab=auth&code=4/cgA6R-etZMDnUi6O9kUsIjnLvTZhxkSS5RpmaVmkpxi1wQtL6MnSEBPpKHMTbaTJ6A0W4OFhiHTvdpVmsQnwvAo&scope=https://mail.google.com/

Have contacted hosting support and asked them to disable specific rules within Mod_Security as you’ve previously advised. They have come back and said “I just give you the full permission to edit the needed file and folder on WordPress, Also there is no issues from the server end as I checked the server logs and there is nothing wrong.”

Please could you advise? Having been having problems for weeks now.

Thanks!

WP Mail SMTP: 1.3.3 not sending test email

$
0
0

Replies: 0

Versions:
WordPress: 4.9.8
WordPress MS: No
PHP: 5.6.38
WP Mail SMTP: 1.3.3

Params:
Mailer: gmail
Constants: No
Client ID/Secret: Yes
Auth Code: Yes
Access Token: No

Server:
OpenSSL: Yes
PHP.allow_url_fopen: No
PHP.stream_socket_client(): Yes
PHP.fsockopen(): Yes
PHP.curl_version(): Yes

Debug:
Mailer: Gmail
{
“error”: {
“errors”: [
{
“domain”: “global”,
“reason”: “required”,
“message”: “Login Required”,
“locationType”: “header”,
“location”: “Authorization”
}
],
“code”: 401,
“message”: “Login Required”
}
}

Problem while sending a test email

$
0
0

Replies: 0

Hi,

I’ve received the following error message:

There was a problem while sending a test email. Related debugging output is shown below:

Versions:
WordPress: 4.9.8
WordPress MS: Yes
PHP: 5.6.37-1+ubuntu14.04.1+deb.sury.org+1
WP Mail SMTP: 1.2.5

Params:
Mailer: smtp
Constants: No
ErrorInfo: SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
Host: localhost
Port: 25
SMTPSecure: string(0) “”
SMTPAutoTLS: bool(true)
SMTPAuth: bool(false)

Server:
OpenSSL: Yes
Apache.mod_security: No
SMTP Debug:


the plugin is not working anymore

$
0
0

Replies: 0

i use the plugin for 3 months now 10 days the plugin is off i try with live.com and the gmail not working what to do????????

From Name does not work in any case (office365)

$
0
0

Replies: 0

Hi, I’m using WP Mail SMTP, and a contact form using Contact Form 7.

In my form settings, in the “mail” tab, for “From”
I have myname<web@mydomain.com>

But all emails from this form arrive with a FROM name of “web”

In the “WP Mail SMTP” plugin, I’ve set the FROM name as “myname”, and have checked the “Force From Name” box.

We are using smtp.office365.com for our SMTP, if that makes a difference.

I really don’t know what else to try. Any advice?

Thanks!

Test not work. Junk mail

$
0
0

Replies: 0

Can you solve this problem? I emailed and sent the mail but the problem was that the email was sent to junk mail.

405 Not Allowed error from nginx

$
0
0

Replies: 0

I installed and activated the WP SMTP mail plugin and configured it according to the document How to Get WordPress Form Notifications Using the WP Mail SMTP Plugin to work with Gmail. Then I went to the top of the configuration page selected Email Test. It hangs for literally several minutes before nginx server returns a 405 not Allowed error with no other information fo me to figure out what’s not allowed. Any ieas about what I need to fix?

Using WP SMTP Mail v 1.3.3 on WordPress 4.9.8

Thanks,
Rob Tanner
caspersgrin@macuuf.org

Problem while sending the test email

$
0
0

Replies: 0

Sir,
There was a problem while sending the test email. The error debug message >

Versions:
WordPress: 4.9.8
WordPress MS: No
PHP: 7.0.30
WP Mail SMTP: 1.3.3

Params:
Mailer: gmail
Constants: No
Client ID/Secret: Yes
Auth Code: No
Access Token: No

Server:
OpenSSL: Yes
PHP.allow_url_fopen: Yes
PHP.stream_socket_client(): Yes
PHP.fsockopen(): Yes
PHP.curl_version(): Yes
Apache.mod_security: No

Debug:
Mailer: Gmail
{
“error”: {
“errors”: [
{
“domain”: “global”,
“reason”: “required”,
“message”: “Login Required”,
“locationType”: “header”,
“location”: “Authorization”
}
],
“code”: 401,
“message”: “Login Required”
}
}

After setting up for GSuite address, can I send from any address on that domain?

$
0
0

Replies: 0

I’ve configured this plugin to work with a GSuite email address, and it works great. Will emails sent from different email accounts on the same domain also use the Gmail API via this plugin and result in better delivery? If not, can I setup more than one email address simultaneously?

Thanks

Authenticate crashes my entire server

$
0
0

Replies: 0

I have done everything to set up the Google app but when I try to do the last step (authenticate) I get the google box, click approve and then I’m sent back to my server showing me a 403 error. This additionally takes down my entire server and I have to reboot it to get all the sites back online. I am with AWS Lightsail and not a server guru so I have no idea how to 1. get this plugin working and 2. Get email to send that isn’t blocked by gmail. Please help! Here’s the log:

Versions:
WordPress: 4.9.8
WordPress MS: No
PHP: 7.0.32
WP Mail SMTP: 1.3.3

Params:
Mailer: gmail
Constants: No
Client ID/Secret: Yes
Auth Code: No
Access Token: No

Server:
OpenSSL: Yes
PHP.allow_url_fopen: Yes
PHP.stream_socket_client(): Yes
PHP.fsockopen(): Yes
PHP.curl_version(): Yes

Debug:
Mailer: Gmail { “error”: { “errors”: [ { “domain”: “global”, “reason”: “required”, “message”: “Login Required”, “locationType”: “header”, “location”: “Authorization” } ], “code”: 401, “message”: “Login Required” } }


An error occurred in the Google API.

$
0
0

Replies: 0

Versions:
WordPress: 4.9.8
WordPress MS: No
PHP: 7.0.30
WP Mail SMTP: 1.3.3

Params:
Mailer: gmail
Constants: No
Client ID/Secret: Yes
Auth Code: No
Access Token: No

Server:
OpenSSL: Yes
PHP.allow_url_fopen: Yes
PHP.stream_socket_client(): Yes
PHP.fsockopen(): Yes
PHP.curl_version(): Yes

Debug:
Mailer: Gmail
{
“error”: {
“errors”: [
{
“domain”: “global”,
“reason”: “required”,
“message”: “Login Required”,
“locationType”: “header”,
“location”: “Authorization”
}
],
“code”: 401,
“message”: “Login Required”
}
}

Sending error

$
0
0

Replies: 0

Hi

I have been using the smtp plugin for some months now and it always worked but now suddenly it stopped working and test email gives me this error:

Versions:
WordPress: 4.9.8
WordPress MS: No
PHP: 7.0.32
WP Mail SMTP: 1.2.5

Params:
Mailer: gmail
Constants: No
Client ID/Secret: Yes
Auth Code: Yes
Access Token: Yes

Server:
OpenSSL: Yes
PHP.allow_url_fopen: Yes
PHP.stream_socket_client(): Yes
PHP.fsockopen(): Yes
PHP.curl_version(): Yes
Apache.mod_security: No

Debug:
Error while sending via Gmail mailer: {
“error”: “invalid_grant”,
“error_description”: “Bad Request”
}

Hide Gmail address

$
0
0

Replies: 0

Hi,
Thanks for the great plugin and tutorials.
I’ve installed the plugin and set one GMAIL account for it.
It is working without any problem.
Just how can I show another e-mail address as the sender (e.g. noreplay@mydomain.com) instead of real synced GMAIL account sender?

Multi-Site & Wordfence

$
0
0

Replies: 0

I have a wordpress multi-site installed and I would like this plugin to work from the core dashboard as well to send email for high-level plugins like workdfence. Is this possible? Looks like i can only config at a per-site level.

Google API Console Error

$
0
0

Replies: 0

All of the sudden I am getting the following error from the plugin:

Mailer: Gmail
{
  "error": "invalid_grant",
  "error_description": "Bad Request”
}

It appears that google updated their standards for using the gmail API, and is now requiring verification of a privacy policy before activating the API. Could you provide documentation on how to accomplish this given the new API console rules?

Viewing all 5011 articles
Browse latest View live


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