How to use different smtp emails

Hello! is there a way to set the config file so that I can use different emails and smtps for sending out emails as I have many different domains and lists…I use mailgun.

Thank you! :slight_smile:

could anyone help please?