How to use mail function in laravel 5.2?
<p>I have tried mail function in laravel but i did not get success.Kindly suggest me that how to send email in laravel.
here is my code in Controller.</p>

<pre><code> $Body = "$CusName ($UID - $CusEmail ) from $SiteID";

 $param = array('User'=&gt;$Use, 'Pass'=&gt;$Pass,'Body'=&gt;$Body,'SiteID'=&gt;$SiteID);
 $Email['To']="xyz@gmail.com";
 $Email['Sender']=$CusEmail;
 $Email['Body']=$data;

 $mail= mail("xyz@gmail.com","My subject",$data);
</code></pre>

<p>Thankyou</p>