|
|
Question : Setting reply-to using SMTP over telnet
|
|
Hi all, does anyone know how to set the reply to field/header using smtp commands over a telnet session?
Thanks Pat
|
Answer : Setting reply-to using SMTP over telnet
|
|
The Reply-To is a message header, not a SMTP command.
Lines with a leading # are not part of the conversation but my comments The SMTP conversation would be structured like this:
# Server prompt. 220 mail.example.com No UCE No UBE. # Client greeting EHLO smtp.example.net # Server acknowledgement and capabilities 250-mail.example.com 250-PIPELINING 250-SIZE 10240000 250-VRFY 250-ETRN 250 8BITMIME # Client sends envelope sender MAIL from: # Server acknowledgement 250 Ok # Client sends envelope recipient RCPT to: # Server acknowledgement 250 Ok # Client sends notice that it will be sending the message content. Data # Server says continue 354 End with CRLF.CRLF to finish # Client sends headers From: Foo To: Bar Date: Mon, 1 May 2006 10:23:00 +0000 (UTC) Reply-To: # Custom header X-submission: Submitted by 192.0.20.1 Subject: This is my message
This is the body of the message. # Client ends message with . by itself. . # Server accepts 250 Ok queued as 12345ABCDEF quit 221 connection closed
|
|
|
|