mirror of
https://github.com/onceupon/Bash-Oneliner.git
synced 2024-11-22 12:57:01 +00:00
edit mail
This commit is contained in:
parent
07f29055e9
commit
dc9cd819f6
@ -1046,7 +1046,7 @@ some_commands 2>&1 >>outfile
|
||||
##### Send mail
|
||||
|
||||
```bash
|
||||
echo 'heres the content'| mail -A 'file.txt' -s 'mail.subject' me@gmail.com
|
||||
echo 'heres the content'| mail -a /path/to/attach_file.txt -s 'mail.subject' me@gmail.com
|
||||
```
|
||||
//use -a flag to set send from (-a "From: some@mail.tld")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user