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

2 months ago

Zapotocny
Member | 1
+
0
-

Hello,

Why getFrom() on Message returns array?

Is there posibility to have multiple senders??

Thanks

2 months ago

CZechBoY
Member | 2452
+
+1
-

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