hi all-
when mail.app receives text attachments (usually in .txt, but sometimes w/ other endings, but always a text file), it inserts the text directly into the email body rather than showing as an actually attachment.
does anyone know of a workaround? i'd like it to just show it, but if need be, maybe someone can help me make an applescript to either a) save it to the file the 'raw source' of the email specifies, or b) open up the text in textedit so that it can be saved ...
here is an example raw source header, within the email, right before the text is displayed:
Content-Type: TEXT/plain; name="the_file.tcl"; charset=us-ascii; x-unix-mode=0644
Content-Description: the_file.tcl
Content-MD5: NfzvlfWMzjtdnbogo6B6OQ==
there's got to be some way to have mail.app either show the file as "the_file.tcl" (as an icon, similar to how all attachments show be displayed in mail.app; i prefer this), or write an applescript that would parse the email, look for a raw source heading similar to this, and either save it as a file (file name as listed) in a designated folder (say ~/mail_attachments), or open it up in textedit.
i just don't know how to do any of the above!!
thanks for the input!