Mail Action configuration - how to specify a friendly from name

I’ve got the email send working, which is great.

However I am struggling to get the From address to display in a friendly / pretty format. That is, something like From: Home Automation <home.automation@mydomain.net>

I’ve tried:

mail:from=Home Automation <home.automation@mydomain.net>
which results in Thunderbird displaying the from address as:
Home Automation <home.automation@mydomain.net> <home.automation@mydomain.net>

I also tried:
mail:from="Home Automation <home.automation@mydomain.net>"
but this resulted in an error.

Can anyone help with this, please?

OK, so I worked this out for myself and thought I’d share in case it helps someone else. The syntax in the mail.cfg file is like this:

from=Friendly Name email.address@mydomain.com