android/java - why does javamail API have an array of senders for messages?
===

i need to use some sort of a port to javaMail (link [here][1] ) that takes messages from an email server (gmail in my case, but might change in the future) , and reads some information from them.

one of the things i've noticed in the API is that getFrom method returns an array of strings , as shown [here][2] .

my question is : in which cases would this method return :

 1. null
 2. empty array
 3. more than 1 sender

?

all of my emails always had exactly one sender , no matter how weird it was sent (CC,BCC,forward,...) .

they say there "In certain implementations, this may be different from the entity that actually sent the message." , so how could i know for sure who sent the message, and if the current implementation is fine?


  [1]: http://code.google.com/p/javamail-android/
  [2]: http://docs.oracle.com/javaee/6/api/javax/mail/Message.html#getFrom%28%29