dependabot-linguist 0.212.0 → 0.217.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (215) hide show
  1. checksums.yaml +4 -4
  2. data/.rubocop.yml +38 -2
  3. data/Gemfile.lock +100 -108
  4. data/Makefile +4 -2
  5. data/README.md +32 -4
  6. data/SECURITY.md +3 -2
  7. data/dependabot-linguist.gemspec +9 -7
  8. data/exe/dependabot-linguist +1 -1
  9. data/lib/dependabot/linguist/dependabot_file_validator.rb +43 -7
  10. data/lib/dependabot/linguist/dependabot_patch.rb +14 -2
  11. data/lib/dependabot/linguist/file_fetchers/bundler.rb +54 -0
  12. data/lib/dependabot/linguist/file_fetchers/git_submodules.rb +9 -7
  13. data/lib/dependabot/linguist/file_fetchers/go_modules.rb +2 -2
  14. data/lib/dependabot/linguist/language.rb +18 -14
  15. data/lib/dependabot/linguist/languages_to_ecosystems/contexts.rb +22 -21
  16. data/lib/dependabot/linguist/languages_to_ecosystems/languages.yaml +172 -21
  17. data/lib/dependabot/linguist/languages_to_ecosystems/manager_ecosystem_maps.rb +17 -17
  18. data/lib/dependabot/linguist/linguist_patch.rb +1 -1
  19. data/lib/dependabot/linguist/repository.rb +7 -2
  20. data/lib/dependabot/linguist/version.rb +1 -1
  21. metadata +17 -210
  22. data/lib/dependabot/linguist/file_fetchers/base.rb +0 -48
  23. data/smoke-test/README.md +0 -58
  24. data/smoke-test/bundler/Gemfile +0 -9
  25. data/smoke-test/bundler/Gemfile.lock +0 -47
  26. data/smoke-test/bundler/dependabot-all-updates-test-staging.gemspec +0 -10
  27. data/smoke-test/cargo/Cargo.lock +0 -90
  28. data/smoke-test/cargo/Cargo.toml +0 -8
  29. data/smoke-test/composer/composer.json +0 -5
  30. data/smoke-test/composer/composer.lock +0 -72
  31. data/smoke-test/composer/vendor/autoload.php +0 -7
  32. data/smoke-test/composer/vendor/composer/ClassLoader.php +0 -445
  33. data/smoke-test/composer/vendor/composer/LICENSE +0 -21
  34. data/smoke-test/composer/vendor/composer/autoload_classmap.php +0 -13
  35. data/smoke-test/composer/vendor/composer/autoload_namespaces.php +0 -9
  36. data/smoke-test/composer/vendor/composer/autoload_psr4.php +0 -9
  37. data/smoke-test/composer/vendor/composer/autoload_real.php +0 -55
  38. data/smoke-test/composer/vendor/composer/autoload_static.php +0 -23
  39. data/smoke-test/composer/vendor/composer/installed.json +0 -57
  40. data/smoke-test/composer/vendor/phpmailer/phpmailer/.gitignore +0 -3
  41. data/smoke-test/composer/vendor/phpmailer/phpmailer/LICENSE +0 -504
  42. data/smoke-test/composer/vendor/phpmailer/phpmailer/README.md +0 -112
  43. data/smoke-test/composer/vendor/phpmailer/phpmailer/changelog.md +0 -530
  44. data/smoke-test/composer/vendor/phpmailer/phpmailer/class.phpmailer.php +0 -2758
  45. data/smoke-test/composer/vendor/phpmailer/phpmailer/class.pop3.php +0 -417
  46. data/smoke-test/composer/vendor/phpmailer/phpmailer/class.smtp.php +0 -1075
  47. data/smoke-test/composer/vendor/phpmailer/phpmailer/composer.json +0 -32
  48. data/smoke-test/composer/vendor/phpmailer/phpmailer/docs/Callback_function_notes.txt +0 -17
  49. data/smoke-test/composer/vendor/phpmailer/phpmailer/docs/DomainKeys_notes.txt +0 -55
  50. data/smoke-test/composer/vendor/phpmailer/phpmailer/docs/Note_for_SMTP_debugging.txt +0 -23
  51. data/smoke-test/composer/vendor/phpmailer/phpmailer/docs/extending.html +0 -148
  52. data/smoke-test/composer/vendor/phpmailer/phpmailer/docs/faq.html +0 -67
  53. data/smoke-test/composer/vendor/phpmailer/phpmailer/docs/generatedocs.sh +0 -4
  54. data/smoke-test/composer/vendor/phpmailer/phpmailer/docs/pop3_article.txt +0 -39
  55. data/smoke-test/composer/vendor/phpmailer/phpmailer/docs/use_gmail.txt +0 -44
  56. data/smoke-test/composer/vendor/phpmailer/phpmailer/examples/contents.html +0 -20
  57. data/smoke-test/composer/vendor/phpmailer/phpmailer/examples/images/phpmailer.gif +0 -0
  58. data/smoke-test/composer/vendor/phpmailer/phpmailer/examples/images/phpmailer_mini.gif +0 -0
  59. data/smoke-test/composer/vendor/phpmailer/phpmailer/examples/index.html +0 -50
  60. data/smoke-test/composer/vendor/phpmailer/phpmailer/examples/test_db_smtp_basic.php +0 -58
  61. data/smoke-test/composer/vendor/phpmailer/phpmailer/examples/test_mail_advanced.php +0 -30
  62. data/smoke-test/composer/vendor/phpmailer/phpmailer/examples/test_mail_basic.php +0 -41
  63. data/smoke-test/composer/vendor/phpmailer/phpmailer/examples/test_pop_before_smtp_advanced.php +0 -39
  64. data/smoke-test/composer/vendor/phpmailer/phpmailer/examples/test_pop_before_smtp_basic.php +0 -49
  65. data/smoke-test/composer/vendor/phpmailer/phpmailer/examples/test_sendmail_advanced.php +0 -33
  66. data/smoke-test/composer/vendor/phpmailer/phpmailer/examples/test_sendmail_basic.php +0 -43
  67. data/smoke-test/composer/vendor/phpmailer/phpmailer/examples/test_smtp_advanced.php +0 -42
  68. data/smoke-test/composer/vendor/phpmailer/phpmailer/examples/test_smtp_advanced_no_auth.php +0 -36
  69. data/smoke-test/composer/vendor/phpmailer/phpmailer/examples/test_smtp_basic.php +0 -58
  70. data/smoke-test/composer/vendor/phpmailer/phpmailer/examples/test_smtp_basic_no_auth.php +0 -53
  71. data/smoke-test/composer/vendor/phpmailer/phpmailer/examples/test_smtp_gmail_advanced.php +0 -42
  72. data/smoke-test/composer/vendor/phpmailer/phpmailer/examples/test_smtp_gmail_basic.php +0 -59
  73. data/smoke-test/composer/vendor/phpmailer/phpmailer/extras/class.html2text.inc +0 -489
  74. data/smoke-test/composer/vendor/phpmailer/phpmailer/extras/htmlfilter.php +0 -861
  75. data/smoke-test/composer/vendor/phpmailer/phpmailer/extras/ntlm_sasl_client.php +0 -185
  76. data/smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-ar.php +0 -26
  77. data/smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-br.php +0 -25
  78. data/smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-ca.php +0 -25
  79. data/smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-ch.php +0 -25
  80. data/smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-cz.php +0 -24
  81. data/smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-de.php +0 -24
  82. data/smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-dk.php +0 -25
  83. data/smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-es.php +0 -25
  84. data/smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-et.php +0 -25
  85. data/smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-fi.php +0 -26
  86. data/smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-fo.php +0 -26
  87. data/smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-fr.php +0 -24
  88. data/smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-hu.php +0 -24
  89. data/smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-it.php +0 -26
  90. data/smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-ja.php +0 -25
  91. data/smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-nl.php +0 -24
  92. data/smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-no.php +0 -24
  93. data/smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-pl.php +0 -24
  94. data/smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-ro.php +0 -26
  95. data/smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-ru.php +0 -24
  96. data/smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-se.php +0 -25
  97. data/smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-sk.php +0 -25
  98. data/smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-tr.php +0 -26
  99. data/smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-zh.php +0 -25
  100. data/smoke-test/composer/vendor/phpmailer/phpmailer/language/phpmailer.lang-zh_cn.php +0 -25
  101. data/smoke-test/composer/vendor/phpmailer/phpmailer/test/contents.html +0 -10
  102. data/smoke-test/composer/vendor/phpmailer/phpmailer/test/phpmailerTest.php +0 -1084
  103. data/smoke-test/composer/vendor/phpmailer/phpmailer/test/test.png +0 -0
  104. data/smoke-test/composer/vendor/phpmailer/phpmailer/test/test_callback.php +0 -84
  105. data/smoke-test/composer/vendor/phpmailer/phpmailer/test/testemail.php +0 -48
  106. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/LGPLv3.txt +0 -165
  107. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/contents.html +0 -14
  108. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/images/aikido.gif +0 -0
  109. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/images/bkgrnd.gif +0 -0
  110. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/images/phpmailer.gif +0 -0
  111. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/index.php +0 -427
  112. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/scripts/clipboard.swf +0 -0
  113. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/scripts/shBrushBash.js +0 -59
  114. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/scripts/shBrushCSharp.js +0 -64
  115. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/scripts/shBrushCpp.js +0 -99
  116. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/scripts/shBrushCss.js +0 -93
  117. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/scripts/shBrushDelphi.js +0 -57
  118. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/scripts/shBrushDiff.js +0 -43
  119. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/scripts/shBrushGroovy.js +0 -69
  120. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/scripts/shBrushJScript.js +0 -51
  121. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/scripts/shBrushJava.js +0 -55
  122. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/scripts/shBrushPerl.js +0 -74
  123. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/scripts/shBrushPhp.js +0 -91
  124. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/scripts/shBrushPlain.js +0 -35
  125. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/scripts/shBrushPython.js +0 -56
  126. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/scripts/shBrushRuby.js +0 -57
  127. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/scripts/shBrushScala.js +0 -53
  128. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/scripts/shBrushSql.js +0 -68
  129. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/scripts/shBrushVb.js +0 -58
  130. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/scripts/shBrushXml.js +0 -71
  131. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/scripts/shCore.js +0 -30
  132. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/scripts/shLegacy.js +0 -30
  133. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/src/shCore.js +0 -1949
  134. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/src/shLegacy.js +0 -172
  135. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/styles/help.png +0 -0
  136. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/styles/magnifier.png +0 -0
  137. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/styles/page_white_code.png +0 -0
  138. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/styles/page_white_copy.png +0 -0
  139. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/styles/printer.png +0 -0
  140. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/styles/shCore.css +0 -321
  141. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/styles/shThemeDefault.css +0 -191
  142. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/styles/shThemeDjango.css +0 -193
  143. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/styles/shThemeEmacs.css +0 -192
  144. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/styles/shThemeFadeToGrey.css +0 -193
  145. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/styles/shThemeMidnight.css +0 -192
  146. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/styles/shThemeRDark.css +0 -192
  147. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/styles/wrapping.png +0 -0
  148. data/smoke-test/composer/vendor/phpmailer/phpmailer/test_script/test.html +0 -46
  149. data/smoke-test/dependabot-file/no-config/.github/TARGET.yaml +0 -14
  150. data/smoke-test/dependabot-file/no-config/bundler/Gemfile +0 -9
  151. data/smoke-test/dependabot-file/no-config/bundler/Gemfile.lock +0 -47
  152. data/smoke-test/dependabot-file/no-config/bundler/dependabot-all-updates-test-staging.gemspec +0 -10
  153. data/smoke-test/dependabot-file/no-config/cargo/Cargo.lock +0 -90
  154. data/smoke-test/dependabot-file/no-config/cargo/Cargo.toml +0 -8
  155. data/smoke-test/dependabot-file/no-config/composer/composer.json +0 -5
  156. data/smoke-test/dependabot-file/no-config/composer/composer.lock +0 -72
  157. data/smoke-test/dependabot-file/over-config/.github/TARGET.yaml +0 -17
  158. data/smoke-test/dependabot-file/over-config/.github/dependabot.yaml +0 -12
  159. data/smoke-test/dependabot-file/over-config/bundler/Gemfile +0 -9
  160. data/smoke-test/dependabot-file/over-config/bundler/Gemfile.lock +0 -47
  161. data/smoke-test/dependabot-file/over-config/bundler/dependabot-all-updates-test-staging.gemspec +0 -10
  162. data/smoke-test/dependabot-file/over-config/cargo/Cargo.lock +0 -90
  163. data/smoke-test/dependabot-file/over-config/cargo/Cargo.toml +0 -8
  164. data/smoke-test/dependabot-file/over-config/composer/composer.json +0 -5
  165. data/smoke-test/dependabot-file/over-config/composer/composer.lock +0 -72
  166. data/smoke-test/dependabot-file/overer-config/.github/TARGET.yaml +0 -19
  167. data/smoke-test/dependabot-file/overer-config/.github/dependabot.yaml +0 -12
  168. data/smoke-test/dependabot-file/overer-config/bundler/Gemfile +0 -9
  169. data/smoke-test/dependabot-file/overer-config/bundler/Gemfile.lock +0 -47
  170. data/smoke-test/dependabot-file/overer-config/bundler/dependabot-all-updates-test-staging.gemspec +0 -10
  171. data/smoke-test/dependabot-file/overer-config/cargo/Cargo.lock +0 -90
  172. data/smoke-test/dependabot-file/overer-config/cargo/Cargo.toml +0 -8
  173. data/smoke-test/dependabot-file/overer-config/composer/composer.json +0 -5
  174. data/smoke-test/dependabot-file/overer-config/composer/composer.lock +0 -72
  175. data/smoke-test/dependabot-file/partial-config/.github/TARGET.yaml +0 -17
  176. data/smoke-test/dependabot-file/partial-config/.github/dependabot.yaml +0 -7
  177. data/smoke-test/dependabot-file/partial-config/bundler/Gemfile +0 -9
  178. data/smoke-test/dependabot-file/partial-config/bundler/Gemfile.lock +0 -47
  179. data/smoke-test/dependabot-file/partial-config/bundler/dependabot-all-updates-test-staging.gemspec +0 -10
  180. data/smoke-test/dependabot-file/partial-config/cargo/Cargo.lock +0 -90
  181. data/smoke-test/dependabot-file/partial-config/cargo/Cargo.toml +0 -8
  182. data/smoke-test/dependabot-file/partial-config/composer/composer.json +0 -5
  183. data/smoke-test/dependabot-file/partial-config/composer/composer.lock +0 -72
  184. data/smoke-test/docker/Dockerfile +0 -19
  185. data/smoke-test/elm/elm-package.json +0 -15
  186. data/smoke-test/elm/elm.json +0 -31
  187. data/smoke-test/github-actions/both/.github/workflows/this.yaml +0 -11
  188. data/smoke-test/github-actions/both/yaml/action.yml +0 -13
  189. data/smoke-test/github-actions/invalid/invalid_file.yaml +0 -0
  190. data/smoke-test/github-actions/workflow/.github/workflows/this.yaml +0 -11
  191. data/smoke-test/github-actions/yaml/action.yml +0 -13
  192. data/smoke-test/gitsubmodule/.gitmodules +0 -4
  193. data/smoke-test/gomod/go.mod +0 -16
  194. data/smoke-test/gomod/go.sum +0 -18
  195. data/smoke-test/gomod/gomain.go +0 -14
  196. data/smoke-test/gradle/.gitignore +0 -1
  197. data/smoke-test/gradle/build.gradle +0 -65
  198. data/smoke-test/maven/pom.xml +0 -65
  199. data/smoke-test/mix/mix.exs +0 -24
  200. data/smoke-test/mix/mix.lock +0 -5
  201. data/smoke-test/npm/package-lock.json +0 -166
  202. data/smoke-test/npm/package.json +0 -22
  203. data/smoke-test/npm/removed/package-lock.json +0 -44
  204. data/smoke-test/npm/removed/package.json +0 -15
  205. data/smoke-test/nuget/project.csproj +0 -14
  206. data/smoke-test/pip/pip/requirements.txt +0 -5
  207. data/smoke-test/pip/pip-compile/requirements.in +0 -2
  208. data/smoke-test/pip/pip-compile/requirements.txt +0 -16
  209. data/smoke-test/pip/pipenv/Pipfile +0 -13
  210. data/smoke-test/pip/pipenv/Pipfile.lock +0 -86
  211. data/smoke-test/pip/poetry/poetry.lock +0 -33
  212. data/smoke-test/pip/poetry/pyproject.toml +0 -18
  213. data/smoke-test/pub/pubspec.lock +0 -40
  214. data/smoke-test/pub/pubspec.yaml +0 -10
  215. data/smoke-test/terraform/main.tf +0 -143
@@ -1,530 +0,0 @@
1
- # ChangeLog
2
-
3
- * Add CRAM-MD5 authentication, thanks to Elijah madden, https://github.com/okonomiyaki3000
4
- * Replacement of obsolete Quoted-Printable encoder with a much better implementation
5
- * Composer package definition
6
-
7
- ## Version 5.2.2 (December 3, 2012)
8
-
9
- * Some fixes and syncs from https://github.com/Synchro/PHPMailer
10
- * Add Slovak translation, thanks to Michal Tinka
11
-
12
- ## Version 5.2.2-rc2 (November 6, 2012)
13
-
14
- * Fix SMTP server rotation (Bugz: 118)
15
- * Allow override of autogen'ed 'Date' header (for Drupal's
16
- og_mailinglist module)
17
- * No whitespace after '-f' option (Bugz: 116)
18
- * Work around potential warning (Bugz: 114)
19
-
20
- ## Version 5.2.2-rc1 (September 28, 2012)
21
-
22
- * Header encoding works with long lines (Bugz: 93)
23
- * Turkish language update (Bugz: 94)
24
- * undefined $pattern in EncodeQ bug squashed (Bugz: 98)
25
- * use of mail() in safe_mode now works (Bugz: 96)
26
- * ValidateAddress() now 'public static' so people can override the
27
- default and use their own validation scheme.
28
- * ValidateAddress() no longer uses broken FILTER_VALIDATE_EMAIL
29
- * Added in AUTH PLAIN SMTP authentication
30
-
31
- ## Version 5.2.2-beta2 (August 17, 2012)
32
-
33
- * Fixed Postfix VERP support (Bugz: 92)
34
- * Allow action_function callbacks to pass/use
35
- the From address (passed as final param)
36
- * Prevent inf look for get_lines() (Bugz: 77)
37
- * New public var ($UseSendmailOptions). Only pass sendmail()
38
- options iff we really are using sendmail or something sendmail
39
- compatible. (Bugz: 75)
40
- * default setting for LE returned to "\n" due to popular demand.
41
-
42
- ## Version 5.2.2-beta1 (July 13, 2012)
43
-
44
- * Expose PreSend() and PostSend() as public methods to allow
45
- for more control if serializing message sending.
46
- * GetSentMIMEMessage() only constructs the message copy when
47
- needed. Save memory.
48
- * Only pass params to mail() if the underlying MTA is
49
- "sendmail" (as defined as "having the string sendmail
50
- in its pathname") [#69]
51
- * Attachments now work with Amazon SES and others [Bugz#70]
52
- * Debug output now sent to stdout (via echo) or error_log [Bugz#5]
53
- * New var: Debugoutput (for above) [Bugz#5]
54
- * SMTP reads now Timeout aware (new var: Timeout=15) [Bugz#71]
55
- * SMTP reads now can have a Timelimit associated with them
56
- (new var: Timelimit=30)[Bugz#71]
57
- * Fix quoting issue associated with charsets
58
- * default setting for LE is now RFC compliant: "\r\n"
59
- * Return-Path can now be user defined (new var: ReturnPath)
60
- (the default is "" which implies no change from previous
61
- behavior, which was to use either From or Sender) [Bugz#46]
62
- * X-Mailer header can now be disabled (by setting to a
63
- whitespace string, eg " ") [Bugz#66]
64
- * Bugz closed: #68, #60, #42, #43, #59, #55, #66, #48, #49,
65
- #52, #31, #41, #5. #70, #69
66
-
67
- ## Version 5.2.1 (January 16, 2012)
68
-
69
- * Closed several bugs#5
70
- * Performance improvements
71
- * MsgHTML() now returns the message as required.
72
- * New method: GetSentMIMEMessage() (returns full copy of sent message)
73
-
74
- ## Version 5.2 (July 19, 2011)
75
-
76
- * protected MIME body and header
77
- * better DKIM DNS Resource Record support
78
- * better aly handling
79
- * htmlfilter class added to extras
80
- * moved to Apache Extras
81
-
82
- ## Version 5.1 (October 20, 2009)
83
-
84
- * fixed filename issue with AddStringAttachment (thanks to Tony)
85
- * fixed "SingleTo" property, now works with Senmail, Qmail, and SMTP in
86
- addition to PHP mail()
87
- * added DKIM digital signing functionality, new properties:
88
- - DKIM_domain (sets the domain name)
89
- - DKIM_private (holds DKIM private key)
90
- - DKIM_passphrase (holds your DKIM passphrase)
91
- - DKIM_selector (holds the DKIM "selector")
92
- - DKIM_identity (holds the identifying email address)
93
- * added callback function support
94
- - callback function parameters include:
95
- result, to, cc, bcc, subject and body
96
- * see the test/test_callback.php file for usage.
97
- * added "auto" identity functionality
98
- - can automatically add:
99
- - Return-path (if Sender not set)
100
- - Reply-To (if ReplyTo not set)
101
- - can be disabled:
102
- - $mail->SetFrom('yourname@yourdomain.com','First Last',false);
103
- - or by adding the $mail->Sender and/or $mail->ReplyTo properties
104
-
105
- Note: "auto" identity added to help with emails ending up in spam or junk boxes because of missing headers
106
-
107
- ## Version 5.0.2 (May 24, 2009)
108
-
109
- * Fix for missing attachments when inline graphics are present
110
- * Fix for missing Cc in header when using SMTP (mail was sent,
111
- but not displayed in header -- Cc receiver only saw email To:
112
- line and no Cc line, but did get the email (To receiver
113
- saw same)
114
-
115
- ## Version 5.0.1 (April 05, 2009)
116
-
117
- * Temporary fix for missing attachments
118
-
119
- ## Version 5.0.0 (April 02, 2009)
120
-
121
- * With the release of this version, we are initiating a new version numbering
122
- system to differentiate from the PHP4 version of PHPMailer.
123
- * Most notable in this release is fully object oriented code.
124
-
125
- ### class.smtp.php:
126
-
127
- * Refactored class.smtp.php to support new exception handling
128
- * code size reduced from 29.2 Kb to 25.6 Kb
129
- * Removed unnecessary functions from class.smtp.php:
130
- - public function Expand($name) {
131
- - public function Help($keyword="") {
132
- - public function Noop() {
133
- - public function Send($from) {
134
- - public function SendOrMail($from) {
135
- - public function Verify($name) {
136
-
137
- ### class.phpmailer.php:
138
-
139
- * Refactored class.phpmailer.php with new exception handling
140
- * Changed processing functionality of Sendmail and Qmail so they cannot be
141
- inadvertently used
142
- * removed getFile() function, just became a simple wrapper for
143
- file_get_contents()
144
- * added check for PHP version (will gracefully exit if not at least PHP 5.0)
145
- * enhanced code to check if an attachment source is the same as an embedded or
146
- inline graphic source to eliminate duplicate attachments
147
-
148
- ### New /test_script
149
-
150
- We have written a test script you can use to test the script as part of your
151
- installation. Once you press submit, the test script will send a multi-mime
152
- email with either the message you type in or an HTML email with an inline
153
- graphic. Two attachments are included in the email (one of the attachments
154
- is also the inline graphic so you can see that only one copy of the graphic
155
- is sent in the email). The test script will also display the functional
156
- script that you can copy/paste to your editor to duplicate the functionality.
157
-
158
- ### New examples
159
-
160
- * All new examples in both basic and advanced modes. Advanced examples show
161
- Exception handling.
162
-
163
- ### PHPDocumentator (phpdocs) documentation for PHPMailer version 5.0.0
164
-
165
- * all new documentation
166
-
167
- ## Version 2.3 (November 06, 2008)
168
-
169
- * added Arabic language (many thanks to Bahjat Al Mostafa)
170
- * removed English language from language files and made it a default within
171
- class.phpmailer.php - if no language is found, it will default to use
172
- the english language translation
173
- * fixed public/private declarations
174
- * corrected line 1728, $basedir to $directory
175
- * added $sign_cert_file to avoid improper duplicate use of $sign_key_file
176
- * corrected $this->Hello on line 612 to $this->Helo
177
- * changed default of $LE to "\r\n" to comply with RFC 2822. Can be set by the user
178
- if default is not acceptable
179
- * removed trim() from return results in EncodeQP
180
- * /test and three files it contained are removed from version 2.3
181
- * fixed phpunit.php for compliance with PHP5
182
- * changed $this->AltBody = $textMsg; to $this->AltBody = html_entity_decode($textMsg);
183
- * We have removed the /phpdoc from the downloads. All documentation is now on
184
- the http://phpmailer.codeworxtech.com website.
185
-
186
- ## Version 2.2.1 () July 19 2008
187
-
188
- * fixed line 1092 in class.smtp.php (my apologies, error on my part)
189
-
190
- ## Version 2.2 () July 15 2008
191
-
192
- * Fixed redirect issue (display of UTF-8 in thank you redirect)
193
- * fixed error in getResponse function declaration (class.pop3.php)
194
- * PHPMailer now PHP6 compliant
195
- * fixed line 1092 in class.smtp.php (endless loop from missing = sign)
196
-
197
- ## Version 2.1 (Wed, June 04 2008)
198
-
199
- NOTE: WE HAVE A NEW LANGUAGE VARIABLE FOR DIGITALLY SIGNED S/MIME EMAILS. IF YOU CAN HELP WITH LANGUAGES OTHER THAN ENGLISH AND SPANISH, IT WOULD BE APPRECIATED.
200
-
201
- * added S/MIME functionality (ability to digitally sign emails)
202
- BIG THANKS TO "sergiocambra" for posting this patch back in November 2007.
203
- The "Signed Emails" functionality adds the Sign method to pass the private key
204
- filename and the password to read it, and then email will be sent with
205
- content-type multipart/signed and with the digital signature attached.
206
- * fully compatible with E_STRICT error level
207
- - Please note:
208
- In about half the test environments this development version was subjected
209
- to, an error was thrown for the date() functions used (line 1565 and 1569).
210
- This is NOT a PHPMailer error, it is the result of an incorrectly configured
211
- PHP5 installation. The fix is to modify your 'php.ini' file and include the
212
- date.timezone = America/New York
213
- directive, to your own server timezone
214
- - If you do get this error, and are unable to access your php.ini file:
215
- In your PHP script, add
216
- `date_default_timezone_set('America/Toronto');`
217
- - do not try to use
218
- `$myVar = date_default_timezone_get();`
219
- as a test, it will throw an error.
220
- * added ability to define path (mainly for embedded images)
221
- function `MsgHTML($message,$basedir='')` ... where:
222
- `$basedir` is the fully qualified path
223
- * fixed `MsgHTML()` function:
224
- - Embedded Images where images are specified by `<protocol>://` will not be altered or embedded
225
- * fixed the return value of SMTP exit code ( pclose )
226
- * addressed issue of multibyte characters in subject line and truncating
227
- * added ability to have user specified Message ID
228
- (default is still that PHPMailer create a unique Message ID)
229
- * corrected unidentified message type to 'application/octet-stream'
230
- * fixed chunk_split() multibyte issue (thanks to Colin Brown, et al).
231
- * added check for added attachments
232
- * enhanced conversion of HTML to text in MsgHTML (thanks to "brunny")
233
-
234
- ## Version 2.1.0beta2 (Sun, Dec 02 2007)
235
-
236
- * implemented updated EncodeQP (thanks to coolbru, aka Marcus Bointon)
237
- * finished all testing, all known bugs corrected, enhancements tested
238
- - note: will NOT work with PHP4.
239
-
240
- please note, this is BETA software **DO NOT USE THIS IN PRODUCTION OR LIVE PROJECTS; INTENDED STRICTLY FOR TESTING**
241
-
242
- ## Version 2.1.0beta1
243
-
244
- please note, this is BETA software
245
- ** DO NOT USE THIS IN PRODUCTION OR LIVE PROJECTS
246
- INTENDED STRICTLY FOR TESTING
247
-
248
- ## Version 2.0.0 rc2 (Fri, Nov 16 2007), interim release
249
-
250
- * implements new property to control VERP in class.smtp.php
251
- example (requires instantiating class.smtp.php):
252
- $mail->do_verp = true;
253
- * POP-before-SMTP functionality included, thanks to Richard Davey
254
- (see class.pop3.php & pop3_before_smtp_test.php for examples)
255
- * included example showing how to use PHPMailer with GMAIL
256
- * fixed the missing Cc in SendMail() and Mail()
257
-
258
- ******************
259
- A note on sending bulk emails:
260
-
261
- If the email you are sending is not personalized, consider using the
262
- "undisclosed-recipient:;" strategy. That is, put all of your recipients
263
- in the Bcc field and set the To field to "undisclosed-recipients:;".
264
- It's a lot faster (only one send) and saves quite a bit on resources.
265
- Contrary to some opinions, this will not get you listed in spam engines -
266
- it's a legitimate way for you to send emails.
267
-
268
- A partial example for use with PHPMailer:
269
-
270
- $mail->AddAddress("undisclosed-recipients:;");
271
- $mail->AddBCC("email1@anydomain.com,email2@anyotherdomain.com,email3@anyalternatedomain.com");
272
-
273
- Many email service providers restrict the number of emails that can be sent
274
- in any given time period. Often that is between 50 - 60 emails maximum
275
- per hour or per send session.
276
-
277
- If that's the case, then break up your Bcc lists into chunks that are one
278
- less than your limit, and put a pause in your script.
279
- *******************
280
-
281
- ## Version 2.0.0 rc1 (Thu, Nov 08 2007), interim release
282
-
283
- * dramatically simplified using inline graphics ... it's fully automated and requires no user input
284
- * added automatic document type detection for attachments and pictures
285
- * added MsgHTML() function to replace Body tag for HTML emails
286
- * fixed the SendMail security issues (input validation vulnerability)
287
- * enhanced the AddAddresses functionality so that the "Name" portion is used in the email address
288
- * removed the need to use the AltBody method (set from the HTML, or default text used)
289
- * set the PHP Mail() function as the default (still support SendMail, SMTP Mail)
290
- * removed the need to set the IsHTML property (set automatically)
291
- * added Estonian language file by Indrek P&auml;ri
292
- * added header injection patch
293
- * added "set" method to permit users to create their own pseudo-properties like 'X-Headers', etc.
294
-
295
- ```
296
- example of use:
297
- $mail->set('X-Priority', '3');
298
- $mail->set('X-MSMail-Priority', 'Normal');
299
- ```
300
-
301
- * fixed warning message in SMTP get_lines method
302
- * added TLS/SSL SMTP support
303
- example of use:
304
-
305
- ```
306
- $mail = new PHPMailer();
307
- $mail->Mailer = "smtp";
308
- $mail->Host = "smtp.example.com";
309
- $mail->SMTPSecure = "tls"; // option
310
- //$mail->SMTPSecure = "ssl"; // option
311
- ...
312
- $mail->Send();
313
- ```
314
-
315
- * PHPMailer has been tested with PHP4 (4.4.7) and PHP5 (5.2.7)
316
- * Works with PHP installed as a module or as CGI-PHP
317
- - NOTE: will NOT work with PHP5 in E_STRICT error mode
318
-
319
- ## Version 1.73 (Sun, Jun 10 2005)
320
-
321
- * Fixed denial of service bug: http://www.cybsec.com/vuln/PHPMailer-DOS.pdf
322
- * Now has a total of 20 translations
323
- * Fixed alt attachments bug: http://tinyurl.com/98u9k
324
-
325
- ## Version 1.72 (Wed, May 25 2004)
326
-
327
- * Added Dutch, Swedish, Czech, Norwegian, and Turkish translations.
328
- * Received: Removed this method because spam filter programs like
329
- SpamAssassin reject this header.
330
- * Fixed error count bug.
331
- * SetLanguage default is now "language/".
332
- * Fixed magic_quotes_runtime bug.
333
-
334
- ## Version 1.71 (Tue, Jul 28 2003)
335
-
336
- * Made several speed enhancements
337
- * Added German and Italian translation files
338
- * Fixed HELO/AUTH bugs on keep-alive connects
339
- * Now provides an error message if language file does not load
340
- * Fixed attachment EOL bug
341
- * Updated some unclear documentation
342
- * Added additional tests and improved others
343
-
344
- ## Version 1.70 (Mon, Jun 20 2003)
345
-
346
- * Added SMTP keep-alive support
347
- * Added IsError method for error detection
348
- * Added error message translation support (SetLanguage)
349
- * Refactored many methods to increase library performance
350
- * Hello now sends the newer EHLO message before HELO as per RFC 2821
351
- * Removed the boundary class and replaced it with GetBoundary
352
- * Removed queue support methods
353
- * New $Hostname variable
354
- * New Message-ID header
355
- * Received header reformat
356
- * Helo variable default changed to $Hostname
357
- * Removed extra spaces in Content-Type definition (#667182)
358
- * Return-Path should be set to Sender when set
359
- * Adds Q or B encoding to headers when necessary
360
- * quoted-encoding should now encode NULs \000
361
- * Fixed encoding of body/AltBody (#553370)
362
- * Adds "To: undisclosed-recipients:;" when all recipients are hidden (BCC)
363
- * Multiple bug fixes
364
-
365
- ## Version 1.65 (Fri, Aug 09 2002)
366
-
367
- * Fixed non-visible attachment bug (#585097) for Outlook
368
- * SMTP connections are now closed after each transaction
369
- * Fixed SMTP::Expand return value
370
- * Converted SMTP class documentation to phpDocumentor format
371
-
372
- ## Version 1.62 (Wed, Jun 26 2002)
373
-
374
- * Fixed multi-attach bug
375
- * Set proper word wrapping
376
- * Reduced memory use with attachments
377
- * Added more debugging
378
- * Changed documentation to phpDocumentor format
379
-
380
- ## Version 1.60 (Sat, Mar 30 2002)
381
-
382
- * Sendmail pipe and address patch (Christian Holtje)
383
- * Added embedded image and read confirmation support (A. Ognio)
384
- * Added unit tests
385
- * Added SMTP timeout support (*nix only)
386
- * Added possibly temporary PluginDir variable for SMTP class
387
- * Added LE message line ending variable
388
- * Refactored boundary and attachment code
389
- * Eliminated SMTP class warnings
390
- * Added SendToQueue method for future queuing support
391
-
392
- ## Version 1.54 (Wed, Dec 19 2001)
393
-
394
- * Add some queuing support code
395
- * Fixed a pesky multi/alt bug
396
- * Messages are no longer forced to have "To" addresses
397
-
398
- ## Version 1.50 (Thu, Nov 08 2001)
399
-
400
- * Fix extra lines when not using SMTP mailer
401
- * Set WordWrap variable to int with a zero default
402
-
403
- ## Version 1.47 (Tue, Oct 16 2001)
404
-
405
- * Fixed Received header code format
406
- * Fixed AltBody order error
407
- * Fixed alternate port warning
408
-
409
- ## Version 1.45 (Tue, Sep 25 2001)
410
-
411
- * Added enhanced SMTP debug support
412
- * Added support for multiple ports on SMTP
413
- * Added Received header for tracing
414
- * Fixed AddStringAttachment encoding
415
- * Fixed possible header name quote bug
416
- * Fixed wordwrap() trim bug
417
- * Couple other small bug fixes
418
-
419
- ## Version 1.41 (Wed, Aug 22 2001)
420
-
421
- * Fixed AltBody bug w/o attachments
422
- * Fixed rfc_date() for certain mail servers
423
-
424
- ## Version 1.40 (Sun, Aug 12 2001)
425
-
426
- * Added multipart/alternative support (AltBody)
427
- * Documentation update
428
- * Fixed bug in Mercury MTA
429
-
430
- ## Version 1.29 (Fri, Aug 03 2001)
431
-
432
- * Added AddStringAttachment() method
433
- * Added SMTP authentication support
434
-
435
- ## Version 1.28 (Mon, Jul 30 2001)
436
-
437
- * Fixed a typo in SMTP class
438
- * Fixed header issue with Imail (win32) SMTP server
439
- * Made fopen() calls for attachments use "rb" to fix win32 error
440
-
441
- ## Version 1.25 (Mon, Jul 02 2001)
442
-
443
- * Added RFC 822 date fix (Patrice)
444
- * Added improved error handling by adding a $ErrorInfo variable
445
- * Removed MailerDebug variable (obsolete with new error handler)
446
-
447
- ## Version 1.20 (Mon, Jun 25 2001)
448
-
449
- * Added quoted-printable encoding (Patrice)
450
- * Set Version as public and removed PrintVersion()
451
- * Changed phpdoc to only display public variables and methods
452
-
453
- ## Version 1.19 (Thu, Jun 21 2001)
454
-
455
- * Fixed MS Mail header bug
456
- * Added fix for Bcc problem with mail(). *Does not work on Win32*
457
- (See PHP bug report: http://www.php.net/bugs.php?id=11616)
458
- * mail() no longer passes a fifth parameter when not needed
459
-
460
- ## Version 1.15 (Fri, Jun 15 2001)
461
-
462
- Note: these changes contributed by Patrice Fournier
463
-
464
- * Changed all remaining \n to \r\n
465
- * Bcc: header no longer writen to message except
466
- when sent directly to sendmail
467
- * Added a small message to non-MIME compliant mail reader
468
- * Added Sender variable to change the Sender email
469
- used in -f for sendmail/mail and in 'MAIL FROM' for smtp mode
470
- * Changed boundary setting to a place it will be set only once
471
- * Removed transfer encoding for whole message when using multipart
472
- * Message body now uses Encoding in multipart messages
473
- * Can set encoding and type to attachments 7bit, 8bit
474
- and binary attachment are sent as is, base64 are encoded
475
- * Can set Encoding to base64 to send 8 bits body
476
- through 7 bits servers
477
-
478
- ## Version 1.10 (Tue, Jun 12 2001)
479
-
480
- * Fixed win32 mail header bug (printed out headers in message body)
481
-
482
- ## Version 1.09 (Fri, Jun 08 2001)
483
-
484
- * Changed date header to work with Netscape mail programs
485
- * Altered phpdoc documentation
486
-
487
- ## Version 1.08 (Tue, Jun 05 2001)
488
-
489
- * Added enhanced error-checking
490
- * Added phpdoc documentation to source
491
-
492
- ## Version 1.06 (Fri, Jun 01 2001)
493
-
494
- * Added optional name for file attachments
495
-
496
- ## Version 1.05 (Tue, May 29 2001)
497
-
498
- * Code cleanup
499
- * Eliminated sendmail header warning message
500
- * Fixed possible SMTP error
501
-
502
- ## Version 1.03 (Thu, May 24 2001)
503
-
504
- * Fixed problem where qmail sends out duplicate messages
505
-
506
- ## Version 1.02 (Wed, May 23 2001)
507
-
508
- * Added multiple recipient and attachment Clear* methods
509
- * Added Sendmail public variable
510
- * Fixed problem with loading SMTP library multiple times
511
-
512
- ## Version 0.98 (Tue, May 22 2001)
513
-
514
- * Fixed problem with redundant mail hosts sending out multiple messages
515
- * Added additional error handler code
516
- * Added AddCustomHeader() function
517
- * Added support for Microsoft mail client headers (affects priority)
518
- * Fixed small bug with Mailer variable
519
- * Added PrintVersion() function
520
-
521
- ## Version 0.92 (Tue, May 15 2001)
522
-
523
- * Changed file names to class.phpmailer.php and class.smtp.php to match
524
- current PHP class trend.
525
- * Fixed problem where body not being printed when a message is attached
526
- * Several small bug fixes
527
-
528
- ## Version 0.90 (Tue, April 17 2001)
529
-
530
- * Initial public release