Menu

## CheckMail extends Command
in package
uses EventProcess

CheckMail.php : 17

### Table of Contents

#### Properties

$description : string
  The console command description.
$signature : string
  The name and signature of the console command.

#### Methods

__construct() : void
  Create a new command instance.
adminBirthdayReminder() : void
  Notify admins about a user's birthday via all channels.
handle() : mixed
  Execute the console command.
sendToAssignmentReminder() : void
  Send assignment reminder to a user two days before due date.
sendToAttendanceReminder() : void
  Send absentee notifications to parents across available channels.
sendToBirthdayReminder() : void
  Send birthday or work anniversary reminders to a user via multiple channels.
sendToReminderEvent() : void
  Dispatch reminder events for an event across notification, SMS, and mail channels.
sendToSnoozeTask() : void
  Send snooze reminder for a task through notifications.
sendToSnoozeTaskWeb() : void
  Send web notification for snoozed tasks.
sendToTaskReminder() : void
  Dispatch task reminder to a user over notification, SMS, and email.
userNotifyGroup() : void
  Notify users when added to a chat room via SMS and mail.

### Properties

#### $description

CheckMail.php : 34

The console command description.

`protected string $description = 'Check Mail'`

#### $signature

CheckMail.php : 27

The name and signature of the console command.

`protected string $signature = 'gego:checkmail'`

### Methods

#### __construct()

CheckMail.php : 43

Create a new command instance.

`public __construct() : void`

#### adminBirthdayReminder()

EventProcess.php : 141

Notify admins about a user's birthday via all channels.

`public adminBirthdayReminder(int $school_id, string $user_name, string $user_email, int $entity_id, string $date_of_birth, string|null $mobile_no, string|null $mail, string $birth_date) : void`

##### Parameters

$school_id : int

  School identifier

$user_name : string

  Name of the user

$user_email : string

  Email of the user

$entity_id : int

  User identifier

$date_of_birth : string

  Birth date of the user

$mobile_no : string|null

  Mobile number for SMS

$mail : string|null

  Email address for mail delivery

$birth_date : string

  Date used to schedule the notification

#### handle()

CheckMail.php : 53

Execute the console command.

`public handle() : mixed`

#### sendToAssignmentReminder()

EventProcess.php : 272

Send assignment reminder to a user two days before due date.

`public sendToAssignmentReminder(int $school_id, string $date, string $subject_name, string $title, int $entity_id, string|null $mail, string|null $mobile_no) : void`

##### Parameters

$school_id : int

  School identifier

$date : string

  Assignment due date

$subject_name : string

  Name of the subject

$title : string

  Assignment title

$entity_id : int

  User identifier

$mail : string|null

  Email address for mail delivery

$mobile_no : string|null

  Mobile number for SMS

#### sendToAttendanceReminder()

EventProcess.php : 180

Send absentee notifications to parents across available channels.

`public sendToAttendanceReminder(int $school_id, string $date, int $entity_id, string|null $mobile_no, string|null $email, string $student_name) : void`

##### Parameters

$school_id : int

  School identifier

$date : string

  Date of absence

$entity_id : int

  Student identifier

$mobile_no : string|null

  Mobile number for SMS

$email : string|null

  Email address for mail delivery

$student_name : string

  Name of the absent student

#### sendToBirthdayReminder()

EventProcess.php : 94

Send birthday or work anniversary reminders to a user via multiple channels.

`public sendToBirthdayReminder(int $school_id, int $entity_id, string $date_of_birth, array<string|int, mixed> $data, string|null $mobile_no, string|null $mail, string $type) : void`

##### Parameters

$school_id : int

  School identifier

$entity_id : int

  User identifier

$date_of_birth : string

  Birth date for the user

$data : array<string|int, mixed>

  Payload passed to the reminder event

$mobile_no : string|null

  Mobile number for SMS

$mail : string|null

  Email address for mail delivery

$type : string

  Reminder type ('birthday' or 'work_anniversary')

#### sendToReminderEvent()

EventProcess.php : 25

Dispatch reminder events for an event across notification, SMS, and mail channels.

`public sendToReminderEvent(Events $events, string $executed_at, string $check) : void`

##### Parameters

$events : Events

  Event instance containing schedule info

$executed_at : string

  Date string used to schedule the reminder (Y-m-d)

$check : string

  Indicator for recurrence handling (e.g., 'next')

#### sendToSnoozeTask()

EventProcess.php : 303

Send snooze reminder for a task through notifications.

`public sendToSnoozeTask(int $school_id, string $date, string $title, int $entity_id, string|null $mail, string|null $mobile_no) : void`

##### Parameters

$school_id : int

  School identifier

$date : string

  Rescheduled reminder date

$title : string

  Task title

$entity_id : int

  Task identifier

$mail : string|null

  Email address for mail delivery

$mobile_no : string|null

  Mobile number for SMS

#### sendToSnoozeTaskWeb()

EventProcess.php : 333

Send web notification for snoozed tasks.

`public sendToSnoozeTaskWeb(int $school_id, string $date, string $title, int $entity_id, string|null $mail, string|null $mobile_no) : void`

##### Parameters

$school_id : int

  School identifier

$date : string

  Rescheduled reminder date

$title : string

  Task title

$entity_id : int

  Task identifier

$mail : string|null

  Email address for mail delivery

$mobile_no : string|null

  Mobile number for SMS

#### sendToTaskReminder()

EventProcess.php : 236

Dispatch task reminder to a user over notification, SMS, and email.

`public sendToTaskReminder(int $school_id, string $date, string $title, int $entity_id, string|null $mail, string|null $mobile_no) : void`

##### Parameters

$school_id : int

  School identifier

$date : string

  Date to execute reminder

$title : string

  Task title

$entity_id : int

  Task identifier

$mail : string|null

  Email address for mail delivery

$mobile_no : string|null

  Mobile number for SMS

#### userNotifyGroup()

EventProcess.php : 362

Notify users when added to a chat room via SMS and mail.

`public userNotifyGroup(int $school_id, int $entity_id, string|null $mobile_no, string|null $email, string $date) : void`

##### Parameters

$school_id : int

  School identifier

$entity_id : int

  Room link identifier

$mobile_no : string|null

  Mobile number for SMS

$email : string|null

  Email address for mail delivery

$date : string

  Notification execution date

## Search results