Linuxにmailでメールを送信する方法

修正ファイル:
/etc/mail.rc

追加:
set admin@arkgame.com
set smtp=smtp.arkgame.com
set smtp-auth-user=report3
set smtp-auth-password=password
set smtp-auth=login

テスト:
echo “mailbody" | mail -s “subject" abadmin@arkgame.com
mail -s “mail subject" abadmin@arkgame.com < yourbody.txt

Linux

Posted by arkgame