UNIXの部屋 コマンド検索:sendmail (*BSD/Linux)
メールを送るコマンド。
% sendmail foo@example.com
From: my@mail.address (あなたのメールアドレス)
To: foo@example.com
Subject: This is test mail.
(ここに空行を入れる。ここまでがヘッダ。ここから先がボディ)
メールの内容
.(ドットのみの行を入力すると終了)
こんな風にメールを送ることが出来るようです。
UNIXの部屋 コマンド検索:sendmail (*BSD/Linux)
メールを送るコマンド。
% sendmail foo@example.com
From: my@mail.address (あなたのメールアドレス)
To: foo@example.com
Subject: This is test mail.
(ここに空行を入れる。ここまでがヘッダ。ここから先がボディ)
メールの内容
.(ドットのみの行を入力すると終了)
こんな風にメールを送ることが出来るようです。