Back | Home
الـ Path الحالي: /home/picotech/domains/instantly.picotech.app/public_html/public/uploads/../../app/EmailProvider
الملفات الموجودة في هذا الـ Path:
.
..
AmazonSmtp.php
ElasticApi.php
ElasticSmtp.php
MailGunApi.php
MailGunSmtp.php
SendEMail.php
SendGridApi.php
SendMailInterface.php
SendMailProcess.php
Sendmail.php
Smtp.php
SparkpostSmtp.php

مشاهدة ملف: SendEMail.php

<?php

namespace App\EmailProvider;

class SendEMail
{
    public $provider;
    public $errors;

    public function __construct(SendMailInterface $payment)
    {
        $this->provider=$payment;
        $this->errors=[];
    }

    public function trigger(){
        $response=$this->provider->process();
        $this->errors=$response->errors();
        return $this;
    }

}