Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
現在、以下のコマンドを使用してメールを送信しています
echo "テストメール" | /bin/mail -s "Test" "recv1@abc.com" -- -f "sender1@abc.com"
recv1 が返信した場合、sender2 に送信されるように、返信先メール アドレス senter2@abc.com を追加するにはどうすればよいですか。
echo "Body" | mail -S replyto="me@source.com" -s "subject" receiver@destination.com
他のすべてのヘッダーと同じ方法。
{ echo "Reply-to: ...@... " ; echo "Test Mail" ; } | ...