title: PHP mailer multiple address
body: <blockquote>
  <p><strong>Possible Duplicate:</strong>
  <a href="https://stackoverflow.com/questions/1770765/phpmailer-addaddress">PHPMailer AddAddress()</a></p>
  </blockquote>
  
  <p>Here is my code.</p>
  <pre>
  require('class.phpmailer.php');
  $mail = new PHPMailer();
  
  $email = 'email1@test.example, email2@test.example, email3@test.example';
  
      $sendmail = "$email";
  
      $mail->AddAddress($sendmail,"Subject");
      $mail->Subject = "Subject";
      $mail->Body    = $content;
  
      if(!$mail->Send()) { # sending mail failed
          $msg="Unknown Error has Occured. Please try again Later.";
      }
      else {
          $msg="Your Message has been sent. We'll keep in touch with you soon.";
      }
  }
  </pre>
  <p><strong>The Problem</strong><br />
  if <strong>$email</strong> value is only 1. It will send. But multiple don't send. What should I do for this. I know that in mail function you have to separate multiple emails by comma. But not working in phpmailer.</p>