ClosestStorm / v8cgi

Automatically exported from code.google.com/p/v8cgi
BSD 3-Clause "New" or "Revised" License
0 stars 1 forks source link

Basic SMTP auth #4

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
    in util.js instead of

        send("HELO "+host); 

    put the following 

    send("EHLO "+host); send("AUTH LOGIN"); send(base64encode(user));
send(base64encode(pass)); 

    where 'user' and 'pass' can be taken as parameters to the function.
That did the trick for me :) 

Original issue reported on code.google.com by ondrej.zara on 6 Apr 2009 at 6:11

GoogleCodeExporter commented 9 years ago

Original comment by ondrej.zara on 12 Apr 2009 at 11:14