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