title: Send mail to multiple recipients in Java
body: <p>I want to send a message to multiple Recipients using following the method:</p>
  <pre><code>message.addRecipient(Message.RecipientType.TO, String arg1);
  </code></pre>
  <p><em><strong>Or</strong></em></p>
  <pre><code>message.setRecipients(Message.RecipientType.TO,String arg1);
  </code></pre>
  <p>But one confusion is that in the second argument, how to pass multiple addresses like:</p>
  <pre><code>message.addRecipient(Message.RecipientType.CC, &quot;abc@abc.example,abc@def.example,ghi@abc.example&quot;);
  </code></pre>
  <p><em><strong>Or</strong></em>
  message.addRecipient(Message.RecipientType.CC, &quot;abc@abc.example;abc@def.example;ghi@abc.example&quot;);</p>
  <p>I can send a message using alternate methods too, but I want to know the purpose of the above method.</p>
  <p>If I can’t use it (as till now I haven't got any answer for above requirement) then what is the need for this method to be in mail API.</p>