Skip to content

Custom mailserver / STMP Ory Hosted #106

Answered by aeneasr
thecodeassassin asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @thecodeassassin - yes you can use your own SMTP mail server! You can use the Ory CLI to configure it, see: https://www.ory.sh/docs/guides/cli/config-with-cli#patch-configuration

In your case, it would probably be something along the lines of:

ory patch project <your-project-id> \
  --replace '/services/identity/config/courier/smtp/from_name="My Custom E-Mail Name"' \
  --replace '/services/identity/config/courier/smtp/connection_uri="smtps://..."'

Let me know if this helps!

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@vinckr
Comment options

Answer selected by vinckr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants