Jump to content

Sending emails via command line: Difference between revisions

Line 112: Line 112:
  :~# touch /tmp/mail.txt
  :~# touch /tmp/mail.txt


This will create and empty text file called mail.txt in the '''/tmp/''' directory. Feel free to name this file whatever you like just keep in mind that you'll have to modify the given command accordingly.  
This will create and empty text file called mail.txt in the '''/tmp/''' directory. Feel free to name this file whatever you like.


To edit the newly create file, use the '''vi''' command:
To edit the newly create file, use the '''vi''' command:
Anonymous user