| 84662 packages online |
|
|
| | | | No screenshot available |
|
Description:
This small ARexx script for YAM will check all mails of the
currently selected folder for missing seconds data in the "Date:"
line of the header and correct it if necessary.
Why I made it:
Some mail-clients only create a "Date:" line in a msg's header
without any seconds data, e.g.: >Date: Sat, 6 Sep 1997 14:01 GMT<
(very common with the german ISP "T-Online") This confuses YAM
and sometimes the mail will be sorted in at a completely
different date and time.
What it does:
This is were AddSecYAM comes in. It will go into the mails
header and check the date line. If the seconds are missing
it will simply add ":00" and perform a "Update Index" so that
the mail will be sorted in at the correct date and time.
Installation:
Simply put the script into your YAM:Rexx or REXX: drawer.
Usage:
Start YAM and select the folder where you want the date line of
the mails corrected. Then you can either run the script from
shell by typing >rx AddSecYAM< (be sure to cd into the directory
where the script is, if you have not put it into REXX:) or from
the YAM ARexx Menu (in this case you have to edit your YAM config
file, see the YAM documentation on how to do this). If you run the
script from shell it will tell you which file it is currently
working on and tell you if any changes have been made.
Note:
The script in its current form is very simple and not too fast.
If you have a lot of mails in one folder it might take quiet some
time to go through all of them. Also it uses some AmigaDOS
commands like copy and delete. It has been tested very thoroughly
but I cannot guarantee that it won't destroy your data, so be
careful when you use it the first time. I cannot be held
responsible if it does anything to your harddisk that is not
intended so use it at your own risk!
To do:
- make the script faster
- create a log file of the changes performed
- add option to only check new or unread mails
- whatever you can think of
Copyright:
AddSecYAM.rexx is FREEWARE. Copyright (c) 1997 by Stefan Metzger
You may distribute it in any form you wish (BBS, PD/Shareware CDs
or anything you can think of) but DON'T change the archive in any
form whatsoever. If you have made changes to the script please
contact me so that I can include it in the next version.
How to contact the author:
If you have any questions or suggestions you can contact me by:
e-mail: s.metzgerwad.org
snail-mail: Stefan Metzger
Bismarckstrasse 3
51643 Gummersbach
Germany
IRC: Nick Kosh at EfNet
Thanks to:
Marcel Beck - for the best mail-client there is
AMIGA - for being the best computer there will ever be
|
Contents of comm/mail/AddSecYAM.lha PERMSSN UID GID PACKED SIZE RATIO CRC STAMP NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic] 1379 2818 48.9% -lh5- 10c2 Sep 11 1997 AddSecYAM.readme
[generic] 555 1183 46.9% -lh5- 7b78 Sep 10 1997 AddSecYAM.rexx
---------- ----------- ------- ------- ------ ---------- ------------ -------------
Total 2 files 1934 4001 48.3% Sep 13 1997
|
|
|
|
Aminet © 1992-2024 Urban
Müller and
the Aminet team.
Aminet contact address: <aminetaminet net> |