Index ソフト・ハード mailx | mailx タスク |
機能 構成・方式 タスク サーバ指定 メール送信 導入 |
サーバ指定 ・何も設定せずmailコマンドを使うと、localhostのSMTPサーバを利用 $ vi ~/.mailrc set smtp=smtp://192.168.0.1:25メール送信 $ mail [email protected] Subject: test test . EOT・メール本文の内容をファイルから読み込む(リダイレクトを使用) $ mail [email protected] < data.txt・Subjectの指定 $ mail -s "test mail" [email protected] < data.txt・Fromアドレスを指定 $ mail -r [email protected] [email protected] 又は $ vi ~/.mailrc set from="[email protected]" |
All Rights Reserved. Copyright (C) ITCL |