Multiple email.conf configurations
How would I use multiple configurations for email.conf for several different smtp servers ? Can this be set on the command line when sending an email, or is it in configuration somewhere ?
Thanks
No optional configuration files, nor sections within the single email.conf, but from the man page:
If you do not have or want a configuration file, you can specify the -r option to specify your smtp server and this will allow you to bypass using a configuration file and use default values. If you specify the -r option (listed below) and you do have a configuration file, it will still use the configuration file but override the SMTP_SERVER variable with what is used at the command line.
You could use that in, for example, different scripts that call email with different servers and probably other options.
Thank you