sending mails via telnet

Zeus

Registered
I'm tring to send mail via telnet with some providers (apple 4 ex.), but the server report me an error in systax.

who knows the exact syntax??
 

sps

Registered
Originally posted by Zeus
I'm tring to send mail via telnet with some providers (apple 4 ex.), but the server report me an error in systax.

who knows the exact syntax??
Not sure what you mean, but if you mean "telnet mailhost 25"
than here is an example:
telnet mail.xxx.xxx 25
Trying 201.xx.xxx.xxx...
Connected to mail.xxx.xxx.
Escape character is '^]'.
220 mail.xxx.xxx ESMTP
helo HOSTNAME
250 xxx.xxx
mail from: sps@localhost
250 ok
rcpt to: sps@remotehost.com
250 ok
data
354 go ahead
From: sps@localhost
To: any-old-user@anyhost.com
Subject: testing

THis is a test
.

250 ok 1000313764 qp 29803
quit
221 mail.xxx.xxx
Connection closed by foreign host.

Note that the respone from the server may vary (this is talking with qmail).
Hope This Helps,
---
http://bluedot.net/osx/
---
 
Top