Closed (fixed)
Project:
SMTP Authentication Support
Version:
8.x-1.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
31 Mar 2017 at 10:46 UTC
Updated:
3 May 2019 at 15:05 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
rodrigoaguileraPatch attached fixing all texts that should be strings
Comment #3
ToxaViking commentedWorks for me
Comment #4
estoyausenteworks for me too.
Comment #5
wundo commentedComment #7
wundo commentedComment #8
r-m-n commentedHello, I'm having the same problem as in https://www.drupal.org/node/2839554 ('Use encrypted protocol' selector is disabled when the site admin is not in the default language). I have applied the patch manually and cleared the cache and there is no change. Any help would be appreciated. I'm Using Drupal 8.
Comment #9
waxstuka commentedHi r-m-n,
you can solve this by hand. If you are a drupal noob like me, go to MYDRUPAL/modules/smtp/config/schema
and edit the smtp.schema.yml file.
You have to replace the word "text" with "sting" as rodrigoaguilera described.
Comment #10
estoyausente@r-m-n, @waxstuka you only have to update the module to the last version, this patch is already applied in it.
Comment #11
r-m-n commentedHI waxstuka and estoyausente (nice username, btw!). Thanks for your replies, this issue is vitally important for me. I have done both the things you suggest and cleared cache but there is no change.
I'm using SMTP version 8.x-1.0-beta3, is there a newer version?
My smtp.schema.yml file looks like this:
Can you see anything obvious that I'm doing wrong?
Comment #12
waxstuka commentedThis drives me crazy... yesterday it worked. Now it doesn't at all...
While trying this a couple times I am getting sometimes a test email but nearly all the time I am getting an mail error in /admin/reports/dblog. This is rly spooky. How can I debug this. Is there any other way then just seeing the mails in the log files?
I would like to add, that I am using smtp mail with a version of php 5.6.30, this one works fine!
On the other system I am using php version 7.0.18, this is the broken one...
Comment #13
estoyausenteYour smtp.schema.yml is correct but I'm not sure if your config is rebuild automatically when the file is updated. Maybe reinstall the module would be a good idea.
Remind that this module is still in a beta status :)
Comment #14
r-m-n commentedThanks for your comment estoyausente, I'm updating core at the moment. When it finishes, I'll try to reinstall the module. I'll report back later.
Comment #15
r-m-n commented@estoyausente, I finished upgrading to core 8.3.5, then I uninstalled SMTP and reinstalled version 8.x-1.0-beta3. The first thing I did was look at smtp.schema.yml and type is set to 'text' so I can't see how the patch is applied in this latest version of SMTP.
Here is what I did next, just incase it will help others with the same problem. Before activating the SMTP module, I changed all the 'text' to 'string' saved smtp.schema.yml and then activated the module. I went to the non-default language first and configured the module. Then I checked in the default language, the settings were the same. Then I made sure my mail system was set to SMTP. I sent a test message with the site in default and non-default languages, and... it worked!
Now, let's see how stable it is. I hope I don't have these problems again.
Many thanks to everyone that has given their input. :)
Comment #17
sarikak commentedI'm using Drupal 8.3.7, and have the 8.x-1.0-beta2 version of the SMTP module.
Before the only language of the site was English and everything worked very well. After switching to multi-language, mailing does not work with the English language, and not for other languages. On the configuration page I have this message:
I have also applied the above-mentioned patch.
Edited
Finally, I got this issue resolved.
The actual reason for this error is the newly implemented multi-language feature.
I have applied the patch from the issue
Also first configure the SMTP settings for the non-default language.
thanks @rodrigoaguilera
Comment #18
foolfitz commentedMe too, after applied # patch, I still can't send mail for other languages, and it shows "Unable to send email. Contact the site administrator if the problem persists."
I use 8.x-1.0-beta2.
Comment #19
overseayalig commentedAnyone knows how to fix this on Drupal 7? The Drupal 7 version does not even have this config folder under the folder of the module...
Comment #20
luison commented@r-m-n was right!!
I'm running the beta4 version and still persist the problem.
I had to uninstall the module, install the same module and then go to the non-english configuration (spanish in my case). Configure in spanish and... now it works! in spanish and in english also.
Should be fixed...
Comment #21
luison commented@r-m-n was right!!
I'm running the beta4 version and still persist the problem.
I had to uninstall the module, install the same module and then go to the non-english configuration (spanish in my case). Configure in spanish and... now it works! in spanish and in english also.
Should be fixed...
Comment #22
alienzed commentedWhere exactly is the non-english configuration page for SMTP? How does one get there, I am not finding it!