Reply All

Sent
Inbox
   {{--
--}}
  {{----}}
@php $rto = $email->from_email; $rsubject = "Re: ".$email->subject; if($action=='inbox'){ $newEmails = array_merge([$rto], $email->to_email); if (($key = array_search($company->email, $newEmails)) !== false) { unset($newEmails[$key]); } $toemails = implode(",",$newEmails); } elseif($action=='sent'){ $toemails = implode(",",$email->to_email); } $ccemails = (isset($email->cc_email) && !empty($email->cc_email))? implode(",",$email->cc_email):''; //$rmessage = "--- On ".date("D").", 30 Dec 2021 16:00:14 +0530 Shailesh Suri wrote ----
".$email->message; $rmessage = "



--- On ".date("D").", ".date("d M Y H:i:s")." <".$toemails[0]."> wrote ----

".$email->message; @endphp
{{-- --}}
Attachments
{{--
 
--}}