[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 11548
  • Last Modified:

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
0
pbarry30
Asked:
pbarry30
1 Solution
 
DVBCommented:
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

Featured Post

Veeam and MySQL: How to Perform Backup & Recovery

MySQL and the MariaDB variant are among the most used databases in Linux environments, and many critical applications support their data on them. Watch this recorded webinar to find out how Veeam Backup & Replication allows you to get consistent backups of MySQL databases.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now