https://www.ory.sh/ logo
#talk-kratos
Title
# talk-kratos
l

lively-beard-47107

04/27/2022, 12:21 PM
Hi! I have created a simple SMTP server in Python which receives the emails and does something with them. Now I want to use it with Kratos, but the problem is that I’m getting this error:
Copy code
time=2022-04-27T12:16:58Z level=error msg=Unable to send email using SMTP connection. audience=application error=map[message:unencrypted connection] message_from=no-reply@example.com service_name=Ory Kratos service_version=v0.8.2-alpha.1 smtp_server=custom-smtp-server.test.svc.cluster.local:25 smtp_ssl_enabled=false
And I am configuring it like:
Copy code
<smtp://test:test@custom-smtp-server.test.svc.cluster.local:25/?disable_starttls=true>
It says
unencrypted connection
which is true, but I don’t care much since it is locally. Is there any way I can configure Kratos to allow this?
h

hundreds-waitress-39951

04/27/2022, 1:04 PM
This might help :
?skip_ssl_verify=true&disable_starttls=true
l

lively-beard-47107

04/27/2022, 1:58 PM
I tried it. Same problem
Copy code
time=2022-04-27T13:57:51Z level=error msg=Unable to send email using SMTP connection. audience=application error=map[message:unencrypted connection] message_from=no-reply@example.com service_name=Ory Kratos service_version=v0.8.2-alpha.1 smtp_server=custom-smtp-server.test.svc.cluster.local:25 smtp_ssl_enabled=false
Regarding this issue I am having, I was checking out this issue in GitHub. https://github.com/ory/kratos/issues/781 which makes me think that what I am trying to achieve is currently supported. I’m not sure though why I get an error that encrypted connection is missing
I don’t think anyone had any idea regarding this 😕
m

most-eve-6069

09/05/2022, 1:36 AM
@lively-beard-47107 I'm hitting this now, did you ever get it working?
3 Views