jwSMTP library changelog
______________________________________________________________________________________________ version 1.32.7 March 2005 Minor bug fix. line 815 of mailer.cpp missing else clause (bug found by Thomas Pflüger, Thanks) This did not upset the logic, just halted its processing. Essentially two if/else blocks were present instead of one. ______________________________________________________________________________________________ version 1.32.6 February 2005 Minor bug fix. parseaddress has a minor bug, cuts off the end of a name outside of <> characters. if the name is at the beginning of the address i.e. "hoopla girl<hoopla@wibble.com>" ends up: "hoopla gir" If your intersted see line 1237 of mailer.cpp for explanation (bug found by David Irwin, thanks David) ______________________________________________________________________________________________ version 1.32.5 October 2004 Minor bug fixes. Replaced checklinesarelessthan1000chars with checkRFCcompat this function now also checks for invalid line breaks and fixes them up. qmail will no longer balk with ....Lame Server... issues. If a dot is in the message on a line by itself another dot is added to that line to stop premature message closing. (suggestion by David Irwin, thanks David) ______________________________________________________________________________________________ version 1.32.4 August 2004 Minor bug fix. Default mailer constructor does not set the authentication variables. This causes errors when not using authentication when using the default constructor. stupid error on my part, sorry. ______________________________________________________________________________________________ version 1.32.2 June 2004 Added the ability to send HTML formatted mail. via: setmessageHTML setmessageHTMLfile functions. ______________________________________________________________________________________________ version 1.31.1 April 2004 oops forgot to add the VC project files in last release. No other changes. ______________________________________________________________________________________________ version 1.31.0 April 2004 Now under gnutools control i.e. ./configure make make install dance SMTP authentication added PLAIN & LOGIN plain auth may not work yet, oops sorry, could not test properly. ______________________________________________________________________________________________ version 1.30 Now under the GNU GPL license makefile changes to make a library e.g. make lib libinstall link dynamic -ljwsmtp or static /usr/local/lib/libjwsmtp.a added compatabilty code and moved most platform specifics from the mailer class removed bugs (send/recv returns not checked correctly in old code) removed errant MSG_DONTROUTE flags from network code. Fixes the case where no network errors are encountered when not using a local nameserver. added a sockaddr_in wrapper, life is easier for me now. everything is in the jwsmtp namespace, need to do this now jwsmtp::mailer(...) added default constructor + functions to get/set tan MX lookup added second demo program, the shortest usage of the mailer class. ______________________________________________________________________________________________ version 1.21 added real email address functionality. i.e can now use: "foo bar <foo@bar.com>" or "<foo@bar.com> foo bar" or "foo@bar.com" for addresses incorporated suggestions by Ken Weinert to resolve SunOS issues. INTERFACE unchanged. ______________________________________________________________________________________________ version 1.20 Removed duplicated code in 'parseRR( )' function. Removed extra vector in 'attach( )' function. ______________________________________________________________________________________________ version 1.19 fixed problem in gethostaddresses: when an invalid nameserver is passed to the constructor and the servers address does not resolve in dns, the code hangs! forgot to return at this point. gethostaddresses now returns false at this point fixing this error. added Date to the SMTP header. ______________________________________________________________________________________________ version 1.18 bug fix, attachments did not work for binary files as lines where longer than a 1000 characters, SMTP forbids this, base64encode function now adds a newline every 79 chars into a line. Sorry stupid oversight on my part. Added funtions to change all the values in the mail message, recipients, servers etc.. new functions: bool setserver(const std::string& nameserver_or_smtpserver); bool setsender(const std::string& newsender); void clearattachments(); void reset(); // erase recipients, message, attachments, errors. ______________________________________________________________________________________________ version 1.17 TO: Cc: Bcc: mail recipient capability added added a function to remove attachments. changed an existing function, does not break the interface as the extra argument has a default value i.e. addrecipient("someone@somewhere.net"); is the same as: addrecipient("someone@somewhere.net", mailer::TO); new function: bool mailer::removeattachment(const std::string& filename); changed functions bool addrecipient(const std::string& newrecipient, short recipient_type = TO /*CC, BCC*/); ______________________________________________________________________________________________ version 1.16 file attachments added new function: bool attach(const std::string& filename); ______________________________________________________________________________________________ version 1.15 subject & message change ability added new functions: bool setmessage(const std::string& newmessage); bool setmessage(const std::vector<char>& newmessage); bool setsubject(const std::string& newSubject); new enum for convenience: const static enum {SMTP_PORT = 25, DNS_PORT = 53} ______________________________________________________________________________________________ version 1.14 multiple recipients capabaility added new functions: bool addrecipient(const std::string& newrecipient); bool removerecipient(const std::string& recipient); void clearrecipients(); ______________________________________________________________________________________________ pre 1.13 & below interface stayed the same until 1.14 |