How do I send email with linux?
Email can be sent in Linux using the mail command.
Mail [options] [users]
Options include: -s for subject, -c for carbon copy, -b for blind carbon copy
E.g. mail user_name –s “hello”
How do I send email with Linux?
Linux supports to work with sending mails using a set of commands called as mail commands. The command to send email is ‘mail’. The ‘mail’ command is used to send and receive emails.
Syntax:
mail [options] [users]
Options are: -s,-c,-b
Where –s for subject, -c for copy and –b for blind carbon copy
Ex: mail username –s “Reports are needed”
It prompts displays the subject as “Reports are needed”.
Similarly if –c and –b is given the mail will be sent to the corresponding recipients.