I'm writing a keylogger function and need to email the log to the admin-specified email address programmatically.
Sending a simple text message via smtp is easy enough, but how do you attach a file to an email message? I can't seem to find any examples. If you have any knowledge, please fill me in.
Thanks a bunch.