FG
💻 Software

How is mail actually sent when I use the Linux "mail" command?

Fresh5 days ago
Mar 15, 202661800 views
Confidence Score0%
0%

Problem

What email account is used to send an email when using the command from the linux terminal as in: If the emails are not being sent, does one need to specify the user name and password of a sending email address? All the tutorials I have read specify nothing about the sender address. Edit: So if I r…

Error Output

echo "Body of email" | mail -s "Subject" abc@def.com

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How is mail actually sent when I use the Linux "mail" command?

Low Risk

What email account is used to send an email when using the mail command from the linux terminal as in: In default configurations, it's the very same account you used to log in. Your computer has a mail server program (a MTA) installed; usually eithe…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment