Send emails via Telnet (SMTP authentication supported)
1. Connect to the remote server via Telnet
Yes
Telnet mail.test.com 25
Or
Telnet mail.test.com SMTP
2. Say hello to the server
Helo mail.test.com
The server should return
250
If the server SMTP needs to be verified, perform step 3; otherwise, proceed to step 4.
3. Input
AUTH LOGIN
Will prompt you once
334 vxnlcm5hbwu6
And
334 ugfzc3dvcmq6
The following message prompts you to enter the user name and password. The information is base64-encoded.
The entered username and password must also be encoded. Here is an encoding and decoding tool.
After SMTP authentication is passed
235 2.0.0 authentication successful
4. Write a letter
Input
Mail from: <juhui@test.com>
And
Rcpt to: <phpbird@test.com>
Are sent from
If it is normal, 250 should be returned
Input
Data
Start writing
Subject: Test mail
Test email
.
250 2.0.0 OK: queued as 93223136c8e
Exit
Quit
The Postfix is successfully tried.
Popularity: 37%