![]() |
Automating Pine
Hi there --
Is there a way to automate pine to send an e-mail with an attachment? For example, the command syntax that I currently have is: /usr/bin/pine -attach <path to filename> <destination address> This configuration opens pine and allows me to manually send the attached file via <CTRL> <X>. Is there a way to accomplish this without my manually having to send the e-mail? Thanks. |
You can use mail (or nail in some distros) to do this:
Code:
mail -s subject recipient@domain.com < attached-file |
| All times are GMT -5. The time now is 10:29 AM. |