OK, that worked - I got a subject line.
I did several tests trying to get the body of the message.  The only one that gave me every line was when I entered a blank line after the subject line.  E.g.:
telnet mail.mydomain.com 25
helo bob...
mail from:[EMAIL PROTECTED]
rcpt to:[EMAIL PROTECTED]
data
subject:Test smtp mail with subject line
<enter>
First line of message body
That's all, folks.
[<enter>.<enter>]     <---  (The message was sent as soon as I hit 2nd <enter>)
 
Thanks, Bill & Jim, for the helpful tips.
 
:o) 
 
Bob Peitzke
learning something every day
 
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 17, 2001 1:29 PM
To: MS-Exchange Admin Issues
Subject: RE: SMTP (Telnet) from the command line: Exchange 5.5

to get a subject
 
DATA<CRLF>
Subject: This is a test of a subject<CRLF>
rest of the message
<CRLF>
.
<CRLF>
 
Don't know why you are not getting your body of the message though...
 
what is the mailserver running?
-----Original Message-----
From: Bob Peitzke [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 17, 2001 13:27
To: MS-Exchange Admin Issues
Subject: RE: SMTP (Telnet) from the command line: Exchange 5.5

Yeah, but when I telnet to a mail server on port 25, and do that smtp mail bit, then check the recipient's mail, I get the note but with a blank subject and empty content pane.  I've wondered about that.
 
After I enter DATA, then I type the message lines, then do the [<CR><LF> "." <CR><LF>] upon which it sends the message.  But none of that stuff I typed shows up in the note.
 
Bob Peitzke
who apparently doesn't have enough urgent problems to occupy himself today
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 17, 2001 11:56 AM
To: MS-Exchange Admin Issues
Subject: RE: SMTP (Telnet) from the command line: Exchange 5.5

Her
Majesty's
Royal
Delivery
 
Helo
Mail From:
Rcpt To:
Data
here is all of your crap
 
.
 
 
-----Original Message-----
From: Micciche, Robert [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 17, 2001 11:44
To: MS-Exchange Admin Issues
Subject: SMTP (Telnet) from the command line: Exchange 5.5

For the life of me, I can not remember hot to send the data portion of an SMTP message from the command line.  Example:
 
telnet "exchangeserver" 25
 
helo "exchangeserver"
 
 
 
 
 
What the heck is the next part?  I think it is simply DATA, Carriage Return, message, Carriage Return, period, Carriage Return.
 
I can't get it to work.  Is there a guide I can look out there on the Internet?  Maybe "An Idiots Guide to Command Prompt SMTP: MS Exchange".
 
List Charter and FAQ at:
http://www.sunbelt-software.com/exchange_list_charter.htm
List Charter and FAQ at:
http://www.sunbelt-software.com/exchange_list_charter.htm
List Charter and FAQ at:
http://www.sunbelt-software.com/exchange_list_charter.htm
List Charter and FAQ at:
http://www.sunbelt-software.com/exchange_list_charter.htm
List Charter and FAQ at:
http://www.sunbelt-software.com/exchange_list_charter.htm

Reply via email to