$data=['email'=>$email,'subject'=>'ISS WORLD Account Details','bodymessage'=>$msg,'admin'=>$adminId];
$result= Mail::send(array(), $data,function($message) use ($data){
$message->from('vengadeschinz@gmail.com','ISS-WORLD');
$message->to($data['email']);
$message->cc($data['admin']);
$message->subject($data['subject']);
);
$result= Mail::send(array(), $data,function($message) use ($data){
$message->from('vengadeschinz@gmail.com','ISS-WORLD');
$message->to($data['email']);
$message->cc($data['admin']);
$message->subject($data['subject']);
);
0 comments:
Post a Comment