Updated SMTP Class
I was really happy to see thoses class for smtp's transactions. One thing I didn't have in my own smtp object was the file transfert with MIME specifications. The only thing the Wes Clyburn's class missed is the use of CC ad BCC. Since it's more easy to add those things than adding the file transfer functionality to my own class, I decided to take the Wes Clyburn object and modified it.
All new parameters are only optionnal. Still thanks to Wes Clyburn.
How to use ?
Still the same function, but with optional arguments that will change the recipients list. You have three kinf of recipients.
CMailMessage::TO (the default one) CMailMessage::CC CMailMessage::BCC //*** Example..CMIMEMessage msg; msg.AddMultipleRecipients( "email@example.com" ); msg.AddMultipleRecipients( "firstname.lastname@example.org,CMailMessage::CC ); msg.AddMultipleRecipients( "email@example.com", CMailMessage::BCC ); ...
The reste remains the same.. Voila !!!
Date Posted: December 18, 1998