adding new custom smtp delivery server + bounce server

João Reis

Can I add custom SMTP delivery server and bounce server via API?
Can I do it within cli?
I will need to do this directly in the database?

What I want is when the customer add his domain like, I automatically creates a bounce acccount, and a smtp with his custom domain.

For that, I just need a way to automacally add a SMTP delivery server and bounce server to mailwizz.
Thanks in advance,
João Reis.
@João Reis - you can look in apps/console/commands/ and see all the commands(cli stuff) that mailwizz is using and you can create your own and place your login inthere. Inside the commands you have access to the whole ecosystem so you can create delivery/bounce servers as you wish, bypassing any check that is done in the web interface.