Open main menu

CDOT Wiki β

Changes

Tutorial6: File Transfer / Sending Email Messages

1 byte added, 22:25, 28 January 2020
Sending Emails with File Attachment (mail)
'''Steps when sending email (Method 2):'''
::: Use the '''-s''' option in the command to specify the subject line of the command and use stdin redirection to send a text file as the body of the message.<br><br>'''NOTE:''' The advantage of using this method is that you can send an email message without being prompted for the subject line or body of text message.<br><br>''Example:''<br>'''mail -s "your subject line" recipient@hostname < filename'''
<br><br>
13,420
edits