Changes

Jump to: navigation, search

Tutorial6: File Transfer / Sending Email Messages

126 bytes added, 10:21, 1 September 2020
Sending Emails with File Attachment (mail)
'''Sending a Simple Email Message:'''
:#Type: '''<span style="font-family:courier;">mail recipient@hostname''' and press '''ENTER''' </span><br>
:#Enter '''subject line''' and press '''ENTER'''<br>
:#Type the '''body of the message''' and then when finished, press '''ctrl+d''' to send message<br><br>
'''Sending an Email Message with Attachment:'''
:#Type: '''<span style="font-family:courier;">mail recipient@hostname -a filepathname''' and press '''ENTER''' </span><br>
:#Enter '''subject line''' and press '''ENTER'''<br>
:#Type the '''body of the message''' and then when finished, press '''ctrl+d''' to send message<br><br>
'''Alternative Method of Sending an Email Message with Attachment:'''
:#Type: '''<span style="font-family:courier;">mail -s "your subject line" recipient@hostname < filenamepathname</span>'''
:#Press '''ENTER''' to send<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>
13,420
edits

Navigation menu