I am writing a class to connect to a SMTP server over SSL and send a mail. The smtp server i am using (yahoo) requires authentication. Can someone tell me how the authentication takes place as to which commands i should use to send my user credentials?
Note: I know about the JavaMail API. I just want a simple class to send mail without outside libraries.