Skip to content

Does the courier have a TTL for an email? #932

Answered by zepatrik
pavlovmike asked this question in Q&A
Discussion options

You must be logged in to vote

Here you have the message struct, it does not store any TTL or retry count: https://github.com/ory/kratos/blob/master/courier/message.go#L22-L34
And here is the couriers strategy on a send error: https://github.com/ory/kratos/blob/master/courier/courier.go#L152-L161
So I guess the message will be send indefinitely unless you delete it from the database (possible workaround). We should probably implement some strategy to avoid that.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@pavlovmike
Comment options

@aeneasr
Comment options

Answer selected by aeneasr
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