title: Unable to set $from variable in mail function in PHP
body: <p>I have following code for a form</p>
  
  <pre><code>&lt;input type=text name=sender maxlength="50"/&gt;
  &lt;input type=email name=mail /&gt;
  &lt;input type=text name=title maxlength="150"/&gt;
  &lt;textarea name=issue rows=6&gt;&lt;/textarea&gt;
  &lt;button name="submit"  type=submit&gt;Submit&lt;/button&gt;
  
  &lt;?php
  if  (!empty($_REQUEST['sender'])&amp;&amp;!empty($_REQUEST['mail'])&amp;&amp;!empty($_REQUEST['issue']) &amp;&amp;!empty($_REQUEST['title'])) {
  $sender=$_REQUEST['sender'];
  $email=$_REQUEST['mail'];
  $issue=$_REQUEST['issue'];  
  $title=$_REQUEST['title'];
  $from="$sender : $email";
  mail("mail to send to", $title, $issue, $from);
  }
  ?&gt; 
  </code></pre>
  
  <p>Now, the problem is I get ipg.apnasikkacom as name and ipg.apnasikkacom@boscustweb2803.eigbox.net as email address. Why is this happening?</p>