Reputation: 25
This mail will be sent with a line of "." However,if i want to set a line of "." in my body mail, how can i do?
telnet 192.168.1.1 25 HELO felix MAIL FROM: <[email protected]> RCPT TO: <[email protected]> DATA From: "support" <[email protected]> To: <[email protected]> Subject: Test mail Test mail Body of email End . QUIT
Upvotes: 2
Views: 1719
Reputation:
The easy way is 'Dot followed by space'.
Every time a line starts with a dot, you should actually send two dots. eg.:
..
Should give you the desired result: A single dot. The server would then remove the first dot. This is also known as 'dot-stuffing' (try looking it up). See also SMTP dot stuffing - who does it and who removes it
Upvotes: 2