On Thursday 21 March 2002 11:54 pm, Miark wrote:
> Is there a way I can send e-mail from the command line and
> specify which SMTP server to use (e.g. my company's server
> versus my ISP)?
>
> Miark
S is what you enter
R is the mail servers response.
S> telnet isp.add.re.ss 25
R> Trying 216.175.178.41...
Connected to domain.com (ip.add.re.ss).
Escape character is '^]'.
220 domain.comESMTP Sendmail 8.9.3; Fri, 22 Mar 2002 00:39:05 -0500
NO UCE C=CT L=US
S> MAIL FROM: [EMAIL PROTECTED]
R> 250 [EMAIL PROTECTED] Sender ok
S> RCPT TO: [EMAIL PROTECTED]
R> 250 [EMAIL PROTECTED] Recipient ok
S> DATA
R> 354 Enter mail, end with "." on a line by itself
S> To: Gerald
From: Jerry
Subject: Junk Mail
X-extra: Extra lines in the header for those who want them
|Junk mail - don't you just love it?
J (ending is last line with only '.')
.
R> 250 AAA18093 Message accepted for delivery
S> quit
R> 221 domain.com closing connection
R> Connection closed by foreign host.
--
Gerald Waugh
http://www.frontstreetnetworks.com
New Haven, CT United States of America
uptime 12:26am up 8:50, 2 users, load average: 0.00, 0.00, 0.00
Want to buy your Pack or Services from MandrakeSoft?
Go to http://www.mandrakestore.com