我正在使用刪除服務器的SMTP詳細信息。這是代碼片段。 $mail = new PHPMailer;
$mail->IsSMTP(); // Set mailer to use SMTP
$mail->Host = isset($_GET['host'])?$_GET['host']:"[email protected]";
$mail->Port
我想然而,存儲在[存儲/程序/證明]將圖像附加到電子郵件,我越來越重視形象... 代替圖像文件,這是我迄今爲止所做的。 控制器 $user->accType = "TBC";
//stored as "proof/img_name.jpg" in DB
$user->proofLink = request()->file('proofFile')->store('proo