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
pbarry30Asked:
Who is Participating?
 
DVBConnect With a Mentor Commented:
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:<foo@example.net>
# Server acknowledgement
250 Ok
# Client sends envelope recipient
RCPT to:<bar@example.com>
# 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<foo@example.net>
To: Bar<bar@example.com>
Date: Mon, 1 May 2006 10:23:00 +0000 (UTC)
Reply-To: <someone@example.org>
# 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
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.