/
smtp.rb
42 lines (42 loc) 路 1.46 KB
/
smtp.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
module Constants
module Settings
module SMTP
def self.details
{
address: {
description: I18n.t("lib.constants.settings.smtp.address.description"),
placeholder: I18n.t("lib.constants.settings.smtp.address.placeholder")
},
port: {
description: I18n.t("lib.constants.settings.smtp.port.description"),
placeholder: I18n.t("lib.constants.settings.smtp.port.placeholder")
},
authentication: {
description: I18n.t("lib.constants.settings.smtp.authentication.description"),
placeholder: I18n.t("lib.constants.settings.smtp.authentication.placeholder")
},
user_name: {
description: I18n.t("lib.constants.settings.smtp.user_name.description"),
placeholder: ""
},
password: {
description: I18n.t("lib.constants.settings.smtp.password.description"),
placeholder: ""
},
domain: {
description: I18n.t("lib.constants.settings.smtp.domain.description"),
placeholder: ""
},
from_email_address: {
description: I18n.t("lib.constants.settings.smtp.from_email.description"),
placeholder: ""
},
reply_to_email_address: {
description: I18n.t("lib.constants.settings.smtp.reply_to.description"),
placeholder: ""
}
}
end
end
end
end