Well, that is probably useless nowadays, since you have to login on the smtp server to send emails (if not, your email server is *very* unsecure and a gateway for spammers).
But I bet that somewhere on planet-source-code there's some VB code that does login on SMTP, so it's just a matter of adapting that code on the archives to login before actually sending the message.
if my memory is ok, I think you just have to send a string: "USER: " + username, wait the response and then "PASS: " + password, and check if it went ok. Then, you send the rest of the email.
But I bet that somewhere on planet-source-code there's some VB code that does login on SMTP, so it's just a matter of adapting that code on the archives to login before actually sending the message.
if my memory is ok, I think you just have to send a string: "USER: " + username, wait the response and then "PASS: " + password, and check if it went ok. Then, you send the rest of the email.