-   Linux - Software (
-   -   Automating Pine (

kaplan71 12-21-2005 10:04 AM

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.

bathory 12-22-2005 03:21 AM

You can use mail (or nail in some distros) to do this:

mail -s subject < attached-file

All times are GMT -5. The time now is 01:34 AM.