LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 12-21-2005, 11:04 AM   #1
kaplan71
Member
 
Registered: Nov 2003
Posts: 719

Rep: Reputation: 39
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.
 
Old 12-22-2005, 04:21 AM   #2
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,975

Rep: Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343
You can use mail (or nail in some distros) to do this:
Code:
mail -s subject recipient@domain.com < attached-file
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Automating Swaret nny0000 Slackware 2 10-13-2005 07:14 PM
Automating PINE Kedelfor Programming 1 05-22-2005 02:47 PM
Automating things... DarkSTech Linux - Networking 1 03-06-2003 12:31 PM
automating console to x c0c0deuz Linux - General 2 11-01-2002 01:02 AM
Automating the install Tijoux Linux - Software 2 01-20-2002 11:59 AM


All times are GMT -5. The time now is 12:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration