r3wp [groups: 83 posts: 189283]
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

World: r3wp

[!Readmail] a Rebol mail client

Graham
31-Dec-2004
[4]
makes it hard to encap anything if you 'do an untrusted file ... 
better to read it in, and parse it.
PhilB
31-Dec-2004
[5]
Yes Graham, That is what the change is.
Graham
31-Dec-2004
[6]
Would it not be better to use a dialect then for the locale.r file 
?
PhilB
31-Dec-2004
[7]
It would ... but I havent written a dialect and I wanted to get this 
changed.
Graham
31-Dec-2004
[8]
I"m probably doing it wrong, but my cerebrus config file is a dialect 
of sorts, and if it comes across an error, well.. that's it.  Can't 
continue. Messy.
PhilB
31-Dec-2004
[9]
When I read this file in I inore any lines that dont have a pipe, 
and also ignore any errors like a variable name not being spelt correctly.
Graham
31-Dec-2004
[10x2]
View is quite good at this .. printing out stuff it doesn't understand, 
and carrying on as best it can.
i guess that should be 'layout
Alan
31-Dec-2004
[12x2]
talking about Cerebrus,had 2 more mails this week that it choked 
on-time stamps again I think.Maybe you 2 can merger rebmail and Cerebrus 
?
let Cerebrus handle the spam and then pass to rebmail :)
Graham
31-Dec-2004
[14]
Cerebrus works with Rebmail .. but I think it's a mistake to create 
monolithic programs ..
PhilB
31-Dec-2004
[15]
As I understand it Cerberus works with many mail programs and would 
therefore need to remain a seperate program.
Gabriele
1-Jan-2005
[16]
you can use CONSTRUCT, it does not evaluate. or just a block of word, 
value pairs.
PhilB
1-Jan-2005
[17]
Nice Gab .... will look at this a little later today.
PhilB
10-Jan-2005
[18x5]
Yes,  that works nicely ....
So now a locale will be specified like this 

; menu items
gm_About: "A proposito"
gm_Accounts: "Accounts"
gm_Contacts: "Contatti"

in the locale file
Release 4.7.14 to be released later tonight.
rebmail 4.7.14 & associated helptext has been released (31/12/2004) 
...

Changes Since 4.7.11
Enhancement - re-work locale format (for security purposes)
Bug Fix - Correct Fetch All Error
Enhancement - Use load/all & Construct to load locale from file


rebmail.r can be found at .... http://www.upnaway.com/~philb/philip/pbmail/readmail.r

reabmail is also the following formats 

rip format at  .... http://www.upnaway.com/~philb/philip/pbmail/readmail.rip

zip format at  .... http://www.upnaway.com/~philb/philip/pbmail/readmail.zip


the archive containing rebmail.r & rebamail.html (rip = compressed 
self extracting rebol archive)
 
Any problems let me know.
Let me try that again ...
rebmail 4.7.14 & associated helptext has been released (10/01/2004) 
...

Changes Since 4.7.11

4.7.12 - Enhancement - re-work locale format (for security purposes)
4.7.13 - Bug Fix - Correct Fetch All Error

4.7.14 - Enhancement - Use load/all & Construct to load locale from 
file


rebmail.r can be found at .... http://www.upnaway.com/~philb/philip/pbmail/readmail.r

reabmail is also the following formats 

rip format at  .... http://www.upnaway.com/~philb/philip/pbmail/readmail.rip

zip format at  .... http://www.upnaway.com/~philb/philip/pbmail/readmail.zip


the archive containing rebmail.r & rebamail.html (rip = compressed 
self extracting rebol archive)
 
Any problems let me know.
PhilB
7-Feb-2005
[23]
rebmail 4.8.0 & associated helptext has been released (07/02/2005) 
...

Changes Since 4.7.14

4.7.15  - Enhancement - Add name & email to substituion in reply 
text
4.7.16  - Bug Fix - Dont include name from Contacts list
4.7.17  - Bug Fix - Use From email address in Reply substitution

4.7.18  - Bug Fix - If no account is selected then display Alert 
when getting mail

4.7.19  - Enhancement - Process all picked acounts in Account Maintenance

4.7.20  - Enhancement - Request confirmation before deleting an account

4.7.21  - Bug Fix - If no Contacts exists program as failing on taking 
Contact menu item

4.7.22  - Enhancement - Process all picked acounts in Account Maintenance
4.7.23  - Enhancement - Make Contact Details a Dialog Box
4.7.24  - Enhancement - make new mail window title 'New Mail'
4.7.25  - Enhancement - Add no of days in search window
4.7.26  - Bug Fix - If password is blank then do not decrypt
4.8.0   - Enhancement - Update Version Number

rebmail.r can be found at .... http://www.upnaway.com/~philb/philip/pbmail/readmail.r

reabmail is also the following formats 

rip format at  .... http://www.upnaway.com/~philb/philip/pbmail/readmail.rip

zip format at  .... http://www.upnaway.com/~philb/philip/pbmail/readmail.zip


the archive containing rebmail.r & rebamail.html (rip = compressed 
self extracting rebol archive)
 
Any problems let me know.
PhilB
20-Feb-2005
[24]
rebmail 4.9.0 & associated helptext has been released (20/02/2005) 
...

Changes Since 4.8.0
4.8.1   - Bug Fix - Spelling mistakes in locale.r

4.8.2   - Bug Fix - Update location not found should not stop preferences 
being saved
4.8.3   - Enhancement - Add Resizing to main Contact Window
4.8.4   - Enhancement - Add Resizing of Delete Mail Window


rebmail.r can be found at .... http://www.upnaway.com/~philb/philip/pbmail/readmail.r

reabmail is also the following formats 

rip format at  .... http://www.upnaway.com/~philb/philip/pbmail/readmail.rip

zip format at  .... http://www.upnaway.com/~philb/philip/pbmail/readmail.zip


the archive containing rebmail.r & rebamail.html (rip = compressed 
self extracting rebol archive)
 
Any problems let me know.
Graham
20-Feb-2005
[25]
ever thought of making a web version?
PhilB
20-Feb-2005
[26x2]
It probably wouldnt take too long .... (I had a demo working a while 
ago using the IE plugin .... but I dont use IE any more.) 
not sure what advantages there would be .... 

what are the chances that you have the Rebol plugin installed and 
not have Rebol/View.
The storage of the emails would be the biggest change.

I presume that you wouldnt download them but just leave them on the 
server.
Graham
20-Feb-2005
[28]
Yes, leave on server .. like web based email.
PhilB
25-Feb-2005
[29]
rebmail 4.9.6 & associated helptext has been released (25/02/2005) 
...

Changes Since 4.9.0
4.9.1   - In Prefs - make use of on/offline flag

4.9.2   - Bug Fix - locale - gi_101: 'Update location not found. 
Continue?'
4.9.3   - Bug Fix - Correctly indicate if email has an attachment
4.9.4   - Enhancement - Add Readmail.jpg to about Window
4.9.5   - Enhancement - Add positioner to Mail maintennce
4.9.6   - Bug Fix - fix error if position.prf didnt exist


rebmail.r can be found at .... http://www.upnaway.com/~philb/philip/pbmail/readmail.r

reabmail is also the following formats 

rip format at  .... http://www.upnaway.com/~philb/philip/pbmail/readmail.rip

zip format at  .... http://www.upnaway.com/~philb/philip/pbmail/readmail.zip


the archive containing rebmail.r & rebamail.html (rip = compressed 
self extracting rebol archive)
 
Any problems let me know.
Fabrice
21-Apr-2005
[30x4]
Hi Phil
Seems my locale.r in french does not work with the latest release 
:
http://rebol.dev.fr/view.php?sid=165
Is it possible to run rules without restarting the app ?
PhilB
21-Apr-2005
[34x2]
Hi Fabrice .... the format of the locale.r has changed in release 
4.7.12 (for securty purposes)
It should now be of the form ...
REBOL [
    Title:   "Test Locale"
    Date:    31-Dec-2004/18:00:00
]

gm_about: "About"
gm_Accounts: "Accounts"
gm_Contacts: "Contacts"

So you just need to remove the gv_locale/ from your code
If you update your rules script the updates will be in effect the 
next time you fetch your mail (i.e. you do not have to restart the 
program)
Fabrice
22-Apr-2005
[36x3]
Thank's Phil, locale worksnow :-)
The doc need to be update ;-)
For rules, the doc says :
7. Rules

When retrieving mail for an account the program runs a rebol script 
called rules.r.

Is it possible to apply rules on maill that already in "inbox" ?
PhilB
22-Apr-2005
[39]
I will update the Doc for the next release ....


No that is not possible .... though could be implemented .... and 
would be usefull for when a new rule is added.
Fabrice
25-Apr-2005
[40]
The "trace networking" is a really good feature !!! thank Phil :-)
Fabrice
14-May-2005
[41]
Hi Phil, some news ?...
PhilB
14-May-2005
[42]
Hi Fabrice .... I have a minor update I will be uploading on 15/05

It will alllow a limited import of emails .... (they must be in plain 
text as single files with an extension on .eml)

also a change to the way that the positions are remembered for each 
wndow so that it will be easier to add more windows whose vpositions 
are remembered.
Fabrice
17-May-2005
[43]
Hi all,

Is it possible to decode iso-8859-1 subject in the pending emails 
window ?


Maybe this script can help http://www.reboltech.com/library/html/utf-8.html
PhilB
17-May-2005
[44]
Hi Fabrice, can you send me an example email ?
Graham
17-May-2005
[45]
From Didier

	; decode ISO-8859-1 / ASCII-US encoded text

 decode-iso8859: func [str /local ascii non-ascii char text emit quoted-printable 
 encoded-word res b e] [
		emit: func [v][append res v]
		ascii: charset [#" " - #"^(7f)"]
		non-ascii: complement ascii
		text: exclude union ascii non-ascii charset ["="]
		char: exclude ascii charset ["?_=^-"]
		encoded-word: [
			"=?" ["ISO-8859-1" | "us-ascii"] [
				"?q?" some quoted-printable |
				"?b?" b: to "?" e: (emit to-string debase copy/part b e)
			] "?="
		]
		quoted-printable: [
			"_" (emit #" ") |
			b: some char e: (emit copy/part b e) |

   b: "=" (emit do rejoin [ {#"^^(} second b third b {)"} ]) 2 skip
		]

		res: make string! length? str

  parse/all str [any [encoded-word | "=" (emit #"=") | "^/ " | b: some 
  text e: (emit copy/part b e)] to end]
		res
	]
PhilB
18-May-2005
[46]
Thanks Graham ... I already decode ISO-8858-1 in the main window 
using this code .... I think Fabrice wants the same code to be used 
in decoding the subject lines in the pending mail window.

What I need is an example .... but I need to know its coming as I 
dont want to delete it from the server when I fetch my mail .... 
:-)
Fabrice
20-May-2005
[47x2]
Hi Phil, this is an example you can save in one of your directory...
Received: from web26108.mail.ukl.yahoo.com ([217.12.10.232])

        by mail.prosygma-asp.com (Merak 7.5.2) with SMTP id 1TI26716
        for <[me-:-you-:-com]>; Tue, 26 Apr 2005 04:58:31 +0200

Received: (qmail 67900 invoked by uid 60001); 26 Apr 2005 02:58:30 
-0000

Message-ID: <[20050426025830-:-67898-:-qmail-:-web26108-:-mail-:-ukl-:-yahoo-:-com]>

Received: from [81.248.68.164] by web26108.mail.ukl.yahoo.com via 
HTTP; Tue, 26 Apr 2005 04:58:29 CEST
Date: Tue, 26 Apr 2005 04:58:29 +0200 (CEST)
From: Rodrigue <[you-:-me-:-com]>
Subject: Re: Erreur lors de l'enregistrement d'une news
To: Admin Rebol <[me-:-you-:-com]>
In-Reply-To: 6667
MIME-Version: 1.0

Content-Type: multipart/alternative; boundary="0-370637848-1114484309=:67141"
Content-Transfer-Encoding: 8bit
X-Antivirus: avast! (VPS 0517-0, 25/04/2005), Inbound message
X-Antivirus-Status: Clean

--0-370637848-1114484309=:67141
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

Salut Fabrice,
 
Peux tu me redire sous quel format je dois envoyer les photos

Rodrigue

Admin Rebol <[me-:-you-:-com]> wrote:
Bonjour Rodrigue,

>Salut Fabrice,

>contrairement à ce que je t'expliquais hier soir, les news ne s'enregistrent 
pas.
>voilà le message d'erreur : 

Peux-tu m'envoyer ce que tu veux mettre en ligne par @ ?

Je vérifierais directement avec tes données car il n'y a pas de problème 
de mon côté pour ajouter les news.

Merci.

-- 
Fabrice

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

 Découvrez le nouveau Yahoo! Mail : 250 Mo d'espace de stockage pour 
 vos mails !
Créez votre Yahoo! Mail
--0-370637848-1114484309=:67141
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

<DIV>Salut Fabrice,</DIV>
<DIV>&nbsp;</DIV>

<DIV>Peux tu me redire sous quel format je dois envoyer les photos<BR></DIV>
<DIV>Rodrigue</DIV>

<DIV><BR><B><I>Admin Rebol &lt;[me-:-you-:-com]&gt;</I></B> wrote:</DIV>

<BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; 
BORDER-LEFT: #1010ff 2px solid">Bonjour Rodrigue,<BR><BR>&gt;Salut 
Fabrice,<BR>&gt;contrairement à ce que je t'expliquais hier soir, 
les news ne s'enregistrent pas.<BR>&gt;voilà le message d'erreur 
: <BR><BR>Peux-tu m'envoyer ce que tu veux mettre en ligne par @ 
?<BR>Je vérifierais directement avec tes données car il n'y a pas 
de problème de mon côté pour ajouter les news.<BR><BR>Merci.<BR><BR>-- 
<BR>Fabrice<BR></BLOCKQUOTE><p>
		<hr size=1> 

Découvrez le nouveau Yahoo! Mail : <font color="red">250 Mo d'espace</font> 
de stockage pour vos mails !<br><a href="http://fr.rd.yahoo.com/mail/taglines/*http://us.rd.yahoo.com/evt=25917/*http://us.rd.yahoo.com/mail_fr/mail_campaigns/splash/taglines_250/default/*http://fr.promotions.yahoo.com/mail/creer28.html">Créez 
votre Yahoo! Mail</a>


--0-370637848-1114484309=:67141--
Fabrice
22-May-2005
[49x3]
Is it possible to add a field with the acocunt name to show in the 
main inbox ?
Or add the possibility to store messages from each account in a different 
folder while retrieving them ?
also, when you fetch mail, the same window for filter them is show, 
it it possbile to add a "continue fetching" button ?
the need to close the window cause me some troubles... ;-)
PhilB
22-May-2005
[52]
Fabrice ... 
1. do you mean who the email is addressed to?

2. In theory you could add a rule to to store the incoming messages 
into different  folders for each To address.

3. Do you mean the popup window that tells you the folders where 
the emails have been stored? If so we could add a preferences variable 
to not show the window when fatching multiple accounts?


I will be busy for the next week ... but then I have a weeks holiday, 
I shoud have time to do some updates then, let me know what is most 
urgent for you and I will draw up a list of priorities here.
Fabrice
23-May-2005
[53]
1. exactly
2. effectively, but my rule does not work :
 if find ip-em/to "[mymail-:-myserver-:-com]" [op-block/2: "myfolder"]

 Where myfolder is the name of the directory in the file system (not 
 the name of the folder in Readmail)

3. not this window that is REALLY useful, but the window that allows 
you to delete some mails before fetchnig them