Commit Graph

21 Commits

Author SHA1 Message Date
Synchro 06aff1b403 Merge in 5.2.1 from google code 2012-04-27 21:47:05 +02:00
Marcus Bointon 366cbc8f9c Don't quote the charset in content-type headers. While RFC2045 section 5.1 says it should work with or without, it seems that some clients don't like it quoted. 2011-08-30 15:31:18 +03:00
Marcus Bointon cca7fc22fb Import PHPMailer 5.2.0 from apache project 2011-08-23 10:20:10 +02:00
Marcus Bointon 5b661107ca Import 5.1 2010-06-23 16:46:33 +00:00
Marcus Bointon e2874ecc02 Merge dev branch back into trunk 2010-06-23 16:16:59 +00:00
Marcus Bointon 8d4fc6d507 Merge in changes from the 5.0-dev branch 2009-05-05 11:22:26 +00:00
Andy Prevost 6cc4541aed reflects changes in 210 2009-01-26 10:38:32 +00:00
Andy Prevost 6abd6abc11 replaced deprecated split() with explode()
fixed image file extension checking 
added duplicate image checker to eliminate multiple same-name images
2009-01-26 10:38:05 +00:00
Marcus Bointon 263bf12e2e Make address clearing functions also remove entries from all_recipients array
Add doctype and charset to test output
Fix error test
Make test resuts a bit prettier
Improve addressing tests
Fix Russian and Polish corrupted language files, make sure all use UTF-8
Remove BOM from chinese language file
Make sure file descriptior is closed in EncodeFile
Fix private access problems to SMTP error message by adding getError function (caused by recent addition of SMTP error reporting)
All unit tests now pass
2008-11-21 14:21:06 +00:00
Marcus Bointon 51d601058c Convert getFile function to simpler PHP5 version
Add a unit test for getFile
2008-11-20 22:43:07 +00:00
Marcus Bointon 88694da004 Add smtp error string to all languages
Remove stray comment chars in Arabic translation
Correct UTF-8 encoding of Russian and Chinese translations
Use single quotes in all array indices in language files
Remove unnecessary string concatenations and blank lines
Japanese and Polish are still broken
2008-11-20 22:27:58 +00:00
Marcus Bointon c472d9a54f Add test to check for missing translations (will often spot corrupt ones too) 2008-11-20 22:21:44 +00:00
Marcus Bointon e570ea0524 Add SMTP error output in error messages, add new language string, as per sf patch: https://sourceforge.net/tracker2/?func=detail&aid=1800644&group_id=26031&atid=385709 2008-11-20 22:20:37 +00:00
Marcus Bointon 5aeead7e70 Update unit test class so it doesn't generate warnings for call-time pass-by-reference errors in PHP5
Fix attachment tests to use new GetAttachments function instead of trying to access the private $attachments property
Check that local dir is writable before trying to write file (and use neater PHP5 syntax)
Add tests for new duplicate address checking on AddAddress, AddCC, AddBCC
2008-11-20 20:46:29 +00:00
Marcus Bointon 91b3277e88 Add checking for duplicate addresses as per https://sourceforge.net/tracker2/?func=detail&aid=1830473&group_id=26031&atid=385709 thanks to Carl Corliss and Me
Note that it doesn't apply this restriction to ReplyTo as it's not unreasonable to have an address you're sending to also being a reply address
Add a GetAttachments function, which is needed to stop unit test from breaking (attachments are private)
2008-11-20 20:42:32 +00:00
Marcus Bointon 71d07b4787 Consistency cleanup of language files
Ensure all files use UTF-8, no BOM
Ensure all files use Unix line breaks, and have no trailing line break
Arabic language was corrupted, so reimported from sourceforge patch
Files that previously used HTML entities now use correct UTF-8 characters
Looks like japanese and polish are corrupt, but I don't speak them to fix them!
2008-11-14 10:02:55 +00:00
Marcus Bointon 894b7f6d9f Import new quoted-printable encoder that's ~64x faster than existing one
Falls back tol old version if stream filter not available
2008-11-13 17:06:26 +00:00
Marcus Bointon da06e1d598 No code changes, just cleanup
Fix some inconsistent phpdoc syntax, make sure scripts have a page-level docblock and version tags
Remove compiled phpdocs from repo
Add docs.ini config file for phpdoc: use `phpdoc -i docs.ini` to generate docs.
2008-11-12 11:16:35 +00:00
Marcus Bointon fb07adf194 Fix wrong folder nesting 2008-11-11 15:34:07 +00:00
Marcus Bointon af45636d87 Import 2.3 release 2008-11-11 12:21:33 +00:00
Marcus Bointon 50b36f5801 Move the rest 2008-08-07 12:41:59 +00:00