From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f7344,a04abbb63665c7d7 X-Google-Attributes: gidf7344,public X-Google-Thread: ffe3b,a04abbb63665c7d7 X-Google-Attributes: gidffe3b,public X-Google-Thread: 1164f8,a04abbb63665c7d7 X-Google-Attributes: gid1164f8,public X-Google-Thread: f7735,a04abbb63665c7d7 X-Google-Attributes: gidf7735,public From: vandenheuvel@eps.enet.dec.com (Hein RMS van den Heuvel) Subject: Re: Moving old VAX mail files to eudora Date: 1996/11/20 Message-ID: <56u3k2$3nc$1@nntpd.lkg.dec.com>#1/1 X-Deja-AN: 197573869 references: <848416336.4422@dejanews.com> <19NOV96.17275574@uttan.waisman.wisc.edu> organization: Digital Equipment Corporation newsgroups: comp.os.vms,comp.sys.dec,vmsnet.mail.misc,vmsnet.networks.desktop.pathworks In article <19NOV96.17275574@uttan.waisman.wisc.edu>, karcher@uttan.waisman.wisc.edu (Carl Karcher) writes... >In a previous article, nester@ad3100.ada.epa.gov wrote: : >->desktops running Eudora(PRO and Light). Users can get all of their >->"new" mail from the VAX using Eudora just fine, but they want to have >->all of their old mail messages which are saved on the VAX to be >->retrieved using Eudora also. : >Sure. Use VMS mail's "MOVE/ALL NEWMAIL" command to move them to the newmail >folder. Then Eudora will download them. Do this for each VMS mail folder and That may well do the trick. However... Just being in the NEWMAIL folder officially does not make it a new mail message. For that it needs a flag! Just in case Eudora needs a little more help you may want to look at... $OPEN/READ/WRITE/SHARE=WRITE file MAIL.MAI ! Verify directory $READ/ERRO=No_mail_today/KEY="NEWMAIL"/index=1 file record $new_bit = 48 * 8 $new = 0 $not_new = 0 $newmail = f$extr(8,8,record) $loop: $if f$cvsi(new_bit,1,record) $ then $ new = new + 1 $ else $ not_new = not_new + 1 $ record[new_bit,1]=1 $ write/update/symbol file record $endif $read/erro=done file record $if f$extr(8,8,record).eqs.newmail then goto loop $done: $write sys$output new, " new and ", not_new, " not so new messages found in NEWMAIL folder" $no_mail_today: $close file Hope this helps, +--------------------------------------+ Hein van den Heuvel, Digital. | All opinions expressed are mine, and | "Makers of VMS and other | may not reflect those of my employer | fine Operating Systems." +--------------------------------------+