mirror of
https://github.com/discourse/discourse.git
synced 2025-01-18 18:02:46 +08:00
Add case for bad reply key
This commit is contained in:
parent
d2823fc5ee
commit
8b5d2b835a
|
@ -35,6 +35,8 @@ module Jobs
|
|||
message_template = :email_reject_empty
|
||||
when Email::Receiver::EmailUnparsableError
|
||||
message_template = :email_reject_parsing
|
||||
when Email::Receiver::EmailLogNotFound
|
||||
message_template = :email_reject_reply_key
|
||||
when ActiveRecord::Rollback
|
||||
message_template = :email_reject_post_error
|
||||
else
|
||||
|
|
|
@ -1351,6 +1351,13 @@ en:
|
|||
|
||||
The Markdown could not be processed.
|
||||
|
||||
email_reject_reply_key:
|
||||
subject_template: "Message rejected: Bad Reply Key"
|
||||
text_body_template: |
|
||||
The message you've send to %{to} was rejected by the system.
|
||||
|
||||
The provided reply key is invalid.
|
||||
|
||||
too_many_spam_flags:
|
||||
subject_template: "New account blocked"
|
||||
text_body_template: |
|
||||
|
|
Loading…
Reference in New Issue
Block a user