I have two email servers set up.
Lets say hr@example.com and marketing@example.com. I am sending emails from code(scheduled actions).
What I want is, When its a email regarding HR, it should use hr@example.com and when it is regarding marketing, it uses marketing@example.com.
How may I achieve this?