2017-04-26 11:28:32 +00:00
|
|
|
Channel.create_if_not_exists(
|
2018-12-19 17:31:51 +00:00
|
|
|
area: 'Email::Notification',
|
|
|
|
options: {
|
2017-04-26 11:28:32 +00:00
|
|
|
outbound: {
|
|
|
|
adapter: 'smtp',
|
|
|
|
options: {
|
2018-12-19 17:31:51 +00:00
|
|
|
host: 'host.example.com',
|
|
|
|
user: '',
|
2017-04-26 11:28:32 +00:00
|
|
|
password: '',
|
2018-12-19 17:31:51 +00:00
|
|
|
ssl: true,
|
2017-04-26 11:28:32 +00:00
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
2018-12-19 17:31:51 +00:00
|
|
|
group_id: 1,
|
2017-04-26 11:28:32 +00:00
|
|
|
preferences: { online_service_disable: true },
|
2018-12-19 17:31:51 +00:00
|
|
|
active: false,
|
2017-04-26 11:28:32 +00:00
|
|
|
)
|
|
|
|
Channel.create_if_not_exists(
|
2018-12-19 17:31:51 +00:00
|
|
|
area: 'Email::Notification',
|
|
|
|
options: {
|
2017-04-26 11:28:32 +00:00
|
|
|
outbound: {
|
|
|
|
adapter: 'sendmail',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
preferences: { online_service_disable: true },
|
2018-12-19 17:31:51 +00:00
|
|
|
active: true,
|
2017-04-26 11:28:32 +00:00
|
|
|
)
|