|
Home > Archive > IIS and SMTP > January 2004 > ESMTP authentication problem
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
ESMTP authentication problem
|
|
| _rg_rg_ 2004-01-24, 2:06 am |
| Hello,
I am currently writing an application and I need it to send mail
I can do it easy with an open SMTP relay, but i cannot find
nowhere explanations of the ESMTP AUTH LOGIN function.
Here is a anonymized snif of one oulookexpress session.
S:> 220 myprovider.mydomain ESMTP Server (Microsoft Exchange Internet Mail
Service 5.5.2653.13) ready
C:< EHLO MyComputerName
S:> 250-my.smtp.provider Hello [xxx.xxx.xxx.xxx]
S:> 250-XEXCH50
S:> 250-HELP
S:> 250-ETRN
S:> 250-DSN
S:> 250-SIZE 30720000
S:> 250-AUTH LOGIN
S:> 250 AUTH=LOGIN
C:< AUTH LOGIN
S:> 334 VXN [...] hbWU6 ?server login
request base64 encoded?
C:< bGF [...] Z2Vy ?outlook
login send?
S:> 334 U [...] zc3dvcmQ6 ?ask for pwd?
C:< d2I4 [...] DI0bg== ?pwd
encrypted?
S:> 235 LOGIN authentication successful
C:< MAIL FROM: <myemail@mydomain>
[...]
Can somebody tell me how to use/generate these four lines.
I have already deeply looked in RFC related-to documents.
Thank you.
| |
| Darin Roulston [MSFT] 2004-01-24, 2:06 am |
| Check out http://support.microsoft.com/defaul...KB;EN-US;173656
How to Troubleshoot Authenticated IMS Logons with Base64.exe:
It describes how to authenticate using a base64 encoding utility to
authenticate in order to relay. It also gives you the specific telnet
commands and responses you should see. If you can't find base64.exe there
are plenty of Internet utilities that I'm sure you'll be able to find that
will base 64 encode for you. If you are programming in .net there are
libraries included that will base 64 encode for you, you can search on msdn
for implementation details.
--
Darin Roulston
Microsoft PSS
Please do not send e-mail directly to this alias. This alias is for
newsgroup purposes only.
This posting is provided "AS IS" with no warranties, and confers no rights
"_rg_rg_" <mameroms@videotron.com> wrote in message
news:eCCvZqR3DHA.3224@tk2msftngp13.phx.gbl...quote:
> Hello,
> I am currently writing an application and I need it to send mail
> I can do it easy with an open SMTP relay, but i cannot find
> nowhere explanations of the ESMTP AUTH LOGIN function.
> Here is a anonymized snif of one oulookexpress session.
>
> S:> 220 myprovider.mydomain ESMTP Server (Microsoft Exchange Internet
Mailquote:
> Service 5.5.2653.13) ready
> C:< EHLO MyComputerName
> S:> 250-my.smtp.provider Hello [xxx.xxx.xxx.xxx]
> S:> 250-XEXCH50
> S:> 250-HELP
> S:> 250-ETRN
> S:> 250-DSN
> S:> 250-SIZE 30720000
> S:> 250-AUTH LOGIN
> S:> 250 AUTH=LOGIN
> C:< AUTH LOGIN
> S:> 334 VXN [...] hbWU6 ?server login
> request base64 encoded?
> C:< bGF [...] Z2Vy ?outlook
> login send?
> S:> 334 U [...] zc3dvcmQ6 ?ask for pwd?
> C:< d2I4 [...] DI0bg== ?pwd
> encrypted?
> S:> 235 LOGIN authentication successful
> C:< MAIL FROM: <myemail@mydomain>
> [...]
>
> Can somebody tell me how to use/generate these four lines.
> I have already deeply looked in RFC related-to documents.
> Thank you.
>
>
>
>
|
|
|
|
|