[SimpleMail-usr] Re: ARexx and first impressions

  • From: "AmigaPhil" <AmigaPhil@xxxxxxx>
  • To: simplemail-usr@xxxxxxxxxxxxx
  • Date: 25 Aug 2009 3:6:28 +0100

Ok, I'v" almost finished my second ARexx script for SimpleMail
(which is to import selected mails from Thor).

It was quiet easy as both applications can import/export mails
in a format that is supported by the other application.
Basically, what the script do is:

 MAILLISTFREEZE
  < for each selected messages in Thor >
    NEWMAILFILE FOLDER "< current folder name >"
    mfile = result
    < save message from Thor to 'mfile' >
    MAILADD FOLDER "< current folder name >" FILENAME "' || mfile || '"'
  < end for each >
 MAILLISTTHAW

After that import process, the current folder shows the new messages
with a trashcan icon in the status column.  Selecting 'Rescan' from
the 'Folder' menu clears this.

Question 1: It seems that 'MAILADD' does not do everything it should
to update SimpleMail; OR at least, that 'MAILLISTTHAW' is not
triggering a 'refresh' of the mails list.
(Something to add to the feature request list ?)

Question 2: Some of the imported mails are not properly parsed.
These are shown as having a "!" icon in the status columns, and
nothing displayed in the 'show mail' window.
Are there any known problems about parsing a multi-parts MIME mails ?


(Next script planned: Filtering Incoming mails using SpamFryer.)

AmigaPhil

__________________________________________________________________________
SimpleMail mailing list   -   //www.freelists.org/list/simplemail-usr
Listserver help.: mailto:simplemail-usr-request@xxxxxxxxxxxxx?Subject=HELP
Unsub....: mailto:simplemail-usr-request@xxxxxxxxxxxxx?Subject=UNSUBSCRIBE

Other related posts: