Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

Saveing mail

 [1/10] from: philb:upnaway at: 23-May-2001 14:19


Hi all, Is it possible to save the entire contents of an e-mail that it sent using the send word? i.e. I want to save the entire mail item in a sent directory so I can review what I have sent, to whom I sent it, who I cc'd it to, subject line etc etc .... Cheers Phil

 [2/10] from: brett:codeconscious at: 23-May-2001 18:33


Another thought having looked at it for more than a few seconds :) Without resorting to modifying the send function you could provide your own header object using the refinement /header And do something like this: email-header: context [ from: [moi--codeconscious--com] to: [rebol-list--rebol--com] date: to-idate now subject: "Saving email" ] email-message: {Another thought having looked at it for more than a few seconds. :) } send/header email-header/to email-message email header write %saved-email.eml join net-utils/export email-header ["^/" email-message] Hope this is more helpful. Brett

 [3/10] from: brett:codeconscious at: 23-May-2001 18:02


Hi Phil, I take it you mean the output from Send including headers that was sent to the server. If so it looks like you would have to modify the Send function itself to allow this capability - perhaps as a return value, a refinement with a file argument, or create a new function that is similar. Type source send at the console. It is suprisingly small. So a modified version should not be too hard. I think this would be something useful to be included in future Rebol versions - so if you come up with some code it might be handy to send RT it. Brett.

 [4/10] from: phil:bevan:mail:tesco at: 28-May-2001 10:43


Hi Brett, This was just what I needed .... I have been working on a "micro" Mail client that I can use when I am not at home. It has been especially usefull for kepping up to date on this mailing list and not having to read hundreds of messages when I arrive back home !!! Cheers Phil ---------------------- Another thought having looked at it for more than a few seconds :) Without resorting to modifying the send function you could provide your own header object using the refinement /header And do something like this: email-header: context [ from: [moi--codeconscious--com] to: [rebol-list--rebol--com] date: to-idate now subject: "Saving email" ] email-message: {Another thought having looked at it for more than a few seconds. :) } send/header email-header/to email-message email header write %saved-email.eml join net-utils/export email-header ["^/" email-message] Hope this is more helpful. Brett

 [5/10] from: brett:codeconscious at: 28-May-2001 21:54


Hi Phil,
> I have been working on a "micro" Mail client that I can use when I am not
at home. I'm curious - what does your travelling setup consist of? A floppy - or something more sophisticated/expensive ? :) I'll be doing a bit of travelling later in the year and I'm looking for ideas on keeping some sort of connection - though this list could be a little much for an Aussie paying European internet fees . :) Brett.

 [6/10] from: petr:krenzelok:trz:cz at: 28-May-2001 14:24


Brett Handley wrote:
> Hi Phil, > > I have been working on a "micro" Mail client that I can use when I am not
<<quoted lines omitted: 4>>
> ideas on keeping some sort of connection - though this list could be a > little much for an Aussie paying European internet fees . :)
Then wait for packet enabled (GPRS e.g.) devices :-) -pekr-

 [7/10] from: philb:upnaway at: 29-May-2001 8:17


Hi Brett, Currently it is a 12K email client. It is pretty (very) unsophisticed at present and hard coded for what I needed when I went to the UK for 3 weeks. I only started writting this as rebmail seems to have died ... and nobody has written a simple email client (dont know about link/express though). Of course I will post it onto the list if anyone really wants to see it or wants to help develop it further. Currently there are too many unfinished features and I dont have enough time to finish them all :-( (DB for Address book & Folder names, Attachments) Cheers Phil -- Orgiional Message -- Hi Phil,
> I have been working on a "micro" Mail client that I can use when I am not
at home. I'm curious - what does your travelling setup consist of? A floppy - or something more sophisticated/expensive ? :) I'll be doing a bit of travelling later in the year and I'm looking for ideas on keeping some sort of connection - though this list could be a little much for an Aussie paying European internet fees . :) Brett.

 [8/10] from: brett:codeconscious at: 29-May-2001 13:13


Hi Phil, Yes Rebmail was a pity I think it tried to run before learning to crawl. And I refuse to agree to the terms and conditions required to access the site to see if any has happened since. I'm *very* slowly writing/gathering bits and pieces for email client functionality. One day I hope to replace Outlook express with my own rebol email client. So many things to... do so little time.... :) I'd like it if you sent me your code if you don't mind me scavenging bits or whole chunks from it :) As for attachments you can extract attachments from mime based emails using mime-model.r from my rebsite. "Code C." if you need it. I haven't got as far as creating mime messages with attachments yet. Regards, Brett. ----- Original Message ----- From: <[philb--upnaway--com]> To: <[rebol-list--rebol--com]> Sent: Tuesday, May 29, 2001 10:17 AM Subject: [REBOL] Re: Saveing mail
> Hi Brett, > > Currently it is a 12K email client. > It is pretty (very) unsophisticed at present and hard coded for what I
needed when I went to the UK for 3 weeks.
> I only started writting this as rebmail seems to have died ... and nobody
has written a simple email client (dont know about link/express though).
> Of course I will post it onto the list if anyone really wants to see it or
wants to help develop it further. Currently there are too many unfinished features and I dont have enough time to finish them all :-(

 [9/10] from: agem:crosswinds at: 29-May-2001 6:25


%attach.r and %detach.r on reblib works fine :) -Volker
>>>>>>>>>>>>>>>>>> Ursprüngliche Nachricht <<<<<<<<<<<<<<<<<<
Am 29.05.01, 04:13:19, schrieb "Brett Handley" <[brett--codeconscious--com]> zum Thema [REBOL] Re: Saveing mail:

 [10/10] from: philb:upnaway at: 29-May-2001 17:05


Hi Brett, I would just like to tidy a few things up before I let anyone else at it :-) Feel free to canabilise it .... though I'm sure the programing style leaves much to be desired !! Cheers Phil -- Origional Message -- Hi Phil, Yes Rebmail was a pity I think it tried to run before learning to crawl. And I refuse to agree to the terms and conditions required to access the site to see if any has happened since. I'm *very* slowly writing/gathering bits and pieces for email client functionality. One day I hope to replace Outlook express with my own rebol email client. So many things to... do so little time.... :) I'd like it if you sent me your code if you don't mind me scavenging bits or whole chunks from it :) As for attachments you can extract attachments from mime based emails using mime-model.r from my rebsite. "Code C." if you need it. I haven't got as far as creating mime messages with attachments yet. Regards, Brett. ----- Original Message ----- From: <[philb--upnaway--com]> To: <[rebol-list--rebol--com]> Sent: Tuesday, May 29, 2001 10:17 AM Subject: [REBOL] Re: Saveing mail
> Hi Brett, > > Currently it is a 12K email client. > It is pretty (very) unsophisticed at present and hard coded for what I
needed when I went to the UK for 3 weeks.
> I only started writting this as rebmail seems to have died ... and nobody
has written a simple email client (dont know about link/express though).
> Of course I will post it onto the list if anyone really wants to see it or
wants to help develop it further. Currently there are too many unfinished features and I dont have enough time to finish them all :-(

Notes
  • Quoted lines have been omitted from some messages.
    View the message alone to see the lines that have been omitted