[ale] Script to send email with attachments

Thompson Freeman tfreeman at intel.digichem.net
Mon Sep 24 14:11:57 EDT 2007


BINGO!

I like it! Little fuss, no muss, just basic mail blasting!

Thanks for the lead (although I'll admit to finding some  
clues about it beforehand)

On 09/24/2007 01:19:04 PM, spoof wrote:
> A shell script using mutt as the client should work for  
> you.
> 
> Example of sending using mutt:   $ echo "Message content  
> ...." | mutt -s <subject> -a </file/to/attach> <recipient  
> email addy>
> 
> Wrap that with a loop and you should be able to  
> accomplish what you want.
> 
> Thompson Freeman wrote:
>> 
>> I went and stuck my foot in "it" again, and volunteered  
>> to be computer geeky so I can learn something new. Which  
>> would be fine except I'm not quite finding the clues  
>> (yet) in a web search.
>> 
>> The task is to send a number (close to 80) jpg pictures  
>> to a yahoo mail account by email. My usual email clients  
>> are pine & balsa running on an older Fedora Core  
>> install. Sending onesy twosy attachments with either  
>> client is a nobrain task, but I would rather script a  
>> task with fourty times the attachments. Obviously, I'm  
>> not aware of a way to script either client.
>> 
>> I've got notes hiding somewhere in my mess which should  
>> give a python solution, but at the moment I'd rather  
>> something in bash.
>> 
>> Any ideas? Help?
>> 
>> Thanks in advance
>> _______________________________________________
>> Ale mailing list
>> Ale at ale.org
>> http://www.ale.org/mailman/listinfo/ale
> 
> 
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://www.ale.org/mailman/listinfo/ale
> 



More information about the Ale mailing list