This configuration shows the instructions for sending emails from the mikrotik routers terminal.
You can configure the Internet output with any of the 2 options that suits your requirements.
1.- Compact file giveOutputAInternet-static
2.-Compact file giveOutputAInternet-dynamic