Send email through another postfix server from the cli
Send email through a different smtp server from command line
echo "${message}" | mailx -r 'First Guy ' -S smtp='smtp.example.com:25' -s 'subject line example' me@gmail.com
References
Weblinks
Man pages
- mailx
Comments