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

Zapotocny
Member | 16
+
0
-

Hello,

Why getFrom() on Message returns array?

Is there posibility to have multiple senders??

Thanks

CZechBoY
Member | 3605
+
+1
-

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