mywiki:experience:emailsmtp
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| mywiki:experience:emailsmtp [2016/05/10 15:02] – [Gmail SMTP] shaoguoh | mywiki:experience:emailsmtp [2019/09/15 18:55] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 12: | Line 12: | ||
| | | ||
| ====== Test SMTP ====== | ====== Test SMTP ====== | ||
| + | ===== Test SMTP With telnet ===== | ||
| < | < | ||
| # telnet localhost smtp | # telnet localhost smtp | ||
| Line 37: | Line 38: | ||
| Connection closed by foreign host. | Connection closed by foreign host. | ||
| </ | </ | ||
| + | |||
| + | |||
| + | ===== Test SMTP With sendmail ===== | ||
| + | |||
| + | < | ||
| + | cat / | ||
| + | |||
| + | Subject: Terminal Email Send | ||
| + | |||
| + | Email Content line 1 | ||
| + | Email Content line 2 | ||
| + | </ | ||
| + | |||
| + | < | ||
| + | sendmail user@example.com | ||
| + | |||
| + | </ | ||
| + | |||
| + | ===== Test SMTP With Mail ===== | ||
| + | Without attachment: mail -s "Test Subject" | ||
| + | |||
| + | With attachment: mail -a / | ||
| + | |||
| + | ===== Test SMTP With Mutty ===== | ||
| + | Without attachment: | ||
| + | |||
| + | With attachment: # mutt -s "Test Email" -a / | ||
| + | |||
| + | ===== Test SMTP With ssmtp ===== | ||
| + | # ssmtp admin@example.com | ||
| + | Subject: Test SSMTP Email | ||
| + | Email send test using SSMTP | ||
| + | via SMTP server. | ||
| + | ^d | ||
| + | |||
| + | |||
mywiki/experience/emailsmtp.1462863769.txt.gz · Last modified: (external edit)
