Project

General

Profile

1
ChangeLog
2
* removed PHPMailer fix introduced with 2.0.3 to get SMTP working again (line 1041 in class.smtp.php) doc
3

    
4
Version 2.0.3 (November 08 2008)
5
* fixed line 1041 in class.smtp.php (endless loop from missing = sign)
6
* fixed duplicate images in email body
7
* removed English language from language files and made it a default within
8
  class.phpmailer.php - if no language is found, it will default to use
9
  the english language translation
10
* corrected $basedir to $directory
11
* changed default of $LE to "\r\n" to comply with RFC 2822. Can be set by the user
12
  if default is not acceptable
13
* removed trim() from return results in EncodeQP
14
* changed $this->AltBody = $textMsg; to $this->AltBody = html_entity_decode($textMsg);
15
* We have removed the /phpdoc from the downloads. All documentation is now on
16
  the http://phpmailer.codeworxtech.com website.
17

    
18
Version 2.0.2 (June 04 2008)
19

    
20
** NOTE: WE HAVE A NEW LANGUAGE VARIABLE FOR DIGITALLY SIGNED S/MIME EMAILS.
21
   IF YOU CAN HELP WITH LANGUAGES OTHER THAN ENGLISH AND SPANISH, IT WOULD BE
22
   APPRECIATED.
23

    
24
* added S/MIME functionality (ability to digitally sign emails)
25
  BIG THANKS TO "sergiocambra" for posting this patch back in November 2007.
26
  The "Signed Emails" functionality adds the Sign method to pass the private key
27
  filename and the password to read it, and then email will be sent with
28
  content-type multipart/signed and with the digital signature attached.
29
* added ability to define path (mainly for embedded images)
30
  function MsgHTML($message,$basedir='') ... where:
31
  $basedir is the fully qualified path
32
* fixed MsgHTML() function:
33
  - Embedded Images where images are specified by <protocol>:// will not be altered or embedded
34
* fixed the return value of SMTP exit code ( pclose )
35
* addressed issue of multibyte characters in subject line and truncating
36
* added ability to have user specified Message ID
37
  (default is still that PHPMailer create a unique Message ID)
38
* corrected unidentified message type to 'application/octet-stream'
39
* fixed chunk_split() multibyte issue (thanks to Colin Brown, et al).
40
* added check for added attachments
41
* enhanced conversion of HTML to text in MsgHTML (thanks to "brunny")
42

    
43
Version 2.0.1 (Sun, Dec 02 2007)
44
* corrected incorrect version numbers in all three classes
45

    
46
Version 2.0.0 (Sun, Dec 02 2007)
47
* implemented updated EncodeQP (thanks to coolbru, aka Marcus Bointon)
48
* finished all testing, all known bugs corrected, enhancements tested
49
- note: designed for PHP4, but will work with PHP5 (not compatible with
50
  E_STRICT) ... full PHP5 version of PHPMailer released separately.
51
  PHP5 version will NOT work with PHP4.
52

    
53
Version 2.0.0 rc2 (Fri, Nov 16 2007), interim release
54
* implements new property to control VERP in class.smtp.php
55
  example (requires instantiating class.smtp.php):
56
  $mail->do_verp = true;
57
* POP-before-SMTP functionality included, thanks to Richard Davey
58
  (see class.pop3.php & pop3_before_smtp_test.php for examples)
59
* included example showing how to use PHPMailer with GMAIL
60
* fixed the missing Cc in SendMail() and Mail()
61

    
62
******************
63
A note on sending bulk emails:
64

    
65
If the email you are sending is not personalized, consider using the
66
"undisclosed-recipient:;" strategy. That is, put all of your recipients
67
in the Bcc field and set the To field to "undisclosed-recipients:;".
68
It's a lot faster (only one send) and saves quite a bit on resources.
69
Contrary to some opinions, this will not get you listed in spam engines -
70
it's a legitimate way for you to send emails.
71

    
72
A partial example for use with PHPMailer:
73

    
74
$mail->AddAddress("undisclosed-recipients:;");
75
$mail->AddBCC("email1@anydomain.com,email2@anyotherdomain.com,email3@anyalternatedomain.com");
76

    
77
Many email service providers restrict the number of emails that can be sent
78
in any given time period. Often that is between 50 - 60 emails maximum
79
per hour or per send session.
80

    
81
If that's the case, then break up your Bcc lists into chunks that are one
82
less than your limit, and put a pause in your script.
83
*******************
84

    
85
Version 2.0.0 rc1 (Thu, Nov 08 2007), interim release
86
* dramatically simplified using inline graphics ... it's fully automated and
87
  requires no user input
88
* added automatic document type detection for attachments and pictures
89
* added MsgHTML() function to replace Body tag for HTML emails
90
* fixed the SendMail security issues (input validation vulnerability)
91
* enhanced the AddAddresses functionality so that the "Name" portion is used
92
  in the email address
93
* removed the need to use the AltBody method (set from the HTML, or default
94
  text used)
95
* set the PHP Mail() function as the default (still support SendMail, SMTP Mail)
96
* removed the need to set the IsHTML property (set automatically)
97
* added Estonian language file by Indrek P&auml;ri
98
* added header injection patch
99
* added "set" method to permit users to create their own pseudo-properties
100
  like 'X-Headers', etc.
101
  example of use:
102
  $mail->set('X-Priority', '3');
103
  $mail->set('X-MSMail-Priority', 'Normal');
104
* fixed warning message in SMTP get_lines method
105
* added TLS/SSL SMTP support
106
  example of use:
107
  $mail = new PHPMailer();
108
  $mail->Mailer = "smtp";
109
  $mail->Host = "smtp.example.com";
110
  $mail->SMTPSecure   = "tls"; // option
111
  //$mail->SMTPSecure   = "ssl";  // option
112
  ...
113
  $mail->Send();
114
* PHPMailer has been tested with PHP4 (4.4.7) and PHP5 (5.2.7)
115
* Works with PHP installed as a module or as CGI-PHP
116
- NOTE: will NOT work with PHP5 in E_STRICT error mode
117

    
118
Version 1.73 (Sun, Jun 10 2005)
119
* Fixed denial of service bug: http://www.cybsec.com/vuln/PHPMailer-DOS.pdf
120
* Now has a total of 20 translations
121
* Fixed alt attachments bug: http://tinyurl.com/98u9k
122

    
123
Version 1.72 (Wed, May 25 2004)
124
* Added Dutch, Swedish, Czech, Norwegian, and Turkish translations.
125
* Received: Removed this method because spam filter programs like
126
SpamAssassin reject this header.
127
* Fixed error count bug.
128
* SetLanguage default is now "language/".
129
* Fixed magic_quotes_runtime bug.
130

    
131
Version 1.71 (Tue, Jul 28 2003)
132
* Made several speed enhancements
133
* Added German and Italian translation files
134
* Fixed HELO/AUTH bugs on keep-alive connects
135
* Now provides an error message if language file does not load
136
* Fixed attachment EOL bug
137
* Updated some unclear documentation
138
* Added additional tests and improved others
139

    
140
Version 1.70 (Mon, Jun 20 2003)
141
* Added SMTP keep-alive support
142
* Added IsError method for error detection
143
* Added error message translation support (SetLanguage)
144
* Refactored many methods to increase library performance
145
* Hello now sends the newer EHLO message before HELO as per RFC 2821
146
* Removed the boundary class and replaced it with GetBoundary
147
* Removed queue support methods
148
* New $Hostname variable
149
* New Message-ID header
150
* Received header reformat
151
* Helo variable default changed to $Hostname
152
* Removed extra spaces in Content-Type definition (#667182)
153
* Return-Path should be set to Sender when set
154
* Adds Q or B encoding to headers when necessary
155
* quoted-encoding should now encode NULs \000
156
* Fixed encoding of body/AltBody (#553370)
157
* Adds "To: undisclosed-recipients:;" when all recipients are hidden (BCC)
158
* Multiple bug fixes
159

    
160
Version 1.65 (Fri, Aug 09 2002)
161
* Fixed non-visible attachment bug (#585097) for Outlook
162
* SMTP connections are now closed after each transaction
163
* Fixed SMTP::Expand return value
164
* Converted SMTP class documentation to phpDocumentor format
165

    
166
Version 1.62 (Wed, Jun 26 2002)
167
* Fixed multi-attach bug
168
* Set proper word wrapping
169
* Reduced memory use with attachments
170
* Added more debugging
171
* Changed documentation to phpDocumentor format
172

    
173
Version 1.60 (Sat, Mar 30 2002)
174
* Sendmail pipe and address patch (Christian Holtje)
175
* Added embedded image and read confirmation support (A. Ognio)
176
* Added unit tests
177
* Added SMTP timeout support (*nix only)
178
* Added possibly temporary PluginDir variable for SMTP class
179
* Added LE message line ending variable
180
* Refactored boundary and attachment code
181
* Eliminated SMTP class warnings
182
* Added SendToQueue method for future queuing support
183

    
184
Version 1.54 (Wed, Dec 19 2001)
185
* Add some queuing support code
186
* Fixed a pesky multi/alt bug
187
* Messages are no longer forced to have "To" addresses
188

    
189
Version 1.50 (Thu, Nov 08 2001)
190
* Fix extra lines when not using SMTP mailer
191
* Set WordWrap variable to int with a zero default
192

    
193
Version 1.47 (Tue, Oct 16 2001)
194
* Fixed Received header code format
195
* Fixed AltBody order error
196
* Fixed alternate port warning
197

    
198
Version 1.45 (Tue, Sep 25 2001)
199
* Added enhanced SMTP debug support
200
* Added support for multiple ports on SMTP
201
* Added Received header for tracing
202
* Fixed AddStringAttachment encoding
203
* Fixed possible header name quote bug
204
* Fixed wordwrap() trim bug
205
* Couple other small bug fixes
206

    
207
Version 1.41 (Wed, Aug 22 2001)
208
* Fixed AltBody bug w/o attachments
209
* Fixed rfc_date() for certain mail servers
210

    
211
Version 1.40 (Sun, Aug 12 2001)
212
* Added multipart/alternative support (AltBody)
213
* Documentation update
214
* Fixed bug in Mercury MTA
215

    
216
Version 1.29 (Fri, Aug 03 2001)
217
* Added AddStringAttachment() method
218
* Added SMTP authentication support
219

    
220
Version 1.28 (Mon, Jul 30 2001)
221
* Fixed a typo in SMTP class
222
* Fixed header issue with Imail (win32) SMTP server
223
* Made fopen() calls for attachments use "rb" to fix win32 error
224

    
225
Version 1.25 (Mon, Jul 02 2001)
226
* Added RFC 822 date fix (Patrice)
227
* Added improved error handling by adding a $ErrorInfo variable
228
* Removed MailerDebug variable (obsolete with new error handler)
229

    
230
Version 1.20 (Mon, Jun 25 2001)
231
* Added quoted-printable encoding (Patrice)
232
* Set Version as public and removed PrintVersion()
233
* Changed phpdoc to only display public variables and methods
234

    
235
Version 1.19 (Thu, Jun 21 2001)
236
* Fixed MS Mail header bug
237
* Added fix for Bcc problem with mail(). *Does not work on Win32*
238
  (See PHP bug report: http://www.php.net/bugs.php?id=11616)
239
* mail() no longer passes a fifth parameter when not needed
240

    
241
Version 1.15 (Fri, Jun 15 2001)
242
[Note: these changes contributed by Patrice Fournier]
243
* Changed all remaining \n to \r\n
244
* Bcc: header no longer writen to message except
245
when sent directly to sendmail
246
* Added a small message to non-MIME compliant mail reader
247
* Added Sender variable to change the Sender email
248
used in -f for sendmail/mail and in 'MAIL FROM' for smtp mode
249
* Changed boundary setting to a place it will be set only once
250
* Removed transfer encoding for whole message when using multipart
251
* Message body now uses Encoding in multipart messages
252
* Can set encoding and type to attachments 7bit, 8bit
253
and binary attachment are sent as is, base64 are encoded
254
* Can set Encoding to base64 to send 8 bits body
255
through 7 bits servers
256

    
257
Version 1.10 (Tue, Jun 12 2001)
258
* Fixed win32 mail header bug (printed out headers in message body)
259

    
260
Version 1.09 (Fri, Jun 08 2001)
261
* Changed date header to work with Netscape mail programs
262
* Altered phpdoc documentation
263

    
264
Version 1.08 (Tue, Jun 05 2001)
265
* Added enhanced error-checking
266
* Added phpdoc documentation to source
267

    
268
Version 1.06 (Fri, Jun 01 2001)
269
* Added optional name for file attachments
270

    
271
Version 1.05 (Tue, May 29 2001)
272
* Code cleanup
273
* Eliminated sendmail header warning message
274
* Fixed possible SMTP error
275

    
276
Version 1.03 (Thu, May 24 2001)
277
* Fixed problem where qmail sends out duplicate messages
278

    
279
Version 1.02 (Wed, May 23 2001)
280
* Added multiple recipient and attachment Clear* methods
281
* Added Sendmail public variable
282
* Fixed problem with loading SMTP library multiple times
283

    
284
Version 0.98 (Tue, May 22 2001)
285
* Fixed problem with redundant mail hosts sending out multiple messages
286
* Added additional error handler code
287
* Added AddCustomHeader() function
288
* Added support for Microsoft mail client headers (affects priority)
289
* Fixed small bug with Mailer variable
290
* Added PrintVersion() function
291

    
292
Version 0.92 (Tue, May 15 2001)
293
* Changed file names to class.phpmailer.php and class.smtp.php to match
294
  current PHP class trend.
295
* Fixed problem where body not being printed when a message is attached
296
* Several small bug fixes
297

    
298
Version 0.90 (Tue, April 17 2001)
299
* Intial public release
(1-1/7)