Avatar of rgb192
rgb192
Flag for United States of America asked on

smtp login with telnet

I am using telnet



>>http://support.microsoft.com/kb/153119



my mailserver requires a login (i think)

I sent messages but there is no 'from email address'
when I check the message in my mail inbox

maybe because I am not logged in

but how to log in
SSH / Telnet Software

Avatar of undefined
Last Comment
rgb192

8/22/2022 - Mon
Bud Durland

When sending a message to an SMTP server, the first part of the conversation is what is called the "SMTP Envelope"; basically identity stuff to the server.  The commands "HELO (or EHLO), MAIL FROM: and RCPT TO: are all part of the envelope.

Everything after the DATA command is the actual e-mail message.  Most e-mail clients look here for the sender data, TO: and CC: information, Subject line, and the date/time of the message (although some clients look at the mail headers for the date/time).  After you issue the DATA command, you should send lines similar to this:

Date: Sat, 22 Dec 2012 23:16:00 -0500
From: John Doe <john.doe@example.com>
To: Jane Doe <jane.Doe@example.com>
CC: Little Timmy Doe <tim.doe@example.com
Subject: Holiday Shopping

Open in new window


Keep in mind that what you put here is what the recipient's mail program uses to separate TO: addresses and CC: addresses.  When send mail to the server, both TO: and CC: addresses are part of the RCPT TO line.

Hope this helps.
rgb192

ASKER
yes,
but I can only get to data
if the
mail from:
and
recpt to:

are the same


I want to send to another address, so I must log on to my email
ASKER CERTIFIED SOLUTION
Bud Durland

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
SOLUTION
arnold

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
rgb192

ASKER
How to do pop3 login


How to do base64 login
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy
Bud Durland

Example of a POP3 long here:

http://coewww.rutgers.edu/www1/linuxclass2007/lessons/lesson12/sec_6.html

A Bas64 SMTP login cannot effectively be done manually.  It requires that the password be encoded.  Wikipedia actually has a fair explanation of base64 encoding:

http://en.wikipedia.org/wiki/Base64

At this point, the question remains.  What are you trying to do?  What problem are you trying to solve?
rgb192

ASKER
http://en.wikipedia.org/wiki/Base64
I may not need base64
and dont understand how the link applies to sending an email on telent

because this link is almost working for me:
http://coewww.rutgers.edu/www1/linuxclass2007/lessons/lesson12/sec_6.html

are there other commands than
retr 1

because this retrys a previous email, how can I write a new email
arnold

Retr 1 up is a a pop mechanism to read emails you received.
You have to use smtp to send email.

Base64 is needed to encode the username/password for authentication.

You can test you smtp telnet by sending an email to yourself,  a server that handles incoming emails for mydomain.com will not require authentication from anyone when a message recipient is user@mydomain.com
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
Bud Durland

> http://en.wikipedia.org/wiki/Base64
> I may not need base64
> and dont understand how the link applies to sending an email on telent

It applies to how you may have to enter the username & password during SMTP authentication in order to relay mail (send mail to a domain other than yours).  If you can get the POP3 login example to work, that may be all you need, because some SMTP servers are configured to allow relaying after a successful POP3 login from that IP address.

Login via POP3, then immediately logout.  Then try a simple SMTP session, with a RCPT TO: address that is not in your domain, and see if it goes out.
rgb192

ASKER
these will work for pop email login

which is what I need

thanks