home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 3 Comm
/
03-Comm.zip
/
fxemail1.zip
/
fxemail.doc
< prev
next >
Wrap
Text File
|
1997-06-09
|
4KB
|
116 lines
WHAT IT DOES
FxEmail is a utility designed to be used in conjunction with FaxWorks
Pro. It requires Object REXX rather than Traditional REXX. Object REXX
is available with Warp 4. Please see the README file on your boot drive
to see how to switch REXX support.
FaxWorks Pro allows you to designate an email helper application on the
PROGRAM settings page. You can then send faxes to email addresses. The
helper app is handed the name of the fax file, the recipient email
address and a standard subject.
FxEmail functions both as a helper app for FaxWorks and as a helper app
for the receiving email program.
On the sending end, it encodes the fax using base64 and transfers it
using SMTP. At the receiving end, it is called as a REXX Exit by the
email client. It extracts the Fax file and "receives" it into Faxworks.
USING IT TO SEND
The command line for the FaxWorks setting page:
FxEmail SMTP-MIME %FILE% %ADDRESS% %SUBJECT%
USING IT TO RECEIVE
This is more problematical -- since each program is different. I have
tested it only with PMMail 1.92.
It is used as a REXX exit along with a filter which looks for "FAX Via
FxEmail" on the Subject line.
The command line reads:
d:\FaxWorks\FxEMail FXRCV
The path should reflect your configuration.
CONFIGURATION FILES
Two configuration files are required. One in the FaxWorks directory and
one in the directory from which you run you email program. With PMMail,
that might be d:\Southsde\PMMail.
The program uses the FaxWorks config for sending and the maildir config
for receiving. The program itself is run out of the Faxworks directory.
Both config files must exist for FxEmail to work. Create the files by
getting an OS/2 prompt, making the FaxWorks directory the current
directory and typing: "FxEMail CFG". You will be prompted for
information. Specimen answers are given if there is no existing config
file. Otherwise the current settings are shown. Make your changes and
indicate that you are finished when asked. The program will create and
save both config files.
INSTALLATION
Put FxEmail.cmd in your Faxworks Directory.
PutFxRemail.cmd in you email directory -- the one where the .exe
file resides.
Install Munpack and Mpack in a directory in your path.
Install the two DLL's in a directory in your LIBPath.
Create the config files.
EXTRA UTILITY
FxREmail.cmd is a small command that can be run as a real REXX EXIT from
PMMail rather than with a filter. It looks at each email message as it
comes in and calls FxEmail only on the Fax messages.
ODDITIES
I have tested FxEmail with FaxWorks Pro -- actually PMFax versions 3.0
and 3.01.01j. It works with both. For some reason, it runs in the
foreground under the latter.
PMMail has some odd quirks. First, it seems to have a built-in filter
for Fax files. If you specify your own filter for the same file, it
freezes after downloading that file. I have changed the subject line to
avoid this conflict.
PMMail says it passes the fully qualified path of the message file. It
does not. It passes the path relative to the directory from which
PMMail was run. For the true REXX EXIT, it also seems to add a space
before the path, which I had to strip off to make FxREMail.cmd work.
There is a another SMTP option: SMTP-UU which works exactly like the
MIME version but uuencodes instead. I believe PostRoad and PMMail use
uuencoding for their built in FaxWorks support, for some reason. For
some reason, PMMail does not recognize the resulting message file,
however. When I figure out what it needs, I will modify this feature
and document it. UUencode feature requires UUenview.cmd, which is
readily available as sharewhere.
WARNING
I wrote this for myself. I am not a programmer. I do not guarantee or
warrant it in any way. You use it at your own risk.
Your license is for noncommercial use on an evaluation basis. Email me
if you want a full license. I will provide you with licensed versions
of the DLL's. There will be a small charge, since I have to pay for
those licenses.
cbarr@ibm.net