home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mega CD-ROM 1
/
megacd_rom_1.zip
/
megacd_rom_1
/
FREEMACS
/
EMACS16A.ZIP
/
RMAIL.EDD
< prev
next >
Wrap
Text File
|
1990-03-02
|
3KB
|
120 lines
Name:Rfilename
RFC 822 mailer routines. Internally, we keep a list of mail messages
numbered from one to N. The current message is stored in ##(rmail-current).
The list is stored as ##(rmail.<number>). The contents of the list are
the file number that the message is stored in. If the first character
of the file number is 'D', the message is deleted.
[*]
Name:R-user
Your user name.
[*]
Name:R-reply
The account that replies to your mail should be sent to.
[*]
Name:R-host
The host name of this computer.
[*]
Name:Rrmail-summary
For the file number given in arg1, create and return a summary.
[*]
Name:R:rmail-Create the rmail buffer.
[*]
Name:R:rmail-expunge
Remove all deleted messages.
[*]
Name:R:rmail-get
Get new mail from the spool area.
[*]
Name:Rrmail-get-Get mail from the spool area.
[*]
Name:Rrmail-load
Load the mail file whose number is in rmail-current. If arg1 is empty, strip
any "useless" fields.
[*]
Name:R:mail-Create the mail buffer. Use arg1 as the To: field and arg2 as the Subject: field.
[*]
Name:Rmail-send
Called with arg1 = user to mail it to.
[*]
Name:R-time-zone
Current time zone. Should be EST, CST, MST, or PST, or GMT[+-]0000 as per
RFC 822. As currently set, you can also define an environment variable
called 'TZ'.
[*]
Name:RFC822-strip-field
Search between [ and 0 for the RFC822 field in arg1.
[*]
Name:RFC822-strip-field-do
Strip successive RFC fields.
[*]
Name:RFC822-date
#(RFC822-date) should be something like (Sat, 12 Nov 88 19:49:57 EST)
[*]
Name:RFC822-date-do
Sat,Nov,12,19:41:04,1988
[*]
Name:RFC822-fetch-field
Search between [ and 0 for the RFC822 field in arg1.
[*]
Name:R-mail-host
The name of a host with a smart mailer. We bounce all mail to them.
[*]
Name:R:rmail-help
Not all of these are implemented.
[*]
Name:R:rmail-next
Moves to the next mail message.
[*]
Name:R:mail-send
Send the mail and bury the buffer.
Bugs:
Needs to quote "\n.\n".
[*]
Name:Rrmail-find-msg
Find the "next" message starting at arg1. If there is a next message,
return arg3, otherwise arg4. If arg5 is empty, skip deleted messages.
[*]
Name:Rrmail-expunge-do
Arg1 is the input message. Arg2 is the output message. If arg1 is empty,
then we are cleaning up the remaining input messages.
[*]
Name:R:rmail-last
Go to the last message.
[*]
Name:Rrmail-get-do
Insert a mail message into the rmail list IFF it's actually a mail file.
Mail messages have numeric extensions.
[*]
Name:Rrmail-last
Find the last message.
[*]