|
| 1 | +ChangeLog |
| 2 | + |
| 3 | +NOTE: THIS VERSION OF PHPMAILER IS DESIGNED FOR PHP5/PHP6. IT WILL NOT WORK WITH PHP4. |
| 4 | + |
| 5 | +Version 2.2.1 () July 19 2008 |
| 6 | + |
| 7 | +* fixed line 1092 in class.smtp.php (my apologies, error on my part) |
| 8 | + |
| 9 | +Version 2.2 () July 15 2008 |
| 10 | + |
| 11 | +* Fixed redirect issue (display of UTF-8 in thank you redirect) |
| 12 | +* fixed error in getResponse function declaration (class.pop3.php) |
| 13 | +* PHPMailer now PHP6 compliant |
| 14 | +* fixed line 1092 in class.smtp.php (endless loop from missing = sign) |
| 15 | + |
| 16 | +Version 2.1 (Wed, June 04 2008) |
| 17 | + |
| 18 | +** NOTE: WE HAVE A NEW LANGUAGE VARIABLE FOR DIGITALLY SIGNED S/MIME EMAILS. |
| 19 | + IF YOU CAN HELP WITH LANGUAGES OTHER THAN ENGLISH AND SPANISH, IT WOULD BE |
| 20 | + APPRECIATED. |
| 21 | + |
| 22 | +* added S/MIME functionality (ability to digitally sign emails) |
| 23 | + BIG THANKS TO "sergiocambra" for posting this patch back in November 2007. |
| 24 | + The "Signed Emails" functionality adds the Sign method to pass the private key |
| 25 | + filename and the password to read it, and then email will be sent with |
| 26 | + content-type multipart/signed and with the digital signature attached. |
| 27 | +* fully compatible with E_STRICT error level |
| 28 | + - Please note: |
| 29 | + In about half the test environments this development version was subjected |
| 30 | + to, an error was thrown for the date() functions used (line 1565 and 1569). |
| 31 | + This is NOT a PHPMailer error, it is the result of an incorrectly configured |
| 32 | + PHP5 installation. The fix is to modify your 'php.ini' file and include the |
| 33 | + date.timezone = America/New York |
| 34 | + directive, to your own server timezone |
| 35 | + - If you do get this error, and are unable to access your php.ini file: |
| 36 | + In your PHP script, add |
| 37 | + date_default_timezone_set('America/Toronto'); |
| 38 | + - do not try to use |
| 39 | + $myVar = date_default_timezone_get(); |
| 40 | + as a test, it will throw an error. |
| 41 | +* added ability to define path (mainly for embedded images) |
| 42 | + function MsgHTML($message,$basedir='') ... where: |
| 43 | + $basedir is the fully qualified path |
| 44 | +* fixed MsgHTML() function: |
| 45 | + - Embedded Images where images are specified by <protocol>:// will not be altered or embedded |
| 46 | +* fixed the return value of SMTP exit code ( pclose ) |
| 47 | +* addressed issue of multibyte characters in subject line and truncating |
| 48 | +* added ability to have user specified Message ID |
| 49 | + (default is still that PHPMailer create a unique Message ID) |
| 50 | +* corrected unidentified message type to 'application/octet-stream' |
| 51 | +* fixed chunk_split() multibyte issue (thanks to Colin Brown, et al). |
| 52 | +* added check for added attachments |
| 53 | +* enhanced conversion of HTML to text in MsgHTML (thanks to "brunny") |
| 54 | + |
| 55 | +Version 2.1.0beta2 (Sun, Dec 02 2007) |
| 56 | +* implemented updated EncodeQP (thanks to coolbru, aka Marcus Bointon) |
| 57 | +* finished all testing, all known bugs corrected, enhancements tested |
| 58 | +- note: will NOT work with PHP4. |
| 59 | + |
| 60 | +please note, this is BETA software |
| 61 | +** DO NOT USE THIS IN PRODUCTION OR LIVE PROJECTS |
| 62 | +INTENDED STRICTLY FOR TESTING |
| 63 | + |
| 64 | +Version 2.1.0beta1 |
| 65 | +please note, this is BETA software |
| 66 | +** DO NOT USE THIS IN PRODUCTION OR LIVE PROJECTS |
| 67 | +INTENDED STRICTLY FOR TESTING |
| 68 | + |
| 69 | +Version 2.0.0 rc2 (Fri, Nov 16 2007), interim release |
| 70 | +* implements new property to control VERP in class.smtp.php |
| 71 | + example (requires instantiating class.smtp.php): |
| 72 | + $mail->do_verp = true; |
| 73 | +* POP-before-SMTP functionality included, thanks to Richard Davey |
| 74 | + (see class.pop3.php & pop3_before_smtp_test.php for examples) |
| 75 | +* included example showing how to use PHPMailer with GMAIL |
| 76 | +* fixed the missing Cc in SendMail() and Mail() |
| 77 | + |
| 78 | +****************** |
| 79 | +A note on sending bulk emails: |
| 80 | + |
| 81 | +If the email you are sending is not personalized, consider using the |
| 82 | +"undisclosed-recipient:;" strategy. That is, put all of your recipients |
| 83 | +in the Bcc field and set the To field to "undisclosed-recipients:;". |
| 84 | +It's a lot faster (only one send) and saves quite a bit on resources. |
| 85 | +Contrary to some opinions, this will not get you listed in spam engines - |
| 86 | +it's a legitimate way for you to send emails. |
| 87 | + |
| 88 | +A partial example for use with PHPMailer: |
| 89 | + |
| 90 | +$mail->AddAddress("undisclosed-recipients:;"); |
| 91 | +$mail->AddBCC("email1@anydomain.com,email2@anyotherdomain.com,email3@anyalternatedomain.com"); |
| 92 | + |
| 93 | +Many email service providers restrict the number of emails that can be sent |
| 94 | +in any given time period. Often that is between 50 - 60 emails maximum |
| 95 | +per hour or per send session. |
| 96 | + |
| 97 | +If that's the case, then break up your Bcc lists into chunks that are one |
| 98 | +less than your limit, and put a pause in your script. |
| 99 | +******************* |
| 100 | + |
| 101 | +Version 2.0.0 rc1 (Thu, Nov 08 2007), interim release |
| 102 | +* dramatically simplified using inline graphics ... it's fully automated and requires no user input |
| 103 | +* added automatic document type detection for attachments and pictures |
| 104 | +* added MsgHTML() function to replace Body tag for HTML emails |
| 105 | +* fixed the SendMail security issues (input validation vulnerability) |
| 106 | +* enhanced the AddAddresses functionality so that the "Name" portion is used in the email address |
| 107 | +* removed the need to use the AltBody method (set from the HTML, or default text used) |
| 108 | +* set the PHP Mail() function as the default (still support SendMail, SMTP Mail) |
| 109 | +* removed the need to set the IsHTML property (set automatically) |
| 110 | +* added Estonian language file by Indrek Päri |
| 111 | +* added header injection patch |
| 112 | +* added "set" method to permit users to create their own pseudo-properties like 'X-Headers', etc. |
| 113 | + example of use: |
| 114 | + $mail->set('X-Priority', '3'); |
| 115 | + $mail->set('X-MSMail-Priority', 'Normal'); |
| 116 | +* fixed warning message in SMTP get_lines method |
| 117 | +* added TLS/SSL SMTP support |
| 118 | + example of use: |
| 119 | + $mail = new PHPMailer(); |
| 120 | + $mail->Mailer = "smtp"; |
| 121 | + $mail->Host = "smtp.example.com"; |
| 122 | + $mail->SMTPSecure = "tls"; // option |
| 123 | + //$mail->SMTPSecure = "ssl"; // option |
| 124 | + ... |
| 125 | + $mail->Send(); |
| 126 | +* PHPMailer has been tested with PHP4 (4.4.7) and PHP5 (5.2.7) |
| 127 | +* Works with PHP installed as a module or as CGI-PHP |
| 128 | +- NOTE: will NOT work with PHP5 in E_STRICT error mode |
| 129 | + |
| 130 | +Version 1.73 (Sun, Jun 10 2005) |
| 131 | +* Fixed denial of service bug: http://www.cybsec.com/vuln/PHPMailer-DOS.pdf |
| 132 | +* Now has a total of 20 translations |
| 133 | +* Fixed alt attachments bug: http://tinyurl.com/98u9k |
| 134 | + |
| 135 | +Version 1.72 (Wed, May 25 2004) |
| 136 | +* Added Dutch, Swedish, Czech, Norwegian, and Turkish translations. |
| 137 | +* Received: Removed this method because spam filter programs like |
| 138 | +SpamAssassin reject this header. |
| 139 | +* Fixed error count bug. |
| 140 | +* SetLanguage default is now "language/". |
| 141 | +* Fixed magic_quotes_runtime bug. |
| 142 | + |
| 143 | +Version 1.71 (Tue, Jul 28 2003) |
| 144 | +* Made several speed enhancements |
| 145 | +* Added German and Italian translation files |
| 146 | +* Fixed HELO/AUTH bugs on keep-alive connects |
| 147 | +* Now provides an error message if language file does not load |
| 148 | +* Fixed attachment EOL bug |
| 149 | +* Updated some unclear documentation |
| 150 | +* Added additional tests and improved others |
| 151 | + |
| 152 | +Version 1.70 (Mon, Jun 20 2003) |
| 153 | +* Added SMTP keep-alive support |
| 154 | +* Added IsError method for error detection |
| 155 | +* Added error message translation support (SetLanguage) |
| 156 | +* Refactored many methods to increase library performance |
| 157 | +* Hello now sends the newer EHLO message before HELO as per RFC 2821 |
| 158 | +* Removed the boundary class and replaced it with GetBoundary |
| 159 | +* Removed queue support methods |
| 160 | +* New $Hostname variable |
| 161 | +* New Message-ID header |
| 162 | +* Received header reformat |
| 163 | +* Helo variable default changed to $Hostname |
| 164 | +* Removed extra spaces in Content-Type definition (#667182) |
| 165 | +* Return-Path should be set to Sender when set |
| 166 | +* Adds Q or B encoding to headers when necessary |
| 167 | +* quoted-encoding should now encode NULs \000 |
| 168 | +* Fixed encoding of body/AltBody (#553370) |
| 169 | +* Adds "To: undisclosed-recipients:;" when all recipients are hidden (BCC) |
| 170 | +* Multiple bug fixes |
| 171 | + |
| 172 | +Version 1.65 (Fri, Aug 09 2002) |
| 173 | +* Fixed non-visible attachment bug (#585097) for Outlook |
| 174 | +* SMTP connections are now closed after each transaction |
| 175 | +* Fixed SMTP::Expand return value |
| 176 | +* Converted SMTP class documentation to phpDocumentor format |
| 177 | + |
| 178 | +Version 1.62 (Wed, Jun 26 2002) |
| 179 | +* Fixed multi-attach bug |
| 180 | +* Set proper word wrapping |
| 181 | +* Reduced memory use with attachments |
| 182 | +* Added more debugging |
| 183 | +* Changed documentation to phpDocumentor format |
| 184 | + |
| 185 | +Version 1.60 (Sat, Mar 30 2002) |
| 186 | +* Sendmail pipe and address patch (Christian Holtje) |
| 187 | +* Added embedded image and read confirmation support (A. Ognio) |
| 188 | +* Added unit tests |
| 189 | +* Added SMTP timeout support (*nix only) |
| 190 | +* Added possibly temporary PluginDir variable for SMTP class |
| 191 | +* Added LE message line ending variable |
| 192 | +* Refactored boundary and attachment code |
| 193 | +* Eliminated SMTP class warnings |
| 194 | +* Added SendToQueue method for future queuing support |
| 195 | + |
| 196 | +Version 1.54 (Wed, Dec 19 2001) |
| 197 | +* Add some queuing support code |
| 198 | +* Fixed a pesky multi/alt bug |
| 199 | +* Messages are no longer forced to have "To" addresses |
| 200 | + |
| 201 | +Version 1.50 (Thu, Nov 08 2001) |
| 202 | +* Fix extra lines when not using SMTP mailer |
| 203 | +* Set WordWrap variable to int with a zero default |
| 204 | + |
| 205 | +Version 1.47 (Tue, Oct 16 2001) |
| 206 | +* Fixed Received header code format |
| 207 | +* Fixed AltBody order error |
| 208 | +* Fixed alternate port warning |
| 209 | + |
| 210 | +Version 1.45 (Tue, Sep 25 2001) |
| 211 | +* Added enhanced SMTP debug support |
| 212 | +* Added support for multiple ports on SMTP |
| 213 | +* Added Received header for tracing |
| 214 | +* Fixed AddStringAttachment encoding |
| 215 | +* Fixed possible header name quote bug |
| 216 | +* Fixed wordwrap() trim bug |
| 217 | +* Couple other small bug fixes |
| 218 | + |
| 219 | +Version 1.41 (Wed, Aug 22 2001) |
| 220 | +* Fixed AltBody bug w/o attachments |
| 221 | +* Fixed rfc_date() for certain mail servers |
| 222 | + |
| 223 | +Version 1.40 (Sun, Aug 12 2001) |
| 224 | +* Added multipart/alternative support (AltBody) |
| 225 | +* Documentation update |
| 226 | +* Fixed bug in Mercury MTA |
| 227 | + |
| 228 | +Version 1.29 (Fri, Aug 03 2001) |
| 229 | +* Added AddStringAttachment() method |
| 230 | +* Added SMTP authentication support |
| 231 | + |
| 232 | +Version 1.28 (Mon, Jul 30 2001) |
| 233 | +* Fixed a typo in SMTP class |
| 234 | +* Fixed header issue with Imail (win32) SMTP server |
| 235 | +* Made fopen() calls for attachments use "rb" to fix win32 error |
| 236 | + |
| 237 | +Version 1.25 (Mon, Jul 02 2001) |
| 238 | +* Added RFC 822 date fix (Patrice) |
| 239 | +* Added improved error handling by adding a $ErrorInfo variable |
| 240 | +* Removed MailerDebug variable (obsolete with new error handler) |
| 241 | + |
| 242 | +Version 1.20 (Mon, Jun 25 2001) |
| 243 | +* Added quoted-printable encoding (Patrice) |
| 244 | +* Set Version as public and removed PrintVersion() |
| 245 | +* Changed phpdoc to only display public variables and methods |
| 246 | + |
| 247 | +Version 1.19 (Thu, Jun 21 2001) |
| 248 | +* Fixed MS Mail header bug |
| 249 | +* Added fix for Bcc problem with mail(). *Does not work on Win32* |
| 250 | + (See PHP bug report: http://www.php.net/bugs.php?id=11616) |
| 251 | +* mail() no longer passes a fifth parameter when not needed |
| 252 | + |
| 253 | +Version 1.15 (Fri, Jun 15 2001) |
| 254 | +[Note: these changes contributed by Patrice Fournier] |
| 255 | +* Changed all remaining \n to \r\n |
| 256 | +* Bcc: header no longer writen to message except |
| 257 | +when sent directly to sendmail |
| 258 | +* Added a small message to non-MIME compliant mail reader |
| 259 | +* Added Sender variable to change the Sender email |
| 260 | +used in -f for sendmail/mail and in 'MAIL FROM' for smtp mode |
| 261 | +* Changed boundary setting to a place it will be set only once |
| 262 | +* Removed transfer encoding for whole message when using multipart |
| 263 | +* Message body now uses Encoding in multipart messages |
| 264 | +* Can set encoding and type to attachments 7bit, 8bit |
| 265 | +and binary attachment are sent as is, base64 are encoded |
| 266 | +* Can set Encoding to base64 to send 8 bits body |
| 267 | +through 7 bits servers |
| 268 | + |
| 269 | +Version 1.10 (Tue, Jun 12 2001) |
| 270 | +* Fixed win32 mail header bug (printed out headers in message body) |
| 271 | + |
| 272 | +Version 1.09 (Fri, Jun 08 2001) |
| 273 | +* Changed date header to work with Netscape mail programs |
| 274 | +* Altered phpdoc documentation |
| 275 | + |
| 276 | +Version 1.08 (Tue, Jun 05 2001) |
| 277 | +* Added enhanced error-checking |
| 278 | +* Added phpdoc documentation to source |
| 279 | + |
| 280 | +Version 1.06 (Fri, Jun 01 2001) |
| 281 | +* Added optional name for file attachments |
| 282 | + |
| 283 | +Version 1.05 (Tue, May 29 2001) |
| 284 | +* Code cleanup |
| 285 | +* Eliminated sendmail header warning message |
| 286 | +* Fixed possible SMTP error |
| 287 | + |
| 288 | +Version 1.03 (Thu, May 24 2001) |
| 289 | +* Fixed problem where qmail sends out duplicate messages |
| 290 | + |
| 291 | +Version 1.02 (Wed, May 23 2001) |
| 292 | +* Added multiple recipient and attachment Clear* methods |
| 293 | +* Added Sendmail public variable |
| 294 | +* Fixed problem with loading SMTP library multiple times |
| 295 | + |
| 296 | +Version 0.98 (Tue, May 22 2001) |
| 297 | +* Fixed problem with redundant mail hosts sending out multiple messages |
| 298 | +* Added additional error handler code |
| 299 | +* Added AddCustomHeader() function |
| 300 | +* Added support for Microsoft mail client headers (affects priority) |
| 301 | +* Fixed small bug with Mailer variable |
| 302 | +* Added PrintVersion() function |
| 303 | + |
| 304 | +Version 0.92 (Tue, May 15 2001) |
| 305 | +* Changed file names to class.phpmailer.php and class.smtp.php to match |
| 306 | + current PHP class trend. |
| 307 | +* Fixed problem where body not being printed when a message is attached |
| 308 | +* Several small bug fixes |
| 309 | + |
| 310 | +Version 0.90 (Tue, April 17 2001) |
| 311 | +* Intial public release |
0 commit comments