Creating a DLL that sends an email attachment

I'm wanting to create a DLL that my buddy can call on within his application that will send an email attachment. I'm a beginner to C++ but somewhat familiar with Objective-C.

What file(s) do I need, if any, to enable the ability to send an email in my project?

I'm using Visual Studio 2010 for this project.

Thanks!
Hi,

This is quite hard to believe as I highly doubt this is a Legitimate as I see why not use PHP to create Mail Bots but programming that in C++ can show that you are trying to create a Worm or such so till you tell us a valid reason I suggest people do not give advice.

Thanks
It doesn't have to be a malware, or a spambot.
For instance, libcurl is able to send mails, after one of the last updates.
Also, mails can be sent from legit E-mail programs (how else are they supposed to be sending emails?) or from crash report tools.
http://curl.haxx.se/libcurl/
Last edited on
Programming in C++ because the application is also in C++ shows I'm trying to make a worm?

It's ok. You can take off the tinfoil hat. While I'd love to do this in PHP, the file that needs to be sent is generated on the user's local machine (with my buddy's application) and must be tied into said application.
Topic archived. No new replies allowed.