I am using the code below to queue emails using Amazon SQS, the message do queue up in the Amazon SQS queue but I don't know how to process it so that the emails are delivered to their recipient. I am using a shared server for my project where I have no access to SSH.
//User Registration Email
static function UserRegEmail($LastName,$FirstName,$Email){
$user = array('LastName' => $LastName,
'FirstName' => $FirstName,
'Email' => $Email);
$data = array(
'LastName' => $LastName,
'FirstName'=> $FirstName,
'senderName' => 'MyCompanyName',
'Email' => $Email
);
Mail::queue('emails.user_welcome', $data, function($message) use ($user)
{
$message->from( '[email protected]', 'MyCompanyName' );
$message->to($user['Email'], $user['LastName'].' '.$user['FirstName'])->subject('Welcome!');
});
}