Email Client -> SMTP Server

Is it possible to change this:

server (IP address; default: 0.0.0.0) - SMTP server to use when sending the e-mail message (if none specified, the defauld SMTP server will be used)

to be able to use the IP address OR hostname for the mail server value? This way when we release scripts, etc we do not have to hard code an IP address of a mail server.

On these same lines, is it possible in 2.8.11 to somehow parse/enumerate the servers destination IP from the ping command using scripting possibly?

Thanks,
Sam

It is possible. Just enter via terminal and go to system/e-mail
Type set and make settings at your wishes.

I know you can do that, but you cannot set SERVER=SMTP.DOMAIN.TLD, you have to set SERVER=10.20.30.40 … what happens in 6 months when the mail server IP changes? You have 1 more place to remeber to have to change the hard coded IP.

the SERVER= parameter should take a hostname OR an ip address.

Thanks,
Sam