Home | Back
jwSMTP library changelog

______________________________________________________________________________________________
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