You can't truncate a mailbox that you have open to only read from. Use "+<" isntead of "<" as your open mode if you want to use the MAILBOX handle to truncate the file.
- tye (but my friends call me "Tye")In reply to (tye)Re: Truncate a mailbox in place
by tye
in thread Truncate a mailbox in place
by setantae
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |