Closed Industriutrustning closed 3 years ago
Hi @Industriutrustning,
do you have the "Force From Email" checkbox in the WP Mail SMTP settings enabled?
Are you maybe using the PHP constants to configure our plugin?
Do you have any other "email sending/smtp" plugins installed, that could be causing these issues?
Take care!
Hi Gregor
Thanks for the help.
Regarding your questions:
Force From Email? No I am not using this.
Using the PHP constants?
I am using the following:
define( 'WPMS_ON', true );
define( 'WPMS_SMTP_PASS);
Regarding other plugins the only thing I can think of is that I am using Mailster to send newsletters but I have not changed anything other than upgrading all plugins to the latest.
Thanks again for the help and have a nice day.
Med Vänliga Hälsningar/ With Kind Regards
Marcus Bergqvist
Brännerigatan 19
263 37 HÖGANÄS
Org. Nr: 556941-3940
https://www.industriutrustning.se/ www.industriutrustning.se
@.> @.
Vi vill gärna ha din feedback. Lämna gärna en recension.
https://g.page/Industriutrustning/review?gm
Från: Gregor Capuder @.> Skickat: den 25 augusti 2021 07:16 Till: awesomemotive/WP-Mail-SMTP @.> Kopia: Industriutrustning @.>; Mention @.> Ämne: Re: [awesomemotive/WP-Mail-SMTP] SMTP Error: Could not authenticate. (#101)
Hi https://github.com/Industriutrustning @Industriutrustning,
do you have the "Force From Email" checkbox in the WP Mail SMTP settings enabled?
Are you maybe using the PHP constants to configure our plugin?
Do you have any other "email sending/smtp" plugins installed, that could be causing these issues?
Take care!
— You are receiving this because you were mentioned. Reply to this email directly, https://github.com/awesomemotive/WP-Mail-SMTP/issues/101#issuecomment-905190317 view it on GitHub, or https://github.com/notifications/unsubscribe-auth/AVKSAD2EVRK3LYI3FPCONKDT6R4B7ANCNFSM5CW426XQ unsubscribe. Triage notifications on the go with GitHub Mobile for https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 iOS or https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email Android. https://github.com/notifications/beacon/AVKSAD64CGETTFFXR4AF4RLT6R4B7A5CNFSM5CW426X2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOGX2BXLI.gif
-- Detta e-postmeddelande har sökts igenom efter virus med antivirusprogram från Avast. https://www.avast.com/antivirus
Hi Marcus,
do you have your PHP constants set at the end of your wp-config.php
file? If you do, please move them above this line:
/* That's all, stop editing! Happy publishing. */
That might be the reason why some emails get the "Could not authenticate" error.
Take care!
Hi Gregor
Ok, I will test this. But I think it is strange that it has worked for over a year previously. And I have not changed anything.
Med Vänliga Hälsningar/ With Kind Regards
Marcus Bergqvist
Brännerigatan 19
263 37 HÖGANÄS
Org. Nr: 556941-3940
www.industriutrustning.se https://www.industriutrustning.se/
@. @.>
Vi vill gärna ha din feedback. Lämna gärna en recension.
https://g.page/Industriutrustning/review?gm
Från: Gregor Capuder @.> Skickat: den 25 augusti 2021 13:04 Till: awesomemotive/WP-Mail-SMTP @.> Kopia: Industriutrustning @.>; Mention @.> Ämne: Re: [awesomemotive/WP-Mail-SMTP] SMTP Error: Could not authenticate. (#101)
Hi Marcus,
do you have your PHP constants set at the end of your wp-config.php file? If you do, please move them above this line: / That's all, stop editing! Happy publishing. /
That might be the reason why some emails get the "Could not authenticate" error.
Take care!
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/awesomemotive/WP-Mail-SMTP/issues/101#issuecomment-905399592 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AVKSAD2MDT2NYXOCQ57CPFTT6TEZVANCNFSM5CW426XQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email . https://github.com/notifications/beacon/AVKSAD6YDLQXXFNRZKWQOK3T6TEZVA5CNFSM5CW426X2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOGX3U2KA.gif
-- Detta e-postmeddelande har sökts igenom efter virus med antivirusprogram från Avast. https://www.avast.com/antivirus
Hi Gregor
Have tested it but it did not work.
Have a nice day.
Med Vänliga Hälsningar/ With Kind Regards
Marcus Bergqvist
Brännerigatan 19
263 37 HÖGANÄS
Org. Nr: 556941-3940
www.industriutrustning.se https://www.industriutrustning.se/
@. @.>
Vi vill gärna ha din feedback. Lämna gärna en recension.
https://g.page/Industriutrustning/review?gm
Från: Gregor Capuder @.> Skickat: den 25 augusti 2021 13:04 Till: awesomemotive/WP-Mail-SMTP @.> Kopia: Industriutrustning @.>; Mention @.> Ämne: Re: [awesomemotive/WP-Mail-SMTP] SMTP Error: Could not authenticate. (#101)
Hi Marcus,
do you have your PHP constants set at the end of your wp-config.php file? If you do, please move them above this line: / That's all, stop editing! Happy publishing. /
That might be the reason why some emails get the "Could not authenticate" error.
Take care!
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/awesomemotive/WP-Mail-SMTP/issues/101#issuecomment-905399592 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AVKSAD2MDT2NYXOCQ57CPFTT6TEZVANCNFSM5CW426XQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email . https://github.com/notifications/beacon/AVKSAD6YDLQXXFNRZKWQOK3T6TEZVA5CNFSM5CW426X2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOGX3U2KA.gif
-- Detta e-postmeddelande har sökts igenom efter virus med antivirusprogram från Avast. https://www.avast.com/antivirus
Hi Marcus,
please enable the "Force From Email" checkbox in the WP Mail SMTP plugin and let me know if that resolves it.
Take care!
Hi Gregor
It did not work, got this error:
Mailer: Övrig SMTP SMTP Error: Could not authenticate.
WooCommerce
/home/indust13/public_html/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php (rad: 655)
Thanks again for the help
Med Vänliga Hälsningar/ With Kind Regards
Marcus Bergqvist
Brännerigatan 19
263 37 HÖGANÄS
Org. Nr: 556941-3940
www.industriutrustning.se https://www.industriutrustning.se/
@. @.>
Vi vill gärna ha din feedback. Lämna gärna en recension.
https://g.page/Industriutrustning/review?gm
Från: Gregor Capuder @.> Skickat: den 25 augusti 2021 16:20 Till: awesomemotive/WP-Mail-SMTP @.> Kopia: Industriutrustning @.>; Mention @.> Ämne: Re: [awesomemotive/WP-Mail-SMTP] SMTP Error: Could not authenticate. (#101)
Hi Marcus,
please enable the "Force From Email" checkbox in the WP Mail SMTP plugin and let me know if that resolves it.
Take care!
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/awesomemotive/WP-Mail-SMTP/issues/101#issuecomment-905543799 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AVKSADZOSUIUKLQYFZJZ323T6T32NANCNFSM5CW426XQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email . https://github.com/notifications/beacon/AVKSADYJXTSWMBPBNM5GQ4TT6T32NA5CNFSM5CW426X2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOGX4YA5Y.gif
-- Detta e-postmeddelande har sökts igenom efter virus med antivirusprogram från Avast. https://www.avast.com/antivirus
Hi Marcus,
could you please remove your PHP constants for our plugin in the wp-config.php
file and add the password in the settings page. Just so we can test if that resolves the issue and we know there is something with constants config.
Thanks for trying out all these things. Without direct access, we can't do much but suggest a couple of things to debug.
Take care!
Hi Gregor
Thanks for the help. That change made it work.
So it looks like something is not working with the constants.
Have a nice day.
Med Vänliga Hälsningar/ With Kind Regards
Marcus Bergqvist
Brännerigatan 19
263 37 HÖGANÄS
Org. Nr: 556941-3940
www.industriutrustning.se https://www.industriutrustning.se/
@. @.>
Vi vill gärna ha din feedback. Lämna gärna en recension.
https://g.page/Industriutrustning/review?gm
Från: Gregor Capuder @.> Skickat: den 26 augusti 2021 13:06 Till: awesomemotive/WP-Mail-SMTP @.> Kopia: Industriutrustning @.>; Mention @.> Ämne: Re: [awesomemotive/WP-Mail-SMTP] SMTP Error: Could not authenticate. (#101)
Hi Marcus,
could you please remove your PHP constants for our plugin in the wp-config.php file and add the password in the settings page. Just so we can test if that resolves the issue and we know there is something with constants config.
Thanks for trying out all these things. Without direct access, we can't do much but suggest a couple of things to debug.
Take care!
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/awesomemotive/WP-Mail-SMTP/issues/101#issuecomment-906308125 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AVKSAD6Y6QTJLVNNB2BATO3T6YN3HANCNFSM5CW426XQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email . https://github.com/notifications/beacon/AVKSAD35CAHNEGOIHXHIQS3T6YN3HA5CNFSM5CW426X2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOGYCSUHI.gif
-- Detta e-postmeddelande har sökts igenom efter virus med antivirusprogram från Avast. https://www.avast.com/antivirus
Hi Marcus,
it's strange because I tested it with the same use case as you.
I set the constants in wp-config.php
, just above the /* That's all, stop editing! Happy publishing. */
line, like so:
define( 'WPMS_ON', true );
define( 'WPMS_SMTP_PASS', 'password_goes_here' );
And I tested the WooCommerce "forgot password" functionality and got the email delivered just fine. I also tested on WooCommerce 5.5.1 and the latest version 5.6.0.
Don't know what it could be. Maybe a plugin conflict? But why only when using constants?
Hi Gregor
That is a good question, I used the same constants above the That's all line like you and the latest plugins and wordpress the only plugins I can think of that might interfere is Mailster or wordfence
Mailster also connects to a different mail using its own SMPT settings to send newsletters. And wordfence is a security plugin but then it sould not let the test mail function pass. So I don’t know why it wont connect.
Have a nice day
Med Vänliga Hälsningar/ With Kind Regards
Marcus Bergqvist
Brännerigatan 19
263 37 HÖGANÄS
Org. Nr: 556941-3940
https://www.industriutrustning.se/ www.industriutrustning.se
@.> @.
Vi vill gärna ha din feedback. Lämna gärna en recension.
https://g.page/Industriutrustning/review?gm
Från: Gregor Capuder @.> Skickat: den 27 augusti 2021 07:26 Till: awesomemotive/WP-Mail-SMTP @.> Kopia: Industriutrustning @.>; Mention @.> Ämne: Re: [awesomemotive/WP-Mail-SMTP] SMTP Error: Could not authenticate. (#101)
Hi Marcus,
it's strange because I tested it with the same use case as you.
I set the constants in wp-config.php, just above the / That's all, stop editing! Happy publishing. / line, like so:
define( 'WPMS_ON', true ); define( 'WPMS_SMTP_PASS', 'password_goes_here' );
And I tested the WooCommerce "forgot password" functionality and got the email delivered just fine. I also tested on WooCommerce 5.5.1 and the latest version 5.6.0.
Don't know what it could be. Maybe a plugin conflict? But why only when using constants?
— You are receiving this because you were mentioned. Reply to this email directly, https://github.com/awesomemotive/WP-Mail-SMTP/issues/101#issuecomment-906935383 view it on GitHub, or https://github.com/notifications/unsubscribe-auth/AVKSAD33LJY2FLRLBEVJ2JDT64OV7ANCNFSM5CW426XQ unsubscribe. Triage notifications on the go with GitHub Mobile for https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 iOS or https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub Android. https://github.com/notifications/beacon/AVKSAD4E6D3WINGYKIMD3GTT64OV7A5CNFSM5CW426X2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOGYHLYVY.gif
-- Detta e-postmeddelande har sökts igenom efter virus med antivirusprogram från Avast. https://www.avast.com/antivirus
Hi Marcus,
you could try to deactivate the Mailster and Wordfence plugins and try the WooCommerce lost password (with our constants setup). Just to test it out quickly.
Take care!
Hi Gregor
I tried deactivating the plugins and send again but it did not work. I wounder if it is something with woocommerce but then it should not send other mails.
I activated the constants again and made an order and got the mail. And then tried to send a password request but did not get the mail. So it seems strange.
Thanks for the help.
Med Vänliga Hälsningar/ With Kind Regards
Marcus Bergqvist
Brännerigatan 19
263 37 HÖGANÄS
Org. Nr: 556941-3940
https://www.industriutrustning.se/ www.industriutrustning.se
@.> @.
Vi vill gärna ha din feedback. Lämna gärna en recension.
https://g.page/Industriutrustning/review?gm
Från: Gregor Capuder @.> Skickat: den 27 augusti 2021 13:23 Till: awesomemotive/WP-Mail-SMTP @.> Kopia: Industriutrustning @.>; Mention @.> Ämne: Re: [awesomemotive/WP-Mail-SMTP] SMTP Error: Could not authenticate. (#101)
Hi Marcus,
you could try to deactivate the Mailster and Wordfence plugins and try the WooCommerce lost password (with our constants setup). Just to test it out quickly.
Take care!
— You are receiving this because you were mentioned. Reply to this email directly, https://github.com/awesomemotive/WP-Mail-SMTP/issues/101#issuecomment-907130777 view it on GitHub, or https://github.com/notifications/unsubscribe-auth/AVKSAD4B24RW3R2LNBLBMJLT65YQ5ANCNFSM5CW426XQ unsubscribe. Triage notifications on the go with GitHub Mobile for https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 iOS or https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub Android. https://github.com/notifications/beacon/AVKSAD37E3LTLNNQLKUZQXLT65YQ5A5CNFSM5CW426X2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOGYI3PGI.gif
-- Detta e-postmeddelande har sökts igenom efter virus med antivirusprogram från Avast. https://www.avast.com/antivirus
Hi Marcus,
could you please also try setting these constants:
define( 'WPMS_MAIL_FROM', 'mail@example.com' );
define( 'WPMS_MAIL_FROM_FORCE', true );
define( 'WPMS_SMTP_USER', 'username' );
So, add and define these constants together with the existing WPMS_ON
and WPMS_SMTP_PASS
.
Let me know how it goes.
Hi Gregor
Found a guide and added all below and that seems to work.
Thanks again for the help.
define( 'WPMS_ON', true );
define( 'WPMS_MAIL_FROM', '' );
define( 'WPMS_MAIL_FROM_FORCE', true );
define( 'WPMS_MAIL_FROM_NAME', '' );
define( 'WPMS_SMTP_HOST', ' ); // The SMTP mail host.
define( 'WPMS_SMTP_PORT', 465 ); // The SMTP server port number.
define( 'WPMS_SSL', 'ssl' ); // Possible values '', 'ssl', 'tls' - note TLS is not STARTTLS.
define( 'WPMS_SMTP_AUTH', true ); // True turns it on, false turns it off.
define( 'WPMS_SMTP_USER', '' ); // SMTP authentication username, only used if WPMS_SMTP_AUTH is true.
define( 'WPMS_SMTP_PASS', '' ); // SMTP authentication password, only used if WPMS_SMTP_AUTH is true.
define( 'WPMS_SMTP_AUTOTLS', true ); // True turns it on, false turns it off.
define( 'WPMS_MAILER', 'smtp' );
Med Vänliga Hälsningar/ With Kind Regards
Marcus Bergqvist
Brännerigatan 19
263 37 HÖGANÄS
Org. Nr: 556941-3940
www.industriutrustning.se https://www.industriutrustning.se/
@. @.>
Vi vill gärna ha din feedback. Lämna gärna en recension.
https://g.page/Industriutrustning/review?gm
Från: Gregor Capuder @.> Skickat: den 30 augusti 2021 07:28 Till: awesomemotive/WP-Mail-SMTP @.> Kopia: Industriutrustning @.>; Mention @.> Ämne: Re: [awesomemotive/WP-Mail-SMTP] SMTP Error: Could not authenticate. (#101)
Hi Marcus,
could you please also try setting these constants:
define( 'WPMS_MAIL_FROM', @.***' ); define( 'WPMS_MAIL_FROM_FORCE', true ); define( 'WPMS_SMTP_USER', 'username' );
So, add and define these constants together with the existing WPMS_ON and WPMS_SMTP_PASS.
Let me know how it goes.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/awesomemotive/WP-Mail-SMTP/issues/101#issuecomment-908040802 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AVKSAD4LOHRSDY7GHDAEICTT7MJGHANCNFSM5CW426XQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub . https://github.com/notifications/beacon/AVKSAD2NFH45T6PXTUON3OTT7MJGHA5CNFSM5CW426X2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOGYPZUYQ.gif
-- Detta e-postmeddelande har sökts igenom efter virus med antivirusprogram från Avast. https://www.avast.com/antivirus
Hi Marcus,
I guess some other values are used for the SMTP Username, when the constant for that field is not used. That's why the "Could not authenticate" error shows up.
Thank you for testing all these different things :)
Have a nice day!
Expected Behavior
Send mail from wooCommerce
Current Behavior
Having problem that the plugin wont send mails like password reset. But it will send the plugin test mail. And i get the following error: Email Source: WooCommerce Mailer: Övrig SMTP SMTP Error: Could not authenticate.
I have checked with our webbhost and the test mail shows up but not the basic mails from woo
I am using the latest version of woo, wordpress And WP Mail SMTP
Thanks for the help