powermail-discuss Digest #2888 - Saturday, September 13, 2008

  Re: Attachment in "code"
          by "Irene" <[EMAIL PROTECTED]>
  Re(2): Remove reference of missing attachment
          by "Jan M.J. Storms" <[EMAIL PROTECTED]>
  Re: Attachment in "code"
          by "Damienn" <[EMAIL PROTECTED]>


----------------------------------------------------------------------

Subject: Re: Attachment in "code"
From: "Irene" <[EMAIL PROTECTED]>
Date: Sat, 13 Sep 2008 09:18:48 +0200

Irene wrote, On 09/09/2008 :
Can someone help me with this. Sent a .jpg attachment to a Mac user and
was told it was not received as an attachment but as "code" inside the
email.

"Damienn"  kindly replied on Thu, 11 Sep 2008
>
>I had the same problem when I sent .jpg-attachments to a Mac-user
>(however he used a web-mail at that time, and my mail-encoding setting
>was Binhex). I changed it to Smart, (like you), and the problem was gone
>(unlike you).
>Try AppleDouble or Base64 (we live in a strange time) and see what happens.
>
>Damienn

Thanks for pointing out that changing the encoding method might make a
difference. I hadn't thought of that. Will try that first in future if
the problem resurfaces. Can't do it now because the original jpg no
longer exists. I opened it in Photoshop Elements and "saved it for the
web". Then resent it and it was received as an attachment.

This jpg was the first photo downloaded from my digital camera that I
tried to send as an attachment. I use Canon Image Browser to organize my
photos. This program creates a special thumbnail icon for each photo.
I'm wondering now if that might have caused the problem which was
"fixed" by Photoshop Elements. Don't know enough about such things but
at least found a way round it.

Irene



Irene



----------------------------------------------------------------------

Subject: Re(2): Remove reference of missing attachment
From: "Jan M.J. Storms" <[EMAIL PROTECTED]>
Date: Sat, 13 Sep 2008 10:06:02 +0200

answer to request 2

edit the number on the line that reads "set label of msg to 7" as per
your wish to something from 0 to 9

tell application "PowerMail"
        set attachFolder to attachment folder
        
        set theMessages to current messages
        repeat with msg in theMessages
                set msgStatus to status of msg
                
                set attachList to attachments of msg
                if (count items of attachList) > 0 then
                        repeat with attachIdx from (count items of attachList) 
to 1 by -1
                                delete attachment attachIdx of msg
                        end repeat
                        set label of msg to 7
                end if
        end repeat
end tell

Enjoy, Jan

Per Åström scripsit dd. Fri, 5 Sep 2008 21:09:16 +0200 (internet: @839)

>Hi - I have been using this script for removing references to
>attachments that does not exists.
>
>On Wed, Jun 11, 2008 at 2:02 PM, Jan M.J. Storms <[EMAIL PROTECTED]> wrote:
>> adapted from some other script. I tested it and it works:
>>
>> tell application "PowerMail"
>>        set attachFolder to attachment folder
>>
>>        set theMessages to current messages
>>        repeat with msg in theMessages
>>                set msgStatus to status of msg
>>
>>                set attachList to attachments of msg
>>                if (count items of attachList) > 0 then
>>                        repeat with attachIdx from (count items of
>attachList) to 1 by -1
>>                                delete attachment attachIdx of msg
>>                        end repeat
>>                end if
>>        end repeat
>> end tell
>>
>> Success,
>>
>> Jan
>>
>>
>>
>
>Works perfect! However I still have to problems:
>
>1. Finding mails with references to missing attachments. I have done
>it manually but I have many thousands messages with attachments - some
>of them with lost attachment. Is it possible to make a script to find
>all those and select them, or even better label them yellow (or
>whatever).
>
>2. I would also like the script above to label updated emails, I
>suppose it only requires one line of code but I dont know
>Applescript....
>
>Thanks!
>
>/per å



----------------------------------------------------------------------

Subject: Re: Attachment in "code"
From: "Damienn" <[EMAIL PROTECTED]>
Date: Sat, 13 Sep 2008 11:44:22 +0200

From Irene [EMAIL PROTECTED] 08-09-13 09.18 (+0200 GMT)

>Irene wrote, On 09/09/2008 :
>Can someone help me with this. Sent a .jpg attachment to a Mac user and
>was told it was not received as an attachment but as "code" inside the
>email.
>
>"Damienn"  kindly replied on Thu, 11 Sep 2008
>>
>>I had the same problem when I sent .jpg-attachments to a Mac-user
>>(however he used a web-mail at that time, and my mail-encoding setting
>>was Binhex). I changed it to Smart, (like you), and the problem was gone
>>(unlike you).
>>Try AppleDouble or Base64 (we live in a strange time) and see what happens.
>>
>>Damienn
>
>Thanks for pointing out that changing the encoding method might make a
>difference. I hadn't thought of that. Will try that first in future if
>the problem resurfaces. Can't do it now because the original jpg no
>longer exists. I opened it in Photoshop Elements and "saved it for the
>web". Then resent it and it was received as an attachment.
>
>This jpg was the first photo downloaded from my digital camera that I
>tried to send as an attachment. I use Canon Image Browser to organize my
>photos. This program creates a special thumbnail icon for each photo.
>I'm wondering now if that might have caused the problem which was
>"fixed" by Photoshop Elements. Don't know enough about such things but
>at least found a way round it.

Hi Irene,

Then it seems to me that we were dealing with somewhat different
problems, 'cause I used GraphicConverter to remove all meta-information
(icon, preview, EXIF- and IPTC-data etc.) before I resent my JPG to the
guy with no success, until I changed the mail encoding from Binhex to
Smart, and that did the magic.
On the other hand I could send JPGs without any tweaking with Base64
(Windows-encoding) to PC-guys, so there were nothing wrong with my JPGs
themself, which makes me wonder if even Base64 is nowadays a better
choice to send attachments to Mac-users than good-old Binhex. Like I
said: who knows these days, when many of our Macs are running on Intel
and Unix. In the name of compatibility and better usability we seem to
had to abandon some old Mac-standards.
Anyway, the important thing here is that you found a solution, and that
it works for you now.

BTW I also heavily used Photoshop Elements when it was version 2. I
liked it then, but when I tried out its later versions, they seemed more
and more like bundles/copies of Photoshop itself = a pro's choice, where
simplicity got replaced by more complexity. Did I wished for that, I
would have gone for the mother program in stead. So bye-bye Elements.

Damienn

_______________________________________________________________________

Language has created the word loneliness to express the pain of being
alone, and the word solitude to express the glory of being alone.
- Paul Tillich
_______________________________________________________________________



----------------------------------------------------------------------
End of powermail-discuss Digest

Reply via email to