[ale] Script to send email with attachments
tom
tfreeman at intel.digichem.net
Sun Sep 23 14:27:15 EDT 2007
Well, looking back I did imply putting about 80 attachments in the one
email. My bad. Although I might just try it to see if Yahoo will bounce
it. I know a few other services I need to send pictures through will.
What I had in mind, and apparently didn't ask clearly (sorry), was
scripting attachment of the pictures over multiple emails. This results in
some advantages. First, getting under most size limits for various email
services. Second, while I have never met the person who is to recieve the
pictures, I do know that they use Windows. I need to keep things dirt
simple to reduce the chances of confusion. Third, I'd like to have this
type ability filed away in my skill locker for use later. I get to send
multiple pictures to relatives with painfully limited computer skills on a
regular basis, and one to four picture attachments per email seems like
the least likely to cause confusion.
Still, I do like the idea of a giant tarball showing up in an email. Just
a might bit risky in this case.
On Sun, 23 Sep 2007, James Sumners wrote:
> Then author said he wanted to script the act of attaching 2*40 = 80
> attachments. The way it was written, he implied attaching all 80 files
> to one email. I assume he knows the file size limits. If not, he will
> soon find out. Personally, I have no idea how Yahoo limits
> attachments. I just provided a solution that is easier than scripting
> the action of attaching 80 files to one email (and more considerate of
> the recipient).
>
> Also, if the recipient doesn't know how to handle bzipped tar files,
> just sent a regular zip.
>
> On 9/23/07, Brian Pitts <brian at polibyte.com> wrote:
>> James Sumners wrote:
>>> `tar cf - *.jpg | bzip2 -9 - > lots_of_pictures.tar.bz2`
>>>
>>> Attach once and be done.
>>>
>>
>> Don't most email services have a message size limit of less than 10mb?
>> If the 8 pictures are anything substantial (from a digital camera,
>> perhaps) this is likely to fail.
>>
>> -Brian
>> _______________________________________________
>> Ale mailing list
>> Ale at ale.org
>> http://www.ale.org/mailman/listinfo/ale
>>
>
>
>
More information about the Ale
mailing list