There is a user with a username User. There are two email addresses associated with its account — [email protected] and [email protected]. User can succefully receive emails sent to both of the addresses.
I would like the user to be able to specify either of two emails in the From field. At the moment From field is substituted to the primary e-mail address.
Could anyone give an advice regarding it, 3rd party solutions excluded? The task seems to be obvious but I can’t find an answer (