Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: vandenheuvel@eps.enet.dec.com (Hein RMS van den Heuvel)
Subject: Re: Moving old VAX mail files to eudora
Date: 1996/11/20	[thread overview]
Message-ID: <56u3k2$3nc$1@nntpd.lkg.dec.com> (raw)
In-Reply-To: 19NOV96.17275574@uttan.waisman.wisc.edu



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."	+--------------------------------------+



  reply	other threads:[~1996-11-20  5:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-11-19  5:00 Moving old VAX mail files to eudora nester
1996-11-19  5:00 ` Carl Karcher
1996-11-20  5:00   ` Hein RMS van den Heuvel [this message]
1996-11-22  5:00     ` XTREEmist
1996-11-24  5:00   ` Berislav Todorovic
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox