GoAdmio Command Line: email with /go/email

/go/email changes the server's main contact email, the administrator address stored in GoAdmio's configuration. GoAdmio's scripts read it when they need to reach the server's administrator. It checks that the address is well formed and saves it. It does not change the email address of any hosting account. For that, see contact. Every admin action in GoAdmio has a matching /go/ command, so anything you can click you can also script.

Quick start

/go/email admin@example.com

Options

Argument Required Notes
<email> Yes A single address in the form name@domain.tld. See Validation.

Examples

# Change the administrator email
/go/email admin@example.com

# Check the saved value
sudo sqlite3 /var/lib/sqlite/config.db "select AdminEmail from Config"

Output

Outcome Output
Address saved Admin Email has been changed to <email>
Address malformed or missing Invalid Email <value>. (exit status 1, nothing saved)

See the full reference at /go/email and the GoAdmio command index.

GoAdmio is free and open source, with no license fees and no account limits. Read the GoAdmio docs, or see why it is a free cPanel alternative at goadmio.com.

By:

Posted in:


Leave a Reply

Your email address will not be published. Required fields are marked *