|
Mail From: Is the sender. Rcpt To: Is the recipient. that is basically all the information you need to send an e-mail. The next command is DATA. Everything else falls under data. This is something I sent directly from the SMTP server using: TELNET '172.22.28.53' PORT(25) mail from:jimlangst@conexfreight.com rcpt to:jimlangston@conexfreight.com data heloo . Message-ID: <md5:2D10D019DE3469EDB80A596942539318> Return-Path: <jimlangst@conexfreight.com> Received: from [172.22.28.1] by file-server.conexfreight.com (post.office MTA v2.0 0813 ID# 0-40010U100L2S100) with SMTP id AAA85; Fri, 30 Mar 2001 09:12:49 -0800 X-Mozilla-Status: 8001 X-Mozilla-Status2: 00000000 X-UIDL: 20010330171151681.AAA85@[172.22.28.1] heloo This was sent with Netscape: Return-Path: <jimlangston@conexfreight.com> Received: from conexfreight.com ([172.22.28.60]) by file-server.conexfreight.com (post.office MTA v2.0 0813 ID# 0-40010U100L2S100) with ESMTP id AAA278 for <jimlangston@conexfreight.com>; Fri, 30 Mar 2001 09:16:23 -0800 Message-ID: <3AC4BE94.CDD79C4F@conexfreight.com> Date: Fri, 30 Mar 2001 09:12:52 -0800 From: Jim Langston <jimlangston@conexfreight.com> Organization: Pacer International X-Mailer: Mozilla 4.75 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: jimlangston@conexfreight.com Subject: Some Subject Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mozilla-Status: 8001 X-Mozilla-Status2: 00000000 X-UIDL: 20010330171623281.AAA278@conexfreight.com heloo Now you can see what the SMTP server fills out, and what netscape fills out. As you suspect, the From: and To: you see is from the DATA section. The first message does not show me who it is from or to when viewed with netscape. The second one does. Telnet is a powerful tool and can be used to directly control most protols, including POP3 (port 110), IRC, SMTP, FTP Telnet session (not the data section), etc... HTH, Jim Langston Gene_Gaunt@ReviewWorks.com wrote: > > I'm reading the data dump from my SMTP proxy, and a redundancy puzzles me. > What's the difference between the e-mail addresses in the "Mail From:" and > "Rcpt To:" SMTP commands, and the e-mail addresses in the "From:" and "To:" > records in the MIME packet? I open my Lotus Notes mailbox and see "FROM" > and "TO" addresses. Are these addresses coming from the SMTP commands, or > are they coming from the MIME packet? > > +--- > | This is the MI Programmers Mailing List! > | To submit a new message, send your mail to MI400@midrange.com. > | To subscribe to this list send email to MI400-SUB@midrange.com. > | To unsubscribe from this list send email to MI400-UNSUB@midrange.com. > | Questions should be directed to the list owner/operator: dr2@cssas400.com > +--- +--- | This is the MI Programmers Mailing List! | To submit a new message, send your mail to MI400@midrange.com. | To subscribe to this list send email to MI400-SUB@midrange.com. | To unsubscribe from this list send email to MI400-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: dr2@cssas400.com +---
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.