title: php mail function cannot send to name.sirname@doman.com ??i
body: <p>I'm having trouble when sending emails thorough the mail() function.</p>
  
  <p>I have a script that works perfectly fine for an email address like name@domain.com but when the first part of the email is something with a dot like name.surname@domain.com it doesn't work and returns this error :</p>
  
  <p>Warning:  mail() [function.mail ]: SMTP server response: 554 : Recipient address rejected: Relay access denied in confirmed.php on line 119</p>
  
  <p>I am using real email address but have changed it in the above example. </p>
  
  <p>Any thoughts - I'm not a php master but surely there is an easy way to send emails to address with a 2 part first section??</p>
  
  <p>Thanks in advance
  Ali</p>