13,420
edits
Changes
→Sending Emails with File Attachment (mail)
Reference: https://en.wikipedia.org/wiki/Mail_(Unix)
'''Steps when sending email(Method 1):'''
:#Type: '''mail recipient@hostname''' and press '''ENTER''' <br>
:#Enter '''subject line''' and press '''ENTER'''<br>
:#Type the '''body of the message''' and then when finished, press '''ctrl+d''' to send message
'''Steps when sending email (Method 2):'''
:#Type: '''mail recipient@hostname''' and press '''ENTER''' <br>
:#Enter '''subject line''' and press '''ENTER'''<br>
:#Type the '''body of the message''' and then when finished, press '''ctrl+d''' to send message
'''NOTE:''' You can use the mail command with the -a option to specify a file.
''Example:''
'''mail recipient@hostname -a filename'''
=INVESTIGATION 1: USING SECURE COPY=