Hello! I was trying to resolve problem with mailin...
# ory-network
f
Hello! I was trying to resolve problem with mailing (I described it yestertay), and I discovered a thing that looks weird to me: when I try to set SMTP security mode to say STARTTLS, it reset back to 'plaintext SMTP' when I reload the page after saving settings. Moreover, I didn't find that property in the request being sent to save the settings.
b
Hi, thanks for the report, we will look into that! In general: we assume “STARTTLS” to be “enabled” if no parameters are given to the SMTP URL. So if your URL looks like this:
<smtp://user:pass@server>:port/
that should do it. However if your SMTP server does not support STARTTLS, email sending will fail. Unfortunately, there is no easy way to debug that currently. But we are actively working on more observability in the console. As for the “Cleartext SMTP” issue, that should be a visual bug but should not affect the behavior of your project.
f
Yeah, I found that in the config schema definition. But honestly speaking it frustrates me even more, 'cause now I don't even have an idea why it doesn't send emails 🙂 The credentials must be valid, and everything is now configured according to the Ory's special requirements, but still no effect. How could I find out what is exactly the problem with it? I understand that there are no logs now available, but still...
b
We can send you the relevant logs if you give us your project ID. Best to send via private message here.
f
@flaky-kite-3525 hey, what is you mail provider url? only top level needed for confirmation
for reference: moved to private message
f
The issue is also resolved: the thing was in weird domain/certificate configuration of a mailing provider, so just changing the domain name did the trick
Thanks for the support!
👍 1