123456789101112131415161718192021222324252627 |
- Channel.create_if_not_exists(
- area: 'Email::Notification',
- options: {
- outbound: {
- adapter: 'smtp',
- options: {
- host: 'host.example.com',
- user: '',
- password: '',
- ssl: true,
- },
- },
- },
- group_id: 1,
- preferences: { online_service_disable: true },
- active: false,
- )
- Channel.create_if_not_exists(
- area: 'Email::Notification',
- options: {
- outbound: {
- adapter: 'sendmail',
- },
- },
- preferences: { online_service_disable: true },
- active: true,
- )
|