title: smtp error on sending email : sender address must contain a domain
body: <p>hi i get this error when i try to send email </p>
  
  <pre><code>SMTP -&gt; ERROR: MAIL not accepted from server: 501 : sender address must contain a domain 
  </code></pre>
  
  <p>it used to work fine i'm not sure what happend
  i use php mailer but i dont think this is important </p>
  
  <pre><code>   $smtp = setting::get_smtp( 1 , 'support');      
  
     $mail   = new PHPMailer(); 
     $mail-&gt;IsSMTP(); 
     $mail-&gt;Host       = $smtp-&gt;address;  //localhost
     $mail-&gt;CharSet    = "utf-8";                              
     $mail-&gt;SMTPAuth   = true;                 
     $mail-&gt;Port       = $smtp-&gt;port;    // 25                  
     $mail-&gt;Username   = $smtp-&gt;username; 
     $mail-&gt;Password   = $smtp-&gt;password;   
     $mail-&gt;From       =  $smtp-&gt;from ; // www.mysite.com
     $mail-&gt;AddReplyTo ($smtp-&gt;username , $smtp-&gt;from ); // noreply@mysite.com //www.mysite.com
     $mail-&gt;Subject    = $title;
     $mail-&gt;AltBody    = "To view the message, please use an HTML compatible email viewer!"; 
  
         $mail-&gt;MsgHTML($msg);
         $mail-&gt;SMTPDebug = 1;
         if( filter_var( $admin_email , FILTER_VALIDATE_EMAIL ) == TRUE ){
         $mail-&gt;AddAddress($admin_email , "John Doe");
             $mail-&gt;Send();
         }
  </code></pre>