-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.php
More file actions
22 lines (21 loc) · 1.83 KB
/
config.php
File metadata and controls
22 lines (21 loc) · 1.83 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?php
return [
'reconfirm_timer' => 730, // 수신동의 재확인 타이머, 동의한 날짜로부터의 경과일
'scheduled_at' => '6:00', // 메일링 재수신동의 메일 전송 배치 작업 시작시점 (6:00 => 매일 6시)
'queue_size' => 5,
'queue' => [
'reconfirm' => 'sync',
],
'email' => [
'reconfirm' => ['subject' => '이벤트 등 프로모션 알림 메일 수신 재확인.', 'content' => function($user, $type, $config) {
return "{$user->getDisplayName()}님은 {$user->mailing->updated_at->format('Y년 m월 d일')}에 이벤트 등 프로모션 알림 메일 수신에 동의했습니다. <br>이벤트 등 프로모션 관련 안내 메일 수신을 중단하기 원하시면 개인정보 > 이메일주소 화면에서 수신 동의 체크를 해제하시면 됩니다. <br>앞으로도 안내 메일을 수신하고자 하시는 회원님은 별도의 조치를 하지 않으셔도 됩니다. 감사합니다.";
}],
'agree' => ['subject' => '이벤트 등 프로모션 메일 수신 동의 알림.', 'content' => function($user, $type, $config) {
$url = route('mailing::deny.show', ['user_id' => $user->id, 'status'=>'denied', 'token'=>$user->mailing->deny_token]);
return "{$user->getDisplayName()}님은 {$user->mailing->updated_at->format('Y년 m월 d일')}에 이벤트 등 프로모션 알림 메일 수신에 동의했습니다. <br>If you don't want to receive this email anymore <a href='{$url}'>click here</a>.";
}],
'deny' => ['subject' => '이벤트 등 프로모션 메일 수신 거부 처리 알림.', 'content' => function($user, $type, $config) {
return "{$user->getDisplayName()}님, 이벤트 등 프로모션 알림 메일 수신 거부 처리가 완료되었습니다. 감사합니다.";
}],
]
];