Sindbad~EG File Manager

Current Path : /home/numerotech/public_html/livemt2023.aios-scientificcommittee.org/app/models/
Upload File :
Current File : //home/numerotech/public_html/livemt2023.aios-scientificcommittee.org/app/models/MailLogs.php

<?php


class MailLogs extends Eloquent {

	protected $primaryKey = 'mail_log_id';
	/**
	 * The database table used by the model.
	 *
	 * @var string
	 */
	protected $table = 'mail_logs';
	

	public Static function log($receipt_id,$type_of_mail,$loop_count,$status)
	{
		try
        { 
			$mail_log = new MailLogs();
	        
	        $mail_log->receipt_id   = $receipt_id;
	        $mail_log->type_of_mail = $type_of_mail;
	        $mail_log->loop_count   = $loop_count;
	        $mail_log->status       = $status;
	        
	        $mail_log->save();
        } 
        catch (Exception $e)
        {
            Log::error('Models: MailLogs  -> create '.$e->getMessage());
            // return [];
        }

	}
}

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists