Jelajahi Sumber
Despite what the PHP manual says, array_unique won't always use the first
key, and definately doesn't produce a perfectly ordered array. Using
foreach instead means we don't get error in situations where the To: and
the CC: are the same.