home *** CD-ROM | disk | FTP | other *** search
- /************************************************************************
- *
- * email.dfa by Dirk Federlein
- *
- * Calls an UUCP mailer (default: elm) with the e-mail address #1
- * of the current address.
- *
- * Notice: To give the mailer another e-mail address than #1 just
- * use "adr.ADDRESS.10" (#2)or "adr.ADDRESS.11" (#3).
- *
- * To Change the mailer, just change uucp:c/elm accordingly.
- *
- *
- ************************************************************************/
-
-
- options results
-
- address "DFA"
-
- cr = '0A'X
-
- if ~show(ports, DFA) then
- do
- exit 0
- end
-
- GETCURRENT "STEM ADR."
-
- if rc=0 then
- do
- address command 'uucp:c/elm' adr.ADDRESS.9
- end
- else
- say 'You must have an active address,' cr 'to get an e-mail address from it'
-
- exit
-