Posts: 1,190
Thanks: 61
Thanked 13 Times in 11 Posts
how to send mail with attachement from commandline
hi,
I am using postfix on my debian server and I often need to get some php files locally for editing, so I need a method to quickly send me those files, something like: mail -a file.php toaddress <enter>
until now I was moving the php file into a webroot, changing the extension to .txt and downloaded it :-(
Recent comments
1 day 10 hours ago
1 day 13 hours ago
2 days 55 min ago
2 days 3 hours ago
2 days 7 hours ago
2 days 14 hours ago
2 days 23 hours ago
3 days 1 hour ago
3 days 9 hours ago
3 days 10 hours ago