SMTP Add on problems

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • SMTP Add on problems

    Hey All

    With the given example , I get refuse from SMTP server due to authentication problems :


    3:033 Mailer - APP: Connected.


    3:036 Mailer - << 220 rokonet-ex.rokonet_tree.local Microsoft ESMTP MAIL Service, Version: 6.0.3790.4675 ready
    3:047 Mailer - << 250 rokonet-ex.rokonet_tree.local Hello [172.16.80.188]


    3:054 Mailer - >> AUTH LOGIN


    3:057 Mailer - << 503 5.5.2 Send hello first.


    3:062 Mailer - Error: Expected 334 reply, got 503 5.5.2 Send hello first.


    3:069 Mailer - >> quit


    3:072 Mailer - << 221 2.0.0 rokonet-ex.rokonet_tree.local Service closing transmission channel


    3:081 Mailer - Closing socket.


    ---------------------------------------------------------------


    This problem is solved if i'm adding to the code

    _Send(pContext, "EHLO\r\n");


    Right after sending

    _Send(pContext, "HELO\r\n");


    After solving the authentication problems
    The SMTP mail server is reacting in 'unstable' way ,
    Meaning sometimes the mail is sent OK , but in most of the retries the mail is lost...

    I have VB script sender utility that never miss a mail ... so i guess that the server is OK ... ?(

    ---------------------------------------------------------------



    The log of the transaction after adding 'EHLO'


    3:029 Mailer - Domain: 172.16.16.36


    3:033 Mailer - APP: Connected.


    3:036 Mailer - << 220 rokonet-ex.rokonet_tree.local Microsoft ESMTP MAIL Service, Version: 6.0.3790.4675 ready
    3:047 Mailer - << 250 rokonet-ex.rokonet_tree.local Hello [172.16.80.188]


    3:054 Mailer - >> EHLO


    3:057 Mailer - << 250-rokonet-ex.rokonet_tree.local Hello [172.16.80.188]
    250-TURN
    250-SIZE
    250-ETRN
    250-P
    3:067 Mailer - << TLM LOGIN
    250-AUTH=LOGIN
    250-X-LINK2STATE
    250-XEXCH50
    250 OK


    3:076 Mailer - >> AUTH LOGIN


    3:079 Mailer - << 334 VXNlcm5hbWU6


    3:083 Mailer - << 334 UGFzc3dvcmQ6


    3:089 Mailer - << 235 2.7.0 Authentication successful.


    3:095 Mailer - << 250 2.1.0 dotang@riscogroup.com....Sender OK


    3:102 Mailer - << 250 2.1.5 dotang@riscogroup.com


    3:107 Mailer - >> DATA


    3:109 Mailer - << 354 Start mail input; end with .


    3:116 Mailer - >> SMTP message body
    3:119 Mailer - >>
    .


    3:170 Mailer - << 250 2.6.0 <1000.2234@rokonet_tree.com> Queued mail for delivery


    3:178 Mailer - >> quit


    3:181 Mailer - << 221 2.0.0 rokonet-ex.rokonet_tree.local Service closing transmission channel


    3:190 Mailer - Closing socket.

    Appreciate any help

    Dotan