• Welcome to Overclockers Forums! Join us to reply in threads, receive reduced ads, and to customize your site experience!

smtp telnet help

Overclockers is supported by our readers. When you click a link to make a purchase, we may earn a commission. Learn More.

-maddog-

Member
Joined
Apr 25, 2005
How do you put a senders name ie: John Doe, so it doesn't appear blank when a person recieves it? Do most isp's block other peoples smtps?
 
A regular SMTP conversation will go something like this:
( <=received, >=typed )
$ telnet mail.domain.com 25
< 220 mail.domain.com ESMTP
> helo mail.sendingdomain.com
< 250 mail.domain.com
> mail from: <[email protected]>
< 250 ok
> rcpt to: <[email protected]>
< 250 ok
> data
< 354 go ahead
> To: [email protected]
> From: [email protected]
> Subject: Test Message
>
> Body of message
> more message
> .
< 250 accepted

A message is made up of 3 things:
- the 'envelope' (which is the 'mail from' and 'rcpt to')
- the headers (the items before the blank line)
- the body (everything after the blank line and before a period alone on a line)

When it gets to the user, the envelope is discarded, and only the headers and body remain.

Some ISPs block outgoing traffic on port 25 to stop their customers from spamming.
 
Back