SMTP needs Password?

I have an SMTP program written in VB6 which sends automated reports (was in response to Outlook tightening up and asking for permission to send an email each time).  Our IT recently decided they want the user authentication information when the SMTP program talks to the email server.

It is easy to use a DLL to get the username of the person logged into windows, but I have found nothing on how to get the password.  Is it even possible (I wouldn't think so because of hackers)   If not, how do you SMTP an email server that wants user authentication   Sending a hardcoded user and password is not an option and there is no user interaction with the program.


Answer this question

SMTP needs Password?

  • Mahoura

    I'm wondering if there is a way to perhaps use MS Outlook's access to the username and password or some other way.
  • Augustin Calin

    In this case, you may HAVE to prompt the user for a password. Otherwise, there is no way to get it. (unless the computer attempts to use telepathy ;)  )

  • SMTP needs Password?