Single Email With Multiple Recipients 1$emailRecipient = ['email01@example.com', 'email02@example.com']; 2Mail::to($emailRecipient)->send(new MailOnServiceFailure($logTimestamp, $failedContent)); 3Log::info("Service Failure Mail Alert sent successfully to " . json_encode($emailRecipient)); …
Read MoreA quick way to test mail sending via php: 1<?php 2ini_set( 'display_errors', 1 ); 3error_reporting( E_ALL ); 4$from = "webmaster@example.com"; 5$to = "me@example.com"; 6$subject = "PHP Mail Test script"; 7$message = "This is a test to check the PHP Mail functionality"; …
Read More