
March 27th, 2006, 01:12 PM
|
|
Registered User
|
|
Join Date: Mar 2006
Location: Chino Valley, Arizona
Posts: 6
Time spent in forums: 57 m 46 sec
Reputation Power: 0
|
|
|
Trying To Simple SMTP Program
I'm using Dev-C++ and I'm trying to write a simple SMTP program. Ultimately my goal is to get it so that all I have to do is call it up like this:
Code:
for(i = 0; i <= 9; i++) {
send_via_smtp(email_address[i], "Subject", "Body\nof the\nMessage");
}
Sort of like the mail() function in PHP. However, I'm having a difficult time getting these socket classes, header files and programs I find on the Internet to compile properly in Dev-C++.
Is there any code or anything that I could work with in Dev-C++? Still learning here.
Best Regards,
Matt
http://www.mrmattly.net/
|