-
Hi, is it possible to change the server to send emails without using namshi container? for example SMTP AUTH client submission in office 365 ? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
We managed to do so by changing the last part of The original config file looks like this. config :asciinema, Asciinema.Emails.Mailer,
deliver_later_strategy: Asciinema.BambooExqStrategy,
adapter: Bamboo.SMTPAdapter,
server: "smtp",
port: 25 And here's our modified config. Note that we are using Office 365 China version and you may change the address. config :asciinema, Asciinema.Emails.Mailer,
deliver_later_strategy: Asciinema.BambooExqStrategy,
adapter: Bamboo.SMTPAdapter,
server: "smtp.partner.outlook.cn",
port: 587,
username: "[email protected]",
password: "my-password",
ssl: false,
tls: :always,
auth: :always,
allowed_tls_versions: [:"tlsv1.2"],
retries: 2 Note: To make it work, Further reading: |
Beta Was this translation helpful? Give feedback.
-
I've created a wiki page about this, showing how this can be configured without rebuilding the image - https://github.com/asciinema/asciinema-server/wiki/SMTP-configuration Thx for the Office 365 snippet @colinleefish ! Does it solve your problem @mohatb , you ok with closing the issue? |
Beta Was this translation helpful? Give feedback.
-
Glad that I can help! |
Beta Was this translation helpful? Give feedback.
-
You can now configure SMTP server directly on the asciinema-server with No need for namshi/smtp containers, in fact I've removed it from the docs. |
Beta Was this translation helpful? Give feedback.
You can now configure SMTP server directly on the asciinema-server with
SMTP_*
variables as documented here: https://docs.asciinema.org/manual/server/self-hosting/configuration/#emailNo need for namshi/smtp containers, in fact I've removed it from the docs.