Nette\Mail\Message getFrom() returns array? why?

Notice: This thread is very old.
Zapotocny
Member | 16
+
0
-

Hello,

Why getFrom() on Message returns array?

Is there posibility to have multiple senders??

Thanks

CZechBoY
Member | 3608
+
+1
-

Because it returns array of one item with key and values containing name and email. Look at private function formatEmail.