Mail Archives: djgpp/2002/02/18/07:00:03
> For a simple command line SMTP mailer under plain DOS, I would
recommend a combination of the WATTCP program "TCPPORT" (not DJGPP,
since it must be a real mode program) with "X_MAILN" from the UKA_PPP
package. I will be including sample batch files for doing this with
the next package of the DJGPP port of the lynx browser that I put up
on my web site. John Lewis has had a similar setup for the "Bobcat386"
package of lynx (same DJGPP binary), using a modified version of
X_MAILN. See his "MAILOUT" package:
"http://members.kingston.net/lewis/mailout.zip"
> TCPPORT connects to port 25 of the SMTP server, while X_MAILN handles
the scripting of the conversation with the server.
> UKA_PPP is licensed free only for non-commercial use. Karl-Heinz
Weiss, its author, has agreed to license X_MAILN free for commercial
use also when used as a mailer with lynx.
Doug
> Doug Kaufman
> Internet: dkaufman AT rahul DOT net
That's what I use, including X_POP for POP3 download and X_NEWS for NNTP
uploads/downloads. But X_MAILN from UKA_PPP 1.7x2 gives Unexpected server
response with my ISP, so I copied X_MAILN from the previous version, to a
slightly different name, X_MAILN1.EXE, and the .BAT file that invokes it is
X_MAIL1.BAT.
Why should a command-line SMTP mailer have to be real mode as opposed to DJGPP?
Or POP3 or NNTP for that matter? Doesn't the DJGPP port of Lynx do http, https,
ftp and nntp in DPMI? What about the WATT-32 applications?
http://www.bgnett.no/~giva/
from my previous post:
> A file might have parts in Latin-1 and other parts not in Latin-1.
Eli Zaretskii:
> Only if it's a garbled file. A file can only be encoded one way,
> anything else is random 8-bit bytes.
Suppose two or more email messages are concatenated in one file? Suddenly some
parts are in Latin-1 and others not, and there may even be some Korean and
Chinese spam mixed in. Sure, the Korean and Chinese spams may be largely
garbled, but even if the Korean and Chinese spams were displayed correctly, they
would be as good as garbled to anybody not conversant with these languages.
I think the HELLO file contains several different character sets in the same
file with (extended?) ANSI escape sequences to switch between them.
- Raw text -