Alvaro Santillan

primera comitiada

Showing 73 changed files with 4772 additions and 0 deletions

Too many changes to show.

To preserve performance only 73 of 73+ files are displayed.

This diff could not be displayed because it is too large.
  1 +GPL Cooperation Commitment
  2 +Version 1.0
  3 +
  4 +Before filing or continuing to prosecute any legal proceeding or claim
  5 +(other than a Defensive Action) arising from termination of a Covered
  6 +License, we commit to extend to the person or entity ('you') accused
  7 +of violating the Covered License the following provisions regarding
  8 +cure and reinstatement, taken from GPL version 3. As used here, the
  9 +term 'this License' refers to the specific Covered License being
  10 +enforced.
  11 +
  12 + However, if you cease all violation of this License, then your
  13 + license from a particular copyright holder is reinstated (a)
  14 + provisionally, unless and until the copyright holder explicitly
  15 + and finally terminates your license, and (b) permanently, if the
  16 + copyright holder fails to notify you of the violation by some
  17 + reasonable means prior to 60 days after the cessation.
  18 +
  19 + Moreover, your license from a particular copyright holder is
  20 + reinstated permanently if the copyright holder notifies you of the
  21 + violation by some reasonable means, this is the first time you
  22 + have received notice of violation of this License (for any work)
  23 + from that copyright holder, and you cure the violation prior to 30
  24 + days after your receipt of the notice.
  25 +
  26 +We intend this Commitment to be irrevocable, and binding and
  27 +enforceable against us and assignees of or successors to our
  28 +copyrights.
  29 +
  30 +Definitions
  31 +
  32 +'Covered License' means the GNU General Public License, version 2
  33 +(GPLv2), the GNU Lesser General Public License, version 2.1
  34 +(LGPLv2.1), or the GNU Library General Public License, version 2
  35 +(LGPLv2), all as published by the Free Software Foundation.
  36 +
  37 +'Defensive Action' means a legal proceeding or claim that We bring
  38 +against you in response to a prior proceeding or claim initiated by
  39 +you or your affiliate.
  40 +
  41 +'We' means each contributor to this repository as of the date of
  42 +inclusion of this file, including subsidiaries of a corporate
  43 +contributor.
  44 +
  45 +This work is available under a Creative Commons Attribution-ShareAlike
  46 +4.0 International license (https://creativecommons.org/licenses/by-sa/4.0/).
  1 + GNU LESSER GENERAL PUBLIC LICENSE
  2 + Version 2.1, February 1999
  3 +
  4 + Copyright (C) 1991, 1999 Free Software Foundation, Inc.
  5 + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  6 + Everyone is permitted to copy and distribute verbatim copies
  7 + of this license document, but changing it is not allowed.
  8 +
  9 +[This is the first released version of the Lesser GPL. It also counts
  10 + as the successor of the GNU Library Public License, version 2, hence
  11 + the version number 2.1.]
  12 +
  13 + Preamble
  14 +
  15 + The licenses for most software are designed to take away your
  16 +freedom to share and change it. By contrast, the GNU General Public
  17 +Licenses are intended to guarantee your freedom to share and change
  18 +free software--to make sure the software is free for all its users.
  19 +
  20 + This license, the Lesser General Public License, applies to some
  21 +specially designated software packages--typically libraries--of the
  22 +Free Software Foundation and other authors who decide to use it. You
  23 +can use it too, but we suggest you first think carefully about whether
  24 +this license or the ordinary General Public License is the better
  25 +strategy to use in any particular case, based on the explanations below.
  26 +
  27 + When we speak of free software, we are referring to freedom of use,
  28 +not price. Our General Public Licenses are designed to make sure that
  29 +you have the freedom to distribute copies of free software (and charge
  30 +for this service if you wish); that you receive source code or can get
  31 +it if you want it; that you can change the software and use pieces of
  32 +it in new free programs; and that you are informed that you can do
  33 +these things.
  34 +
  35 + To protect your rights, we need to make restrictions that forbid
  36 +distributors to deny you these rights or to ask you to surrender these
  37 +rights. These restrictions translate to certain responsibilities for
  38 +you if you distribute copies of the library or if you modify it.
  39 +
  40 + For example, if you distribute copies of the library, whether gratis
  41 +or for a fee, you must give the recipients all the rights that we gave
  42 +you. You must make sure that they, too, receive or can get the source
  43 +code. If you link other code with the library, you must provide
  44 +complete object files to the recipients, so that they can relink them
  45 +with the library after making changes to the library and recompiling
  46 +it. And you must show them these terms so they know their rights.
  47 +
  48 + We protect your rights with a two-step method: (1) we copyright the
  49 +library, and (2) we offer you this license, which gives you legal
  50 +permission to copy, distribute and/or modify the library.
  51 +
  52 + To protect each distributor, we want to make it very clear that
  53 +there is no warranty for the free library. Also, if the library is
  54 +modified by someone else and passed on, the recipients should know
  55 +that what they have is not the original version, so that the original
  56 +author's reputation will not be affected by problems that might be
  57 +introduced by others.
  58 +
  59 + Finally, software patents pose a constant threat to the existence of
  60 +any free program. We wish to make sure that a company cannot
  61 +effectively restrict the users of a free program by obtaining a
  62 +restrictive license from a patent holder. Therefore, we insist that
  63 +any patent license obtained for a version of the library must be
  64 +consistent with the full freedom of use specified in this license.
  65 +
  66 + Most GNU software, including some libraries, is covered by the
  67 +ordinary GNU General Public License. This license, the GNU Lesser
  68 +General Public License, applies to certain designated libraries, and
  69 +is quite different from the ordinary General Public License. We use
  70 +this license for certain libraries in order to permit linking those
  71 +libraries into non-free programs.
  72 +
  73 + When a program is linked with a library, whether statically or using
  74 +a shared library, the combination of the two is legally speaking a
  75 +combined work, a derivative of the original library. The ordinary
  76 +General Public License therefore permits such linking only if the
  77 +entire combination fits its criteria of freedom. The Lesser General
  78 +Public License permits more lax criteria for linking other code with
  79 +the library.
  80 +
  81 + We call this license the "Lesser" General Public License because it
  82 +does Less to protect the user's freedom than the ordinary General
  83 +Public License. It also provides other free software developers Less
  84 +of an advantage over competing non-free programs. These disadvantages
  85 +are the reason we use the ordinary General Public License for many
  86 +libraries. However, the Lesser license provides advantages in certain
  87 +special circumstances.
  88 +
  89 + For example, on rare occasions, there may be a special need to
  90 +encourage the widest possible use of a certain library, so that it becomes
  91 +a de-facto standard. To achieve this, non-free programs must be
  92 +allowed to use the library. A more frequent case is that a free
  93 +library does the same job as widely used non-free libraries. In this
  94 +case, there is little to gain by limiting the free library to free
  95 +software only, so we use the Lesser General Public License.
  96 +
  97 + In other cases, permission to use a particular library in non-free
  98 +programs enables a greater number of people to use a large body of
  99 +free software. For example, permission to use the GNU C Library in
  100 +non-free programs enables many more people to use the whole GNU
  101 +operating system, as well as its variant, the GNU/Linux operating
  102 +system.
  103 +
  104 + Although the Lesser General Public License is Less protective of the
  105 +users' freedom, it does ensure that the user of a program that is
  106 +linked with the Library has the freedom and the wherewithal to run
  107 +that program using a modified version of the Library.
  108 +
  109 + The precise terms and conditions for copying, distribution and
  110 +modification follow. Pay close attention to the difference between a
  111 +"work based on the library" and a "work that uses the library". The
  112 +former contains code derived from the library, whereas the latter must
  113 +be combined with the library in order to run.
  114 +
  115 + GNU LESSER GENERAL PUBLIC LICENSE
  116 + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
  117 +
  118 + 0. This License Agreement applies to any software library or other
  119 +program which contains a notice placed by the copyright holder or
  120 +other authorized party saying it may be distributed under the terms of
  121 +this Lesser General Public License (also called "this License").
  122 +Each licensee is addressed as "you".
  123 +
  124 + A "library" means a collection of software functions and/or data
  125 +prepared so as to be conveniently linked with application programs
  126 +(which use some of those functions and data) to form executables.
  127 +
  128 + The "Library", below, refers to any such software library or work
  129 +which has been distributed under these terms. A "work based on the
  130 +Library" means either the Library or any derivative work under
  131 +copyright law: that is to say, a work containing the Library or a
  132 +portion of it, either verbatim or with modifications and/or translated
  133 +straightforwardly into another language. (Hereinafter, translation is
  134 +included without limitation in the term "modification".)
  135 +
  136 + "Source code" for a work means the preferred form of the work for
  137 +making modifications to it. For a library, complete source code means
  138 +all the source code for all modules it contains, plus any associated
  139 +interface definition files, plus the scripts used to control compilation
  140 +and installation of the library.
  141 +
  142 + Activities other than copying, distribution and modification are not
  143 +covered by this License; they are outside its scope. The act of
  144 +running a program using the Library is not restricted, and output from
  145 +such a program is covered only if its contents constitute a work based
  146 +on the Library (independent of the use of the Library in a tool for
  147 +writing it). Whether that is true depends on what the Library does
  148 +and what the program that uses the Library does.
  149 +
  150 + 1. You may copy and distribute verbatim copies of the Library's
  151 +complete source code as you receive it, in any medium, provided that
  152 +you conspicuously and appropriately publish on each copy an
  153 +appropriate copyright notice and disclaimer of warranty; keep intact
  154 +all the notices that refer to this License and to the absence of any
  155 +warranty; and distribute a copy of this License along with the
  156 +Library.
  157 +
  158 + You may charge a fee for the physical act of transferring a copy,
  159 +and you may at your option offer warranty protection in exchange for a
  160 +fee.
  161 +
  162 + 2. You may modify your copy or copies of the Library or any portion
  163 +of it, thus forming a work based on the Library, and copy and
  164 +distribute such modifications or work under the terms of Section 1
  165 +above, provided that you also meet all of these conditions:
  166 +
  167 + a) The modified work must itself be a software library.
  168 +
  169 + b) You must cause the files modified to carry prominent notices
  170 + stating that you changed the files and the date of any change.
  171 +
  172 + c) You must cause the whole of the work to be licensed at no
  173 + charge to all third parties under the terms of this License.
  174 +
  175 + d) If a facility in the modified Library refers to a function or a
  176 + table of data to be supplied by an application program that uses
  177 + the facility, other than as an argument passed when the facility
  178 + is invoked, then you must make a good faith effort to ensure that,
  179 + in the event an application does not supply such function or
  180 + table, the facility still operates, and performs whatever part of
  181 + its purpose remains meaningful.
  182 +
  183 + (For example, a function in a library to compute square roots has
  184 + a purpose that is entirely well-defined independent of the
  185 + application. Therefore, Subsection 2d requires that any
  186 + application-supplied function or table used by this function must
  187 + be optional: if the application does not supply it, the square
  188 + root function must still compute square roots.)
  189 +
  190 +These requirements apply to the modified work as a whole. If
  191 +identifiable sections of that work are not derived from the Library,
  192 +and can be reasonably considered independent and separate works in
  193 +themselves, then this License, and its terms, do not apply to those
  194 +sections when you distribute them as separate works. But when you
  195 +distribute the same sections as part of a whole which is a work based
  196 +on the Library, the distribution of the whole must be on the terms of
  197 +this License, whose permissions for other licensees extend to the
  198 +entire whole, and thus to each and every part regardless of who wrote
  199 +it.
  200 +
  201 +Thus, it is not the intent of this section to claim rights or contest
  202 +your rights to work written entirely by you; rather, the intent is to
  203 +exercise the right to control the distribution of derivative or
  204 +collective works based on the Library.
  205 +
  206 +In addition, mere aggregation of another work not based on the Library
  207 +with the Library (or with a work based on the Library) on a volume of
  208 +a storage or distribution medium does not bring the other work under
  209 +the scope of this License.
  210 +
  211 + 3. You may opt to apply the terms of the ordinary GNU General Public
  212 +License instead of this License to a given copy of the Library. To do
  213 +this, you must alter all the notices that refer to this License, so
  214 +that they refer to the ordinary GNU General Public License, version 2,
  215 +instead of to this License. (If a newer version than version 2 of the
  216 +ordinary GNU General Public License has appeared, then you can specify
  217 +that version instead if you wish.) Do not make any other change in
  218 +these notices.
  219 +
  220 + Once this change is made in a given copy, it is irreversible for
  221 +that copy, so the ordinary GNU General Public License applies to all
  222 +subsequent copies and derivative works made from that copy.
  223 +
  224 + This option is useful when you wish to copy part of the code of
  225 +the Library into a program that is not a library.
  226 +
  227 + 4. You may copy and distribute the Library (or a portion or
  228 +derivative of it, under Section 2) in object code or executable form
  229 +under the terms of Sections 1 and 2 above provided that you accompany
  230 +it with the complete corresponding machine-readable source code, which
  231 +must be distributed under the terms of Sections 1 and 2 above on a
  232 +medium customarily used for software interchange.
  233 +
  234 + If distribution of object code is made by offering access to copy
  235 +from a designated place, then offering equivalent access to copy the
  236 +source code from the same place satisfies the requirement to
  237 +distribute the source code, even though third parties are not
  238 +compelled to copy the source along with the object code.
  239 +
  240 + 5. A program that contains no derivative of any portion of the
  241 +Library, but is designed to work with the Library by being compiled or
  242 +linked with it, is called a "work that uses the Library". Such a
  243 +work, in isolation, is not a derivative work of the Library, and
  244 +therefore falls outside the scope of this License.
  245 +
  246 + However, linking a "work that uses the Library" with the Library
  247 +creates an executable that is a derivative of the Library (because it
  248 +contains portions of the Library), rather than a "work that uses the
  249 +library". The executable is therefore covered by this License.
  250 +Section 6 states terms for distribution of such executables.
  251 +
  252 + When a "work that uses the Library" uses material from a header file
  253 +that is part of the Library, the object code for the work may be a
  254 +derivative work of the Library even though the source code is not.
  255 +Whether this is true is especially significant if the work can be
  256 +linked without the Library, or if the work is itself a library. The
  257 +threshold for this to be true is not precisely defined by law.
  258 +
  259 + If such an object file uses only numerical parameters, data
  260 +structure layouts and accessors, and small macros and small inline
  261 +functions (ten lines or less in length), then the use of the object
  262 +file is unrestricted, regardless of whether it is legally a derivative
  263 +work. (Executables containing this object code plus portions of the
  264 +Library will still fall under Section 6.)
  265 +
  266 + Otherwise, if the work is a derivative of the Library, you may
  267 +distribute the object code for the work under the terms of Section 6.
  268 +Any executables containing that work also fall under Section 6,
  269 +whether or not they are linked directly with the Library itself.
  270 +
  271 + 6. As an exception to the Sections above, you may also combine or
  272 +link a "work that uses the Library" with the Library to produce a
  273 +work containing portions of the Library, and distribute that work
  274 +under terms of your choice, provided that the terms permit
  275 +modification of the work for the customer's own use and reverse
  276 +engineering for debugging such modifications.
  277 +
  278 + You must give prominent notice with each copy of the work that the
  279 +Library is used in it and that the Library and its use are covered by
  280 +this License. You must supply a copy of this License. If the work
  281 +during execution displays copyright notices, you must include the
  282 +copyright notice for the Library among them, as well as a reference
  283 +directing the user to the copy of this License. Also, you must do one
  284 +of these things:
  285 +
  286 + a) Accompany the work with the complete corresponding
  287 + machine-readable source code for the Library including whatever
  288 + changes were used in the work (which must be distributed under
  289 + Sections 1 and 2 above); and, if the work is an executable linked
  290 + with the Library, with the complete machine-readable "work that
  291 + uses the Library", as object code and/or source code, so that the
  292 + user can modify the Library and then relink to produce a modified
  293 + executable containing the modified Library. (It is understood
  294 + that the user who changes the contents of definitions files in the
  295 + Library will not necessarily be able to recompile the application
  296 + to use the modified definitions.)
  297 +
  298 + b) Use a suitable shared library mechanism for linking with the
  299 + Library. A suitable mechanism is one that (1) uses at run time a
  300 + copy of the library already present on the user's computer system,
  301 + rather than copying library functions into the executable, and (2)
  302 + will operate properly with a modified version of the library, if
  303 + the user installs one, as long as the modified version is
  304 + interface-compatible with the version that the work was made with.
  305 +
  306 + c) Accompany the work with a written offer, valid for at
  307 + least three years, to give the same user the materials
  308 + specified in Subsection 6a, above, for a charge no more
  309 + than the cost of performing this distribution.
  310 +
  311 + d) If distribution of the work is made by offering access to copy
  312 + from a designated place, offer equivalent access to copy the above
  313 + specified materials from the same place.
  314 +
  315 + e) Verify that the user has already received a copy of these
  316 + materials or that you have already sent this user a copy.
  317 +
  318 + For an executable, the required form of the "work that uses the
  319 +Library" must include any data and utility programs needed for
  320 +reproducing the executable from it. However, as a special exception,
  321 +the materials to be distributed need not include anything that is
  322 +normally distributed (in either source or binary form) with the major
  323 +components (compiler, kernel, and so on) of the operating system on
  324 +which the executable runs, unless that component itself accompanies
  325 +the executable.
  326 +
  327 + It may happen that this requirement contradicts the license
  328 +restrictions of other proprietary libraries that do not normally
  329 +accompany the operating system. Such a contradiction means you cannot
  330 +use both them and the Library together in an executable that you
  331 +distribute.
  332 +
  333 + 7. You may place library facilities that are a work based on the
  334 +Library side-by-side in a single library together with other library
  335 +facilities not covered by this License, and distribute such a combined
  336 +library, provided that the separate distribution of the work based on
  337 +the Library and of the other library facilities is otherwise
  338 +permitted, and provided that you do these two things:
  339 +
  340 + a) Accompany the combined library with a copy of the same work
  341 + based on the Library, uncombined with any other library
  342 + facilities. This must be distributed under the terms of the
  343 + Sections above.
  344 +
  345 + b) Give prominent notice with the combined library of the fact
  346 + that part of it is a work based on the Library, and explaining
  347 + where to find the accompanying uncombined form of the same work.
  348 +
  349 + 8. You may not copy, modify, sublicense, link with, or distribute
  350 +the Library except as expressly provided under this License. Any
  351 +attempt otherwise to copy, modify, sublicense, link with, or
  352 +distribute the Library is void, and will automatically terminate your
  353 +rights under this License. However, parties who have received copies,
  354 +or rights, from you under this License will not have their licenses
  355 +terminated so long as such parties remain in full compliance.
  356 +
  357 + 9. You are not required to accept this License, since you have not
  358 +signed it. However, nothing else grants you permission to modify or
  359 +distribute the Library or its derivative works. These actions are
  360 +prohibited by law if you do not accept this License. Therefore, by
  361 +modifying or distributing the Library (or any work based on the
  362 +Library), you indicate your acceptance of this License to do so, and
  363 +all its terms and conditions for copying, distributing or modifying
  364 +the Library or works based on it.
  365 +
  366 + 10. Each time you redistribute the Library (or any work based on the
  367 +Library), the recipient automatically receives a license from the
  368 +original licensor to copy, distribute, link with or modify the Library
  369 +subject to these terms and conditions. You may not impose any further
  370 +restrictions on the recipients' exercise of the rights granted herein.
  371 +You are not responsible for enforcing compliance by third parties with
  372 +this License.
  373 +
  374 + 11. If, as a consequence of a court judgment or allegation of patent
  375 +infringement or for any other reason (not limited to patent issues),
  376 +conditions are imposed on you (whether by court order, agreement or
  377 +otherwise) that contradict the conditions of this License, they do not
  378 +excuse you from the conditions of this License. If you cannot
  379 +distribute so as to satisfy simultaneously your obligations under this
  380 +License and any other pertinent obligations, then as a consequence you
  381 +may not distribute the Library at all. For example, if a patent
  382 +license would not permit royalty-free redistribution of the Library by
  383 +all those who receive copies directly or indirectly through you, then
  384 +the only way you could satisfy both it and this License would be to
  385 +refrain entirely from distribution of the Library.
  386 +
  387 +If any portion of this section is held invalid or unenforceable under any
  388 +particular circumstance, the balance of the section is intended to apply,
  389 +and the section as a whole is intended to apply in other circumstances.
  390 +
  391 +It is not the purpose of this section to induce you to infringe any
  392 +patents or other property right claims or to contest validity of any
  393 +such claims; this section has the sole purpose of protecting the
  394 +integrity of the free software distribution system which is
  395 +implemented by public license practices. Many people have made
  396 +generous contributions to the wide range of software distributed
  397 +through that system in reliance on consistent application of that
  398 +system; it is up to the author/donor to decide if he or she is willing
  399 +to distribute software through any other system and a licensee cannot
  400 +impose that choice.
  401 +
  402 +This section is intended to make thoroughly clear what is believed to
  403 +be a consequence of the rest of this License.
  404 +
  405 + 12. If the distribution and/or use of the Library is restricted in
  406 +certain countries either by patents or by copyrighted interfaces, the
  407 +original copyright holder who places the Library under this License may add
  408 +an explicit geographical distribution limitation excluding those countries,
  409 +so that distribution is permitted only in or among countries not thus
  410 +excluded. In such case, this License incorporates the limitation as if
  411 +written in the body of this License.
  412 +
  413 + 13. The Free Software Foundation may publish revised and/or new
  414 +versions of the Lesser General Public License from time to time.
  415 +Such new versions will be similar in spirit to the present version,
  416 +but may differ in detail to address new problems or concerns.
  417 +
  418 +Each version is given a distinguishing version number. If the Library
  419 +specifies a version number of this License which applies to it and
  420 +"any later version", you have the option of following the terms and
  421 +conditions either of that version or of any later version published by
  422 +the Free Software Foundation. If the Library does not specify a
  423 +license version number, you may choose any version ever published by
  424 +the Free Software Foundation.
  425 +
  426 + 14. If you wish to incorporate parts of the Library into other free
  427 +programs whose distribution conditions are incompatible with these,
  428 +write to the author to ask for permission. For software which is
  429 +copyrighted by the Free Software Foundation, write to the Free
  430 +Software Foundation; we sometimes make exceptions for this. Our
  431 +decision will be guided by the two goals of preserving the free status
  432 +of all derivatives of our free software and of promoting the sharing
  433 +and reuse of software generally.
  434 +
  435 + NO WARRANTY
  436 +
  437 + 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
  438 +WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
  439 +EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
  440 +OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
  441 +KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
  442 +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
  443 +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
  444 +LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
  445 +THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
  446 +
  447 + 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
  448 +WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
  449 +AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
  450 +FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
  451 +CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
  452 +LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
  453 +RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
  454 +FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
  455 +SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
  456 +DAMAGES.
  457 +
  458 + END OF TERMS AND CONDITIONS
  459 +
  460 + How to Apply These Terms to Your New Libraries
  461 +
  462 + If you develop a new library, and you want it to be of the greatest
  463 +possible use to the public, we recommend making it free software that
  464 +everyone can redistribute and change. You can do so by permitting
  465 +redistribution under these terms (or, alternatively, under the terms of the
  466 +ordinary General Public License).
  467 +
  468 + To apply these terms, attach the following notices to the library. It is
  469 +safest to attach them to the start of each source file to most effectively
  470 +convey the exclusion of warranty; and each file should have at least the
  471 +"copyright" line and a pointer to where the full notice is found.
  472 +
  473 + <one line to give the library's name and a brief idea of what it does.>
  474 + Copyright (C) <year> <name of author>
  475 +
  476 + This library is free software; you can redistribute it and/or
  477 + modify it under the terms of the GNU Lesser General Public
  478 + License as published by the Free Software Foundation; either
  479 + version 2.1 of the License, or (at your option) any later version.
  480 +
  481 + This library is distributed in the hope that it will be useful,
  482 + but WITHOUT ANY WARRANTY; without even the implied warranty of
  483 + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  484 + Lesser General Public License for more details.
  485 +
  486 + You should have received a copy of the GNU Lesser General Public
  487 + License along with this library; if not, write to the Free Software
  488 + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  489 +
  490 +Also add information on how to contact you by electronic and paper mail.
  491 +
  492 +You should also get your employer (if you work as a programmer) or your
  493 +school, if any, to sign a "copyright disclaimer" for the library, if
  494 +necessary. Here is a sample; alter the names:
  495 +
  496 + Yoyodyne, Inc., hereby disclaims all copyright interest in the
  497 + library `Frob' (a library for tweaking knobs) written by James Random Hacker.
  498 +
  499 + <signature of Ty Coon>, 1 April 1990
  500 + Ty Coon, President of Vice
  501 +
  502 +That's all there is to it!
  1 +![PHPMailer](https://raw.github.com/PHPMailer/PHPMailer/master/examples/images/phpmailer.png)
  2 +
  3 +# PHPMailer - A full-featured email creation and transfer class for PHP
  4 +
  5 +Build status: [![Build Status](https://travis-ci.org/PHPMailer/PHPMailer.svg)](https://travis-ci.org/PHPMailer/PHPMailer)
  6 +[![Scrutinizer Quality Score](https://scrutinizer-ci.com/g/PHPMailer/PHPMailer/badges/quality-score.png?s=3758e21d279becdf847a557a56a3ed16dfec9d5d)](https://scrutinizer-ci.com/g/PHPMailer/PHPMailer/)
  7 +[![Code Coverage](https://scrutinizer-ci.com/g/PHPMailer/PHPMailer/badges/coverage.png?s=3fe6ca5fe8cd2cdf96285756e42932f7ca256962)](https://scrutinizer-ci.com/g/PHPMailer/PHPMailer/)
  8 +
  9 +[![Latest Stable Version](https://poser.pugx.org/phpmailer/phpmailer/v/stable.svg)](https://packagist.org/packages/phpmailer/phpmailer) [![Total Downloads](https://poser.pugx.org/phpmailer/phpmailer/downloads)](https://packagist.org/packages/phpmailer/phpmailer) [![Latest Unstable Version](https://poser.pugx.org/phpmailer/phpmailer/v/unstable.svg)](https://packagist.org/packages/phpmailer/phpmailer) [![License](https://poser.pugx.org/phpmailer/phpmailer/license.svg)](https://packagist.org/packages/phpmailer/phpmailer) [![API Docs](https://github.com/phpmailer/phpmailer/workflows/Docs/badge.svg)](http://phpmailer.github.io/PHPMailer/)
  10 +
  11 +## Class Features
  12 +- Probably the world's most popular code for sending email from PHP!
  13 +- Used by many open-source projects: WordPress, Drupal, 1CRM, SugarCRM, Yii, Joomla! and many more
  14 +- Integrated SMTP support - send without a local mail server
  15 +- Send emails with multiple To, CC, BCC and Reply-to addresses
  16 +- Multipart/alternative emails for mail clients that do not read HTML email
  17 +- Add attachments, including inline
  18 +- Support for UTF-8 content and 8bit, base64, binary, and quoted-printable encodings
  19 +- SMTP authentication with LOGIN, PLAIN, CRAM-MD5, and XOAUTH2 mechanisms over SSL and SMTP+STARTTLS transports
  20 +- Validates email addresses automatically
  21 +- Protect against header injection attacks
  22 +- Error messages in over 50 languages!
  23 +- DKIM and S/MIME signing support
  24 +- Compatible with PHP 5.5 and later
  25 +- Namespaced to prevent name clashes
  26 +- Much more!
  27 +
  28 +## Why you might need it
  29 +Many PHP developers need to send email from their code. The only PHP function that supports this is [`mail()`](https://www.php.net/manual/en/function.mail.php). However, it does not provide any assistance for making use of popular features such as encryption, authentication, HTML messages, and attachments.
  30 +
  31 +Formatting email correctly is surprisingly difficult. There are myriad overlapping RFCs, requiring tight adherence to horribly complicated formatting and encoding rules – the vast majority of code that you'll find online that uses the `mail()` function directly is just plain wrong!
  32 +*Please* don't be tempted to do it yourself – if you don't use PHPMailer, there are many other excellent libraries that you should look at before rolling your own. Try [SwiftMailer](https://swiftmailer.symfony.com/), [Zend/Mail](https://zendframework.github.io/zend-mail/), [ZetaComponents](https://github.com/zetacomponents/Mail) etc.
  33 +
  34 +The PHP `mail()` function usually sends via a local mail server, typically fronted by a `sendmail` binary on Linux, BSD, and macOS platforms, however, Windows usually doesn't include a local mail server; PHPMailer's integrated SMTP implementation allows email sending on Windows platforms without a local mail server.
  35 +
  36 +## License
  37 +This software is distributed under the [LGPL 2.1](http://www.gnu.org/licenses/lgpl-2.1.html) license, along with the [GPL Cooperation Commitment](https://gplcc.github.io/gplcc/). Please read LICENSE for information on the software availability and distribution.
  38 +
  39 +## Installation & loading
  40 +PHPMailer is available on [Packagist](https://packagist.org/packages/phpmailer/phpmailer) (using semantic versioning), and installation via [Composer](https://getcomposer.org) is the recommended way to install PHPMailer. Just add this line to your `composer.json` file:
  41 +
  42 +```json
  43 +"phpmailer/phpmailer": "~6.1"
  44 +```
  45 +
  46 +or run
  47 +
  48 +```sh
  49 +composer require phpmailer/phpmailer
  50 +```
  51 +
  52 +Note that the `vendor` folder and the `vendor/autoload.php` script are generated by Composer; they are not part of PHPMailer.
  53 +
  54 +If you want to use the Gmail XOAUTH2 authentication class, you will also need to add a dependency on the `league/oauth2-client` package in your `composer.json`.
  55 +
  56 +Alternatively, if you're not using Composer, copy the contents of the PHPMailer folder into one of the `include_path` directories specified in your PHP configuration and load each class file manually:
  57 +
  58 +```php
  59 +<?php
  60 +use PHPMailer\PHPMailer\PHPMailer;
  61 +use PHPMailer\PHPMailer\Exception;
  62 +
  63 +require 'path/to/PHPMailer/src/Exception.php';
  64 +require 'path/to/PHPMailer/src/PHPMailer.php';
  65 +require 'path/to/PHPMailer/src/SMTP.php';
  66 +```
  67 +
  68 +If you're not using the `SMTP` class explicitly (you're probably not), you don't need a `use` line for the SMTP class.
  69 +
  70 +If you don't speak git or just want a tarball, click the 'zip' button on the right of the project page in GitHub, though note that docs and examples are not included in the tarball.
  71 +
  72 +## Legacy versions
  73 +PHPMailer 5.2 (which is compatible with PHP 5.0 - 7.0) is no longer being supported, even for security updates. You will find the latest version of 5.2 in the [5.2-stable branch](https://github.com/PHPMailer/PHPMailer/tree/5.2-stable). If you're using PHP 5.5 or later (which you should be), switch to the 6.x releases.
  74 +
  75 +### Upgrading from 5.2
  76 +The biggest changes are that source files are now in the `src/` folder, and PHPMailer now declares the namespace `PHPMailer\PHPMailer`. This has several important effects – [read the upgrade guide](https://github.com/PHPMailer/PHPMailer/tree/master/UPGRADING.md) for more details.
  77 +
  78 +### Minimal installation
  79 +While installing the entire package manually or with Composer is simple, convenient, and reliable, you may want to include only vital files in your project. At the very least you will need [src/PHPMailer.php](https://github.com/PHPMailer/PHPMailer/tree/master/src/PHPMailer.php). If you're using SMTP, you'll need [src/SMTP.php](https://github.com/PHPMailer/PHPMailer/tree/master/src/SMTP.php), and if you're using POP-before SMTP, you'll need [src/POP3.php](https://github.com/PHPMailer/PHPMailer/tree/master/src/POP3.php). You can skip the [language](https://github.com/PHPMailer/PHPMailer/tree/master/language/) folder if you're not showing errors to users and can make do with English-only errors. If you're using XOAUTH2 you will need [src/OAuth.php](https://github.com/PHPMailer/PHPMailer/tree/master/src/OAuth.php) as well as the Composer dependencies for the services you wish to authenticate with. Really, it's much easier to use Composer!
  80 +
  81 +## A Simple Example
  82 +
  83 +```php
  84 +<?php
  85 +// Import PHPMailer classes into the global namespace
  86 +// These must be at the top of your script, not inside a function
  87 +use PHPMailer\PHPMailer\PHPMailer;
  88 +use PHPMailer\PHPMailer\SMTP;
  89 +use PHPMailer\PHPMailer\Exception;
  90 +
  91 +// Load Composer's autoloader
  92 +require 'vendor/autoload.php';
  93 +
  94 +// Instantiation and passing `true` enables exceptions
  95 +$mail = new PHPMailer(true);
  96 +
  97 +try {
  98 + //Server settings
  99 + $mail->SMTPDebug = SMTP::DEBUG_SERVER; // Enable verbose debug output
  100 + $mail->isSMTP(); // Send using SMTP
  101 + $mail->Host = 'smtp1.example.com'; // Set the SMTP server to send through
  102 + $mail->SMTPAuth = true; // Enable SMTP authentication
  103 + $mail->Username = 'user@example.com'; // SMTP username
  104 + $mail->Password = 'secret'; // SMTP password
  105 + $mail->SMTPSecure = PHPMailer::ENCRYPTION_STARTTLS; // Enable TLS encryption; `PHPMailer::ENCRYPTION_SMTPS` encouraged
  106 + $mail->Port = 587; // TCP port to connect to, use 465 for `PHPMailer::ENCRYPTION_SMTPS` above
  107 +
  108 + //Recipients
  109 + $mail->setFrom('from@example.com', 'Mailer');
  110 + $mail->addAddress('joe@example.net', 'Joe User'); // Add a recipient
  111 + $mail->addAddress('ellen@example.com'); // Name is optional
  112 + $mail->addReplyTo('info@example.com', 'Information');
  113 + $mail->addCC('cc@example.com');
  114 + $mail->addBCC('bcc@example.com');
  115 +
  116 + // Attachments
  117 + $mail->addAttachment('/var/tmp/file.tar.gz'); // Add attachments
  118 + $mail->addAttachment('/tmp/image.jpg', 'new.jpg'); // Optional name
  119 +
  120 + // Content
  121 + $mail->isHTML(true); // Set email format to HTML
  122 + $mail->Subject = 'Here is the subject';
  123 + $mail->Body = 'This is the HTML message body <b>in bold!</b>';
  124 + $mail->AltBody = 'This is the body in plain text for non-HTML mail clients';
  125 +
  126 + $mail->send();
  127 + echo 'Message has been sent';
  128 +} catch (Exception $e) {
  129 + echo "Message could not be sent. Mailer Error: {$mail->ErrorInfo}";
  130 +}
  131 +```
  132 +
  133 +You'll find plenty more to play with in the [examples](https://github.com/PHPMailer/PHPMailer/tree/master/examples) folder.
  134 +
  135 +If you are re-using the instance (e.g. when sending to a mailing list), you may need to clear the recipient list to avoid sending duplicate messages. See [the mailing list example](https://github.com/PHPMailer/PHPMailer/blob/master/examples/mailing_list.phps) for further guidance.
  136 +
  137 +That's it. You should now be ready to use PHPMailer!
  138 +
  139 +## Localization
  140 +PHPMailer defaults to English, but in the [language](https://github.com/PHPMailer/PHPMailer/tree/master/language/) folder you'll find many translations for PHPMailer error messages that you may encounter. Their filenames contain [ISO 639-1](http://en.wikipedia.org/wiki/ISO_639-1) language code for the translations, for example `fr` for French. To specify a language, you need to tell PHPMailer which one to use, like this:
  141 +
  142 +```php
  143 +// To load the French version
  144 +$mail->setLanguage('fr', '/optional/path/to/language/directory/');
  145 +```
  146 +
  147 +We welcome corrections and new languages - if you're looking for corrections to do, run the [PHPMailerLangTest.php](https://github.com/PHPMailer/PHPMailer/tree/master/test/PHPMailerLangTest.php) script in the tests folder and it will show any missing translations.
  148 +
  149 +## Documentation
  150 +Start reading at the [GitHub wiki](https://github.com/PHPMailer/PHPMailer/wiki). If you're having trouble, this should be the first place you look as it's the most frequently updated.
  151 +
  152 +Examples of how to use PHPMailer for common scenarios can be found in the [examples](https://github.com/PHPMailer/PHPMailer/tree/master/examples) folder. If you're looking for a good starting point, we recommend you start with [the Gmail example](https://github.com/PHPMailer/PHPMailer/tree/master/examples/gmail.phps).
  153 +
  154 +Note that in order to reduce PHPMailer's deployed code footprint, the examples are no longer included if you load PHPMailer via Composer or via [GitHub's zip file download](https://github.com/PHPMailer/PHPMailer/archive/master.zip), so you'll need to either clone the git repository or use the above links to get to the examples directly.
  155 +
  156 +Complete generated API documentation is [available online](http://phpmailer.github.io/PHPMailer/).
  157 +
  158 +You can generate complete API-level documentation by running `phpdoc` in the top-level folder, and documentation will appear in the `docs` folder, though you'll need to have [PHPDocumentor](http://www.phpdoc.org) installed. You may find [the unit tests](https://github.com/PHPMailer/PHPMailer/blob/master/test/PHPMailerTest.php) a good source of how to do various operations such as encryption.
  159 +
  160 +If the documentation doesn't cover what you need, search the [many questions on Stack Overflow](http://stackoverflow.com/questions/tagged/phpmailer), and before you ask a question about "SMTP Error: Could not connect to SMTP host.", [read the troubleshooting guide](https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting).
  161 +
  162 +## Tests
  163 +There is a PHPUnit test script in the [test](https://github.com/PHPMailer/PHPMailer/tree/master/test/) folder. PHPMailer uses PHPUnit 4.8 - we would use 5.x but we need to run on PHP 5.5.
  164 +
  165 +Build status: [![Build Status](https://travis-ci.org/PHPMailer/PHPMailer.svg)](https://travis-ci.org/PHPMailer/PHPMailer)
  166 +
  167 +If this isn't passing, is there something you can do to help?
  168 +
  169 +## Security
  170 +Please disclose any vulnerabilities found responsibly - report any security problems found to the maintainers privately.
  171 +
  172 +PHPMailer versions prior to 5.2.22 (released January 9th 2017) have a local file disclosure vulnerability, [CVE-2017-5223](https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2017-5223). If content passed into `msgHTML()` is sourced from unfiltered user input, relative paths can map to absolute local file paths and added as attachments. Also note that `addAttachment` (just like `file_get_contents`, `passthru`, `unlink`, etc) should not be passed user-sourced params either! Reported by Yongxiang Li of Asiasecurity.
  173 +
  174 +PHPMailer versions prior to 5.2.20 (released December 28th 2016) are vulnerable to [CVE-2016-10045](https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2016-10045) a remote code execution vulnerability, responsibly reported by [Dawid Golunski](https://legalhackers.com/advisories/PHPMailer-Exploit-Remote-Code-Exec-CVE-2016-10045-Vuln-Patch-Bypass.html), and patched by Paul Buonopane (@Zenexer).
  175 +
  176 +PHPMailer versions prior to 5.2.18 (released December 2016) are vulnerable to [CVE-2016-10033](https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2016-10033) a critical remote code execution vulnerability, responsibly reported by [Dawid Golunski](http://legalhackers.com/advisories/PHPMailer-Exploit-Remote-Code-Exec-CVE-2016-10033-Vuln.html).
  177 +
  178 +See [SECURITY](https://github.com/PHPMailer/PHPMailer/tree/master/SECURITY.md) for more detail on security issues.
  179 +
  180 +## Contributing
  181 +Please submit bug reports, suggestions and pull requests to the [GitHub issue tracker](https://github.com/PHPMailer/PHPMailer/issues).
  182 +
  183 +We're particularly interested in fixing edge-cases, expanding test coverage and updating translations.
  184 +
  185 +If you found a mistake in the docs, or want to add something, go ahead and amend the wiki - anyone can edit it.
  186 +
  187 +If you have git clones from prior to the move to the PHPMailer GitHub organisation, you'll need to update any remote URLs referencing the old GitHub location with a command like this from within your clone:
  188 +
  189 +```sh
  190 +git remote set-url upstream https://github.com/PHPMailer/PHPMailer.git
  191 +```
  192 +
  193 +Please *don't* use the SourceForge or Google Code projects any more; they are obsolete and no longer maintained.
  194 +
  195 +## Sponsorship
  196 +Development time and resources for PHPMailer are provided by [Smartmessages.net](https://info.smartmessages.net/), a powerful email marketing system.
  197 +
  198 +<a href="https://info.smartmessages.net/"><img src="https://www.smartmessages.net/img/smartmessages-logo.svg" width="250" height="28" alt="Smartmessages email marketing"></a>
  199 +
  200 +Other contributions are gladly received, whether in beer 🍺, T-shirts 👕, Amazon wishlist raids, or cold, hard cash 💰. If you'd like to donate to say "thank you" to maintainers or contributors, please contact them through individual profile pages via [the contributors page](https://github.com/PHPMailer/PHPMailer/graphs/contributors).
  201 +
  202 +## Changelog
  203 +See [changelog](changelog.md).
  204 +
  205 +## History
  206 +- PHPMailer was originally written in 2001 by Brent R. Matzelle as a [SourceForge project](http://sourceforge.net/projects/phpmailer/).
  207 +- Marcus Bointon (coolbru on SF) and Andy Prevost (codeworxtech) took over the project in 2004.
  208 +- Became an Apache incubator project on Google Code in 2010, managed by Jim Jagielski.
  209 +- Marcus created his fork on [GitHub](https://github.com/Synchro/PHPMailer) in 2008.
  210 +- Jim and Marcus decide to join forces and use GitHub as the canonical and official repo for PHPMailer in 2013.
  211 +- PHPMailer moves to the [PHPMailer organisation](https://github.com/PHPMailer) on GitHub in 2013.
  212 +
  213 +### What's changed since moving from SourceForge?
  214 +- Official successor to the SourceForge and Google Code projects.
  215 +- Test suite.
  216 +- Continuous integration with Travis-CI.
  217 +- Composer support.
  218 +- Public development.
  219 +- Additional languages and language strings.
  220 +- CRAM-MD5 authentication support.
  221 +- Preserves full repo history of authors, commits and branches from the original SourceForge project.
  1 +# Security notices relating to PHPMailer
  2 +
  3 +Please disclose any vulnerabilities found responsibly - report any security problems found to the maintainers privately.
  4 +
  5 +PHPMailer versions 6.1.5 and earlier contain an output escaping bug that occurs in `Content-Type` and `Content-Disposition` when filenames passed into `addAttachment` and other methods that accept attachment names contain double quote characters, in contravention of RFC822 3.4.1. No specific vulnerability has been found relating to this, but it could allow file attachments to bypass attachment filters that are based on matching filename extensions. Recorded as [CVE-2020-13625](https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2020-13625). Reported by Elar Lang of Clarified Security.
  6 +
  7 +PHPMailer versions prior to 6.0.6 and 5.2.27 are vulnerable to an object injection attack by passing `phar://` paths into `addAttachment()` and other functions that may receive unfiltered local paths, possibly leading to RCE. Recorded as [CVE-2018-19296](https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2018-19296). See [this article](https://knasmueller.net/5-answers-about-php-phar-exploitation) for more info on this type of vulnerability. Mitigated by blocking the use of paths containing URL-protocol style prefixes such as `phar://`. Reported by Sehun Oh of cyberone.kr.
  8 +
  9 +PHPMailer versions prior to 5.2.24 (released July 26th 2017) have an XSS vulnerability in one of the code examples, [CVE-2017-11503](https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2017-11503). The `code_generator.phps` example did not filter user input prior to output. This file is distributed with a `.phps` extension, so it it not normally executable unless it is explicitly renamed, and the file is not included when PHPMailer is loaded through composer, so it is safe by default. There was also an undisclosed potential XSS vulnerability in the default exception handler (unused by default). Patches for both issues kindly provided by Patrick Monnerat of the Fedora Project.
  10 +
  11 +PHPMailer versions prior to 5.2.22 (released January 9th 2017) have a local file disclosure vulnerability, [CVE-2017-5223](https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2017-5223). If content passed into `msgHTML()` is sourced from unfiltered user input, relative paths can map to absolute local file paths and added as attachments. Also note that `addAttachment` (just like `file_get_contents`, `passthru`, `unlink`, etc) should not be passed user-sourced params either! Reported by Yongxiang Li of Asiasecurity.
  12 +
  13 +PHPMailer versions prior to 5.2.20 (released December 28th 2016) are vulnerable to [CVE-2016-10045](https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2016-10045) a remote code execution vulnerability, responsibly reported by [Dawid Golunski](https://legalhackers.com/advisories/PHPMailer-Exploit-Remote-Code-Exec-CVE-2016-10045-Vuln-Patch-Bypass.html), and patched by Paul Buonopane (@Zenexer).
  14 +
  15 +PHPMailer versions prior to 5.2.18 (released December 2016) are vulnerable to [CVE-2016-10033](https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2016-10033) a remote code execution vulnerability, responsibly reported by [Dawid Golunski](http://legalhackers.com/advisories/PHPMailer-Exploit-Remote-Code-Exec-CVE-2016-10033-Vuln.html).
  16 +
  17 +PHPMailer versions prior to 5.2.14 (released November 2015) are vulnerable to [CVE-2015-8476](https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2015-8476) an SMTP CRLF injection bug permitting arbitrary message sending.
  18 +
  19 +PHPMailer versions prior to 5.2.10 (released May 2015) are vulnerable to [CVE-2008-5619](https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2008-5619), a remote code execution vulnerability in the bundled html2text library. This file was removed in 5.2.10, so if you are using a version prior to that and make use of the html2text function, it's vitally important that you upgrade and remove this file.
  20 +
  21 +PHPMailer versions prior to 2.0.7 and 2.2.1 are vulnerable to [CVE-2012-0796](https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2012-0796), an email header injection attack.
  22 +
  23 +Joomla 1.6.0 uses PHPMailer in an unsafe way, allowing it to reveal local file paths, reported in [CVE-2011-3747](https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2011-3747).
  24 +
  25 +PHPMailer didn't sanitise the `$lang_path` parameter in `SetLanguage`. This wasn't a problem in itself, but some apps (PHPClassifieds, ATutor) also failed to sanitise user-provided parameters passed to it, permitting semi-arbitrary local file inclusion, reported in [CVE-2010-4914](https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2010-4914), [CVE-2007-2021](https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2007-2021) and [CVE-2006-5734](https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2006-5734).
  26 +
  27 +PHPMailer 1.7.2 and earlier contained a possible DDoS vulnerability reported in [CVE-2005-1807](https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2005-1807).
  28 +
  29 +PHPMailer 1.7 and earlier (June 2003) have a possible vulnerability in the `SendmailSend` method where shell commands may not be sanitised. Reported in [CVE-2007-3215](https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2007-3215).
  30 +
  1 +{
  2 + "name": "phpmailer/phpmailer",
  3 + "type": "library",
  4 + "description": "PHPMailer is a full-featured email creation and transfer class for PHP",
  5 + "authors": [
  6 + {
  7 + "name": "Marcus Bointon",
  8 + "email": "phpmailer@synchromedia.co.uk"
  9 + },
  10 + {
  11 + "name": "Jim Jagielski",
  12 + "email": "jimjag@gmail.com"
  13 + },
  14 + {
  15 + "name": "Andy Prevost",
  16 + "email": "codeworxtech@users.sourceforge.net"
  17 + },
  18 + {
  19 + "name": "Brent R. Matzelle"
  20 + }
  21 + ],
  22 + "funding": [
  23 + {
  24 + "url": "https://github.com/synchro",
  25 + "type": "github"
  26 + }
  27 + ],
  28 + "require": {
  29 + "php": ">=5.5.0",
  30 + "ext-ctype": "*",
  31 + "ext-filter": "*"
  32 + },
  33 + "require-dev": {
  34 + "friendsofphp/php-cs-fixer": "^2.2",
  35 + "phpunit/phpunit": "^4.8 || ^5.7",
  36 + "doctrine/annotations": "^1.2"
  37 + },
  38 + "suggest": {
  39 + "psr/log": "For optional PSR-3 debug logging",
  40 + "league/oauth2-google": "Needed for Google XOAUTH2 authentication",
  41 + "hayageek/oauth2-yahoo": "Needed for Yahoo XOAUTH2 authentication",
  42 + "stevenmaguire/oauth2-microsoft": "Needed for Microsoft XOAUTH2 authentication",
  43 + "ext-mbstring": "Needed to send email in multibyte encoding charset",
  44 + "symfony/polyfill-mbstring": "To support UTF-8 if the Mbstring PHP extension is not enabled (^1.2)"
  45 + },
  46 + "autoload": {
  47 + "psr-4": {
  48 + "PHPMailer\\PHPMailer\\": "src/"
  49 + }
  50 + },
  51 + "autoload-dev": {
  52 + "psr-4": {
  53 + "PHPMailer\\Test\\": "test/"
  54 + }
  55 + },
  56 + "license": "LGPL-2.1-only"
  57 +}
  1 +<?php
  2 +/**
  3 + * PHPMailer - PHP email creation and transport class.
  4 + * PHP Version 5.5
  5 + * @package PHPMailer
  6 + * @see https://github.com/PHPMailer/PHPMailer/ The PHPMailer GitHub project
  7 + * @author Marcus Bointon (Synchro/coolbru) <phpmailer@synchromedia.co.uk>
  8 + * @author Jim Jagielski (jimjag) <jimjag@gmail.com>
  9 + * @author Andy Prevost (codeworxtech) <codeworxtech@users.sourceforge.net>
  10 + * @author Brent R. Matzelle (original founder)
  11 + * @copyright 2012 - 2017 Marcus Bointon
  12 + * @copyright 2010 - 2012 Jim Jagielski
  13 + * @copyright 2004 - 2009 Andy Prevost
  14 + * @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License
  15 + * @note This program is distributed in the hope that it will be useful - WITHOUT
  16 + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  17 + * FITNESS FOR A PARTICULAR PURPOSE.
  18 + */
  19 +/**
  20 + * Get an OAuth2 token from an OAuth2 provider.
  21 + * * Install this script on your server so that it's accessible
  22 + * as [https/http]://<yourdomain>/<folder>/get_oauth_token.php
  23 + * e.g.: http://localhost/phpmailer/get_oauth_token.php
  24 + * * Ensure dependencies are installed with 'composer install'
  25 + * * Set up an app in your Google/Yahoo/Microsoft account
  26 + * * Set the script address as the app's redirect URL
  27 + * If no refresh token is obtained when running this file,
  28 + * revoke access to your app and run the script again.
  29 + */
  30 +
  31 +namespace PHPMailer\PHPMailer;
  32 +
  33 +/**
  34 + * Aliases for League Provider Classes
  35 + * Make sure you have added these to your composer.json and run `composer install`
  36 + * Plenty to choose from here:
  37 + * @see http://oauth2-client.thephpleague.com/providers/thirdparty/
  38 + */
  39 +// @see https://github.com/thephpleague/oauth2-google
  40 +use League\OAuth2\Client\Provider\Google;
  41 +// @see https://packagist.org/packages/hayageek/oauth2-yahoo
  42 +use Hayageek\OAuth2\Client\Provider\Yahoo;
  43 +// @see https://github.com/stevenmaguire/oauth2-microsoft
  44 +use Stevenmaguire\OAuth2\Client\Provider\Microsoft;
  45 +
  46 +if (!isset($_GET['code']) && !isset($_GET['provider'])) {
  47 +?>
  48 +<html>
  49 +<body>Select Provider:<br/>
  50 +<a href='?provider=Google'>Google</a><br/>
  51 +<a href='?provider=Yahoo'>Yahoo</a><br/>
  52 +<a href='?provider=Microsoft'>Microsoft/Outlook/Hotmail/Live/Office365</a><br/>
  53 +</body>
  54 +</html>
  55 +<?php
  56 +exit;
  57 +}
  58 +
  59 +require 'vendor/autoload.php';
  60 +
  61 +session_start();
  62 +
  63 +$providerName = '';
  64 +
  65 +if (array_key_exists('provider', $_GET)) {
  66 + $providerName = $_GET['provider'];
  67 + $_SESSION['provider'] = $providerName;
  68 +} elseif (array_key_exists('provider', $_SESSION)) {
  69 + $providerName = $_SESSION['provider'];
  70 +}
  71 +if (!in_array($providerName, ['Google', 'Microsoft', 'Yahoo'])) {
  72 + exit('Only Google, Microsoft and Yahoo OAuth2 providers are currently supported in this script.');
  73 +}
  74 +
  75 +//These details are obtained by setting up an app in the Google developer console,
  76 +//or whichever provider you're using.
  77 +$clientId = 'RANDOMCHARS-----duv1n2.apps.googleusercontent.com';
  78 +$clientSecret = 'RANDOMCHARS-----lGyjPcRtvP';
  79 +
  80 +//If this automatic URL doesn't work, set it yourself manually to the URL of this script
  81 +$redirectUri = (isset($_SERVER['HTTPS']) ? 'https://' : 'http://') . $_SERVER['HTTP_HOST'] . $_SERVER['PHP_SELF'];
  82 +//$redirectUri = 'http://localhost/PHPMailer/redirect';
  83 +
  84 +$params = [
  85 + 'clientId' => $clientId,
  86 + 'clientSecret' => $clientSecret,
  87 + 'redirectUri' => $redirectUri,
  88 + 'accessType' => 'offline'
  89 +];
  90 +
  91 +$options = [];
  92 +$provider = null;
  93 +
  94 +switch ($providerName) {
  95 + case 'Google':
  96 + $provider = new Google($params);
  97 + $options = [
  98 + 'scope' => [
  99 + 'https://mail.google.com/'
  100 + ]
  101 + ];
  102 + break;
  103 + case 'Yahoo':
  104 + $provider = new Yahoo($params);
  105 + break;
  106 + case 'Microsoft':
  107 + $provider = new Microsoft($params);
  108 + $options = [
  109 + 'scope' => [
  110 + 'wl.imap',
  111 + 'wl.offline_access'
  112 + ]
  113 + ];
  114 + break;
  115 +}
  116 +
  117 +if (null === $provider) {
  118 + exit('Provider missing');
  119 +}
  120 +
  121 +if (!isset($_GET['code'])) {
  122 + // If we don't have an authorization code then get one
  123 + $authUrl = $provider->getAuthorizationUrl($options);
  124 + $_SESSION['oauth2state'] = $provider->getState();
  125 + header('Location: ' . $authUrl);
  126 + exit;
  127 +// Check given state against previously stored one to mitigate CSRF attack
  128 +} elseif (empty($_GET['state']) || ($_GET['state'] !== $_SESSION['oauth2state'])) {
  129 + unset($_SESSION['oauth2state']);
  130 + unset($_SESSION['provider']);
  131 + exit('Invalid state');
  132 +} else {
  133 + unset($_SESSION['provider']);
  134 + // Try to get an access token (using the authorization code grant)
  135 + $token = $provider->getAccessToken(
  136 + 'authorization_code',
  137 + [
  138 + 'code' => $_GET['code']
  139 + ]
  140 + );
  141 + // Use this to interact with an API on the users behalf
  142 + // Use this to get a new access token if the old one expires
  143 + echo 'Refresh Token: ', $token->getRefreshToken();
  144 +}
  1 +<?php
  2 +/**
  3 + * Afrikaans PHPMailer language file: refer to English translation for definitive list
  4 + * @package PHPMailer
  5 + */
  6 +
  7 +$PHPMAILER_LANG['authenticate'] = 'SMTP-fout: kon nie geverifieer word nie.';
  8 +$PHPMAILER_LANG['connect_host'] = 'SMTP-fout: kon nie aan SMTP-verbind nie.';
  9 +$PHPMAILER_LANG['data_not_accepted'] = 'SMTP-fout: data nie aanvaar nie.';
  10 +$PHPMAILER_LANG['empty_message'] = 'Boodskapliggaam leeg.';
  11 +$PHPMAILER_LANG['encoding'] = 'Onbekende kodering: ';
  12 +$PHPMAILER_LANG['execute'] = 'Kon nie uitvoer nie: ';
  13 +$PHPMAILER_LANG['file_access'] = 'Kon nie lêer oopmaak nie: ';
  14 +$PHPMAILER_LANG['file_open'] = 'Lêerfout: Kon nie lêer oopmaak nie: ';
  15 +$PHPMAILER_LANG['from_failed'] = 'Die volgende Van adres misluk: ';
  16 +$PHPMAILER_LANG['instantiate'] = 'Kon nie posfunksie instansieer nie.';
  17 +$PHPMAILER_LANG['invalid_address'] = 'Ongeldige adres: ';
  18 +$PHPMAILER_LANG['mailer_not_supported'] = ' mailer word nie ondersteun nie.';
  19 +$PHPMAILER_LANG['provide_address'] = 'U moet ten minste een ontvanger e-pos adres verskaf.';
  20 +$PHPMAILER_LANG['recipients_failed'] = 'SMTP-fout: Die volgende ontvangers het misluk: ';
  21 +$PHPMAILER_LANG['signing'] = 'Ondertekening Fout: ';
  22 +$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP-verbinding () misluk.';
  23 +$PHPMAILER_LANG['smtp_error'] = 'SMTP-bediener fout: ';
  24 +$PHPMAILER_LANG['variable_set'] = 'Kan nie veranderlike instel of herstel nie: ';
  25 +$PHPMAILER_LANG['extension_missing'] = 'Uitbreiding ontbreek: ';
  1 +<?php
  2 +/**
  3 + * Arabic PHPMailer language file: refer to English translation for definitive list
  4 + * @package PHPMailer
  5 + * @author bahjat al mostafa <bahjat983@hotmail.com>
  6 + */
  7 +
  8 +$PHPMAILER_LANG['authenticate'] = 'خطأ SMTP : لا يمكن تأكيد الهوية.';
  9 +$PHPMAILER_LANG['connect_host'] = 'خطأ SMTP: لا يمكن الاتصال بالخادم SMTP.';
  10 +$PHPMAILER_LANG['data_not_accepted'] = 'خطأ SMTP: لم يتم قبول المعلومات .';
  11 +$PHPMAILER_LANG['empty_message'] = 'نص الرسالة فارغ';
  12 +$PHPMAILER_LANG['encoding'] = 'ترميز غير معروف: ';
  13 +$PHPMAILER_LANG['execute'] = 'لا يمكن تنفيذ : ';
  14 +$PHPMAILER_LANG['file_access'] = 'لا يمكن الوصول للملف: ';
  15 +$PHPMAILER_LANG['file_open'] = 'خطأ في الملف: لا يمكن فتحه: ';
  16 +$PHPMAILER_LANG['from_failed'] = 'خطأ على مستوى عنوان المرسل : ';
  17 +$PHPMAILER_LANG['instantiate'] = 'لا يمكن توفير خدمة البريد.';
  18 +$PHPMAILER_LANG['invalid_address'] = 'الإرسال غير ممكن لأن عنوان البريد الإلكتروني غير صالح: ';
  19 +$PHPMAILER_LANG['mailer_not_supported'] = ' برنامج الإرسال غير مدعوم.';
  20 +$PHPMAILER_LANG['provide_address'] = 'يجب توفير عنوان البريد الإلكتروني لمستلم واحد على الأقل.';
  21 +$PHPMAILER_LANG['recipients_failed'] = 'خطأ SMTP: الأخطاء التالية ' .
  22 + 'فشل في الارسال لكل من : ';
  23 +$PHPMAILER_LANG['signing'] = 'خطأ في التوقيع: ';
  24 +$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() غير ممكن.';
  25 +$PHPMAILER_LANG['smtp_error'] = 'خطأ على مستوى الخادم SMTP: ';
  26 +$PHPMAILER_LANG['variable_set'] = 'لا يمكن تعيين أو إعادة تعيين متغير: ';
  27 +$PHPMAILER_LANG['extension_missing'] = 'الإضافة غير موجودة: ';
  1 +<?php
  2 +/**
  3 + * Azerbaijani PHPMailer language file: refer to English translation for definitive list
  4 + * @package PHPMailer
  5 + * @author @mirjalal
  6 + */
  7 +
  8 +$PHPMAILER_LANG['authenticate'] = 'SMTP xətası: Giriş uğursuz oldu.';
  9 +$PHPMAILER_LANG['connect_host'] = 'SMTP xətası: SMTP serverinə qoşulma uğursuz oldu.';
  10 +$PHPMAILER_LANG['data_not_accepted'] = 'SMTP xətası: Verilənlər qəbul edilməyib.';
  11 +$PHPMAILER_LANG['empty_message'] = 'Boş mesaj göndərilə bilməz.';
  12 +$PHPMAILER_LANG['encoding'] = 'Qeyri-müəyyən kodlaşdırma: ';
  13 +$PHPMAILER_LANG['execute'] = 'Əmr yerinə yetirilmədi: ';
  14 +$PHPMAILER_LANG['file_access'] = 'Fayla giriş yoxdur: ';
  15 +$PHPMAILER_LANG['file_open'] = 'Fayl xətası: Fayl açıla bilmədi: ';
  16 +$PHPMAILER_LANG['from_failed'] = 'Göstərilən poçtlara göndərmə uğursuz oldu: ';
  17 +$PHPMAILER_LANG['instantiate'] = 'Mail funksiyası işə salına bilmədi.';
  18 +$PHPMAILER_LANG['invalid_address'] = 'Düzgün olmayan e-mail adresi: ';
  19 +$PHPMAILER_LANG['mailer_not_supported'] = ' - e-mail kitabxanası dəstəklənmir.';
  20 +$PHPMAILER_LANG['provide_address'] = 'Ən azı bir e-mail adresi daxil edilməlidir.';
  21 +$PHPMAILER_LANG['recipients_failed'] = 'SMTP xətası: Aşağıdakı ünvanlar üzrə alıcılara göndərmə uğursuzdur: ';
  22 +$PHPMAILER_LANG['signing'] = 'İmzalama xətası: ';
  23 +$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP serverinə qoşulma uğursuz oldu.';
  24 +$PHPMAILER_LANG['smtp_error'] = 'SMTP serveri xətası: ';
  25 +$PHPMAILER_LANG['variable_set'] = 'Dəyişənin quraşdırılması uğursuz oldu: ';
  26 +//$PHPMAILER_LANG['extension_missing'] = 'Extension missing: ';
  1 +<?php
  2 +/**
  3 + * Bosnian PHPMailer language file: refer to English translation for definitive list
  4 + * @package PHPMailer
  5 + * @author Ermin Islamagić <ermin@islamagic.com>
  6 + */
  7 +
  8 +$PHPMAILER_LANG['authenticate'] = 'SMTP Greška: Neuspjela prijava.';
  9 +$PHPMAILER_LANG['connect_host'] = 'SMTP Greška: Nije moguće spojiti se sa SMTP serverom.';
  10 +$PHPMAILER_LANG['data_not_accepted'] = 'SMTP Greška: Podatci nisu prihvaćeni.';
  11 +$PHPMAILER_LANG['empty_message'] = 'Sadržaj poruke je prazan.';
  12 +$PHPMAILER_LANG['encoding'] = 'Nepoznata kriptografija: ';
  13 +$PHPMAILER_LANG['execute'] = 'Nije moguće izvršiti naredbu: ';
  14 +$PHPMAILER_LANG['file_access'] = 'Nije moguće pristupiti datoteci: ';
  15 +$PHPMAILER_LANG['file_open'] = 'Nije moguće otvoriti datoteku: ';
  16 +$PHPMAILER_LANG['from_failed'] = 'SMTP Greška: Slanje sa navedenih e-mail adresa nije uspjelo: ';
  17 +$PHPMAILER_LANG['recipients_failed'] = 'SMTP Greška: Slanje na navedene e-mail adrese nije uspjelo: ';
  18 +$PHPMAILER_LANG['instantiate'] = 'Ne mogu pokrenuti mail funkcionalnost.';
  19 +$PHPMAILER_LANG['invalid_address'] = 'E-mail nije poslan. Neispravna e-mail adresa: ';
  20 +$PHPMAILER_LANG['mailer_not_supported'] = ' mailer nije podržan.';
  21 +$PHPMAILER_LANG['provide_address'] = 'Definišite barem jednu adresu primaoca.';
  22 +$PHPMAILER_LANG['signing'] = 'Greška prilikom prijave: ';
  23 +$PHPMAILER_LANG['smtp_connect_failed'] = 'Spajanje na SMTP server nije uspjelo.';
  24 +$PHPMAILER_LANG['smtp_error'] = 'SMTP greška: ';
  25 +$PHPMAILER_LANG['variable_set'] = 'Nije moguće postaviti varijablu ili je vratiti nazad: ';
  26 +$PHPMAILER_LANG['extension_missing'] = 'Nedostaje ekstenzija: ';
  1 +<?php
  2 +/**
  3 + * Belarusian PHPMailer language file: refer to English translation for definitive list
  4 + * @package PHPMailer
  5 + * @author Aleksander Maksymiuk <info@setpro.pl>
  6 + */
  7 +
  8 +$PHPMAILER_LANG['authenticate'] = 'Памылка SMTP: памылка ідэнтыфікацыі.';
  9 +$PHPMAILER_LANG['connect_host'] = 'Памылка SMTP: нельга ўстанавіць сувязь з SMTP-серверам.';
  10 +$PHPMAILER_LANG['data_not_accepted'] = 'Памылка SMTP: звесткі непрынятыя.';
  11 +$PHPMAILER_LANG['empty_message'] = 'Пустое паведамленне.';
  12 +$PHPMAILER_LANG['encoding'] = 'Невядомая кадыроўка тэксту: ';
  13 +$PHPMAILER_LANG['execute'] = 'Нельга выканаць каманду: ';
  14 +$PHPMAILER_LANG['file_access'] = 'Няма доступу да файла: ';
  15 +$PHPMAILER_LANG['file_open'] = 'Нельга адкрыць файл: ';
  16 +$PHPMAILER_LANG['from_failed'] = 'Няправільны адрас адпраўніка: ';
  17 +$PHPMAILER_LANG['instantiate'] = 'Нельга прымяніць функцыю mail().';
  18 +$PHPMAILER_LANG['invalid_address'] = 'Нельга даслаць паведамленне, няправільны email атрымальніка: ';
  19 +$PHPMAILER_LANG['provide_address'] = 'Запоўніце, калі ласка, правільны email атрымальніка.';
  20 +$PHPMAILER_LANG['mailer_not_supported'] = ' - паштовы сервер не падтрымліваецца.';
  21 +$PHPMAILER_LANG['recipients_failed'] = 'Памылка SMTP: няправільныя атрымальнікі: ';
  22 +$PHPMAILER_LANG['signing'] = 'Памылка подпісу паведамлення: ';
  23 +$PHPMAILER_LANG['smtp_connect_failed'] = 'Памылка сувязі з SMTP-серверам.';
  24 +$PHPMAILER_LANG['smtp_error'] = 'Памылка SMTP: ';
  25 +$PHPMAILER_LANG['variable_set'] = 'Нельга ўстанавіць або перамяніць значэнне пераменнай: ';
  26 +//$PHPMAILER_LANG['extension_missing'] = 'Extension missing: ';
  1 +<?php
  2 +/**
  3 + * Bulgarian PHPMailer language file: refer to English translation for definitive list
  4 + * @package PHPMailer
  5 + * @author Mikhail Kyosev <mialygk@gmail.com>
  6 + */
  7 +
  8 +$PHPMAILER_LANG['authenticate'] = 'SMTP грешка: Не може да се удостовери пред сървъра.';
  9 +$PHPMAILER_LANG['connect_host'] = 'SMTP грешка: Не може да се свърже с SMTP хоста.';
  10 +$PHPMAILER_LANG['data_not_accepted'] = 'SMTP грешка: данните не са приети.';
  11 +$PHPMAILER_LANG['empty_message'] = 'Съдържанието на съобщението е празно';
  12 +$PHPMAILER_LANG['encoding'] = 'Неизвестно кодиране: ';
  13 +$PHPMAILER_LANG['execute'] = 'Не може да се изпълни: ';
  14 +$PHPMAILER_LANG['file_access'] = 'Няма достъп до файл: ';
  15 +$PHPMAILER_LANG['file_open'] = 'Файлова грешка: Не може да се отвори файл: ';
  16 +$PHPMAILER_LANG['from_failed'] = 'Следните адреси за подател са невалидни: ';
  17 +$PHPMAILER_LANG['instantiate'] = 'Не може да се инстанцира функцията mail.';
  18 +$PHPMAILER_LANG['invalid_address'] = 'Невалиден адрес: ';
  19 +$PHPMAILER_LANG['mailer_not_supported'] = ' - пощенски сървър не се поддържа.';
  20 +$PHPMAILER_LANG['provide_address'] = 'Трябва да предоставите поне един email адрес за получател.';
  21 +$PHPMAILER_LANG['recipients_failed'] = 'SMTP грешка: Следните адреси за Получател са невалидни: ';
  22 +$PHPMAILER_LANG['signing'] = 'Грешка при подписване: ';
  23 +$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP провален connect().';
  24 +$PHPMAILER_LANG['smtp_error'] = 'SMTP сървърна грешка: ';
  25 +$PHPMAILER_LANG['variable_set'] = 'Не може да се установи или възстанови променлива: ';
  26 +$PHPMAILER_LANG['extension_missing'] = 'Липсва разширение: ';
  1 +<?php
  2 +/**
  3 + * Catalan PHPMailer language file: refer to English translation for definitive list
  4 + * @package PHPMailer
  5 + * @author Ivan <web AT microstudi DOT com>
  6 + */
  7 +
  8 +$PHPMAILER_LANG['authenticate'] = 'Error SMTP: No s’ha pogut autenticar.';
  9 +$PHPMAILER_LANG['connect_host'] = 'Error SMTP: No es pot connectar al servidor SMTP.';
  10 +$PHPMAILER_LANG['data_not_accepted'] = 'Error SMTP: Dades no acceptades.';
  11 +$PHPMAILER_LANG['empty_message'] = 'El cos del missatge està buit.';
  12 +$PHPMAILER_LANG['encoding'] = 'Codificació desconeguda: ';
  13 +$PHPMAILER_LANG['execute'] = 'No es pot executar: ';
  14 +$PHPMAILER_LANG['file_access'] = 'No es pot accedir a l’arxiu: ';
  15 +$PHPMAILER_LANG['file_open'] = 'Error d’Arxiu: No es pot obrir l’arxiu: ';
  16 +$PHPMAILER_LANG['from_failed'] = 'La(s) següent(s) adreces de remitent han fallat: ';
  17 +$PHPMAILER_LANG['instantiate'] = 'No s’ha pogut crear una instància de la funció Mail.';
  18 +$PHPMAILER_LANG['invalid_address'] = 'Adreça d’email invalida: ';
  19 +$PHPMAILER_LANG['mailer_not_supported'] = ' mailer no està suportat';
  20 +$PHPMAILER_LANG['provide_address'] = 'S’ha de proveir almenys una adreça d’email com a destinatari.';
  21 +$PHPMAILER_LANG['recipients_failed'] = 'Error SMTP: Els següents destinataris han fallat: ';
  22 +$PHPMAILER_LANG['signing'] = 'Error al signar: ';
  23 +$PHPMAILER_LANG['smtp_connect_failed'] = 'Ha fallat el SMTP Connect().';
  24 +$PHPMAILER_LANG['smtp_error'] = 'Error del servidor SMTP: ';
  25 +$PHPMAILER_LANG['variable_set'] = 'No s’ha pogut establir o restablir la variable: ';
  26 +//$PHPMAILER_LANG['extension_missing'] = 'Extension missing: ';
  1 +<?php
  2 +/**
  3 + * Chinese PHPMailer language file: refer to English translation for definitive list
  4 + * @package PHPMailer
  5 + * @author LiuXin <http://www.80x86.cn/blog/>
  6 + */
  7 +
  8 +$PHPMAILER_LANG['authenticate'] = 'SMTP 错误:身份验证失败。';
  9 +$PHPMAILER_LANG['connect_host'] = 'SMTP 错误: 不能连接SMTP主机。';
  10 +$PHPMAILER_LANG['data_not_accepted'] = 'SMTP 错误: 数据不可接受。';
  11 +//$PHPMAILER_LANG['empty_message'] = 'Message body empty';
  12 +$PHPMAILER_LANG['encoding'] = '未知编码:';
  13 +$PHPMAILER_LANG['execute'] = '不能执行: ';
  14 +$PHPMAILER_LANG['file_access'] = '不能访问文件:';
  15 +$PHPMAILER_LANG['file_open'] = '文件错误:不能打开文件:';
  16 +$PHPMAILER_LANG['from_failed'] = '下面的发送地址邮件发送失败了: ';
  17 +$PHPMAILER_LANG['instantiate'] = '不能实现mail方法。';
  18 +//$PHPMAILER_LANG['invalid_address'] = 'Invalid address: ';
  19 +$PHPMAILER_LANG['mailer_not_supported'] = ' 您所选择的发送邮件的方法并不支持。';
  20 +$PHPMAILER_LANG['provide_address'] = '您必须提供至少一个 收信人的email地址。';
  21 +$PHPMAILER_LANG['recipients_failed'] = 'SMTP 错误: 下面的 收件人失败了: ';
  22 +//$PHPMAILER_LANG['signing'] = 'Signing Error: ';
  23 +//$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() failed.';
  24 +//$PHPMAILER_LANG['smtp_error'] = 'SMTP server error: ';
  25 +//$PHPMAILER_LANG['variable_set'] = 'Cannot set or reset variable: ';
  26 +//$PHPMAILER_LANG['extension_missing'] = 'Extension missing: ';
  1 +<?php
  2 +/**
  3 + * Czech PHPMailer language file: refer to English translation for definitive list
  4 + * @package PHPMailer
  5 + */
  6 +
  7 +$PHPMAILER_LANG['authenticate'] = 'Chyba SMTP: Autentizace selhala.';
  8 +$PHPMAILER_LANG['connect_host'] = 'Chyba SMTP: Nelze navázat spojení se SMTP serverem.';
  9 +$PHPMAILER_LANG['data_not_accepted'] = 'Chyba SMTP: Data nebyla přijata.';
  10 +$PHPMAILER_LANG['empty_message'] = 'Prázdné tělo zprávy';
  11 +$PHPMAILER_LANG['encoding'] = 'Neznámé kódování: ';
  12 +$PHPMAILER_LANG['execute'] = 'Nelze provést: ';
  13 +$PHPMAILER_LANG['file_access'] = 'Nelze získat přístup k souboru: ';
  14 +$PHPMAILER_LANG['file_open'] = 'Chyba souboru: Nelze otevřít soubor pro čtení: ';
  15 +$PHPMAILER_LANG['from_failed'] = 'Následující adresa odesílatele je nesprávná: ';
  16 +$PHPMAILER_LANG['instantiate'] = 'Nelze vytvořit instanci emailové funkce.';
  17 +$PHPMAILER_LANG['invalid_address'] = 'Neplatná adresa: ';
  18 +$PHPMAILER_LANG['mailer_not_supported'] = ' mailer není podporován.';
  19 +$PHPMAILER_LANG['provide_address'] = 'Musíte zadat alespoň jednu emailovou adresu příjemce.';
  20 +$PHPMAILER_LANG['recipients_failed'] = 'Chyba SMTP: Následující adresy příjemců nejsou správně: ';
  21 +$PHPMAILER_LANG['signing'] = 'Chyba přihlašování: ';
  22 +$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() selhal.';
  23 +$PHPMAILER_LANG['smtp_error'] = 'Chyba SMTP serveru: ';
  24 +$PHPMAILER_LANG['variable_set'] = 'Nelze nastavit nebo změnit proměnnou: ';
  25 +$PHPMAILER_LANG['extension_missing'] = 'Chybí rozšíření: ';
  1 +<?php
  2 +/**
  3 + * Danish PHPMailer language file: refer to English translation for definitive list
  4 + * @package PHPMailer
  5 + * @author John Sebastian <jms@iwb.dk>
  6 + * Rewrite and extension of the work by Mikael Stokkebro <info@stokkebro.dk>
  7 + *
  8 + */
  9 +
  10 +$PHPMAILER_LANG['authenticate'] = 'SMTP fejl: Login mislykkedes.';
  11 +$PHPMAILER_LANG['connect_host'] = 'SMTP fejl: Forbindelse til SMTP serveren kunne ikke oprettes.';
  12 +$PHPMAILER_LANG['data_not_accepted'] = 'SMTP fejl: Data blev ikke accepteret.';
  13 +$PHPMAILER_LANG['empty_message'] = 'Meddelelsen er uden indhold';
  14 +$PHPMAILER_LANG['encoding'] = 'Ukendt encode-format: ';
  15 +$PHPMAILER_LANG['execute'] = 'Kunne ikke afvikle: ';
  16 +$PHPMAILER_LANG['file_access'] = 'Kunne ikke tilgå filen: ';
  17 +$PHPMAILER_LANG['file_open'] = 'Fil fejl: Kunne ikke åbne filen: ';
  18 +$PHPMAILER_LANG['from_failed'] = 'Følgende afsenderadresse er forkert: ';
  19 +$PHPMAILER_LANG['instantiate'] = 'Email funktionen kunne ikke initialiseres.';
  20 +$PHPMAILER_LANG['invalid_address'] = 'Udgyldig adresse: ';
  21 +$PHPMAILER_LANG['mailer_not_supported'] = ' mailer understøttes ikke.';
  22 +$PHPMAILER_LANG['provide_address'] = 'Indtast mindst en modtagers email adresse.';
  23 +$PHPMAILER_LANG['recipients_failed'] = 'SMTP fejl: Følgende modtagere er forkerte: ';
  24 +$PHPMAILER_LANG['signing'] = 'Signeringsfejl: ';
  25 +$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() fejlede.';
  26 +$PHPMAILER_LANG['smtp_error'] = 'SMTP server fejl: ';
  27 +$PHPMAILER_LANG['variable_set'] = 'Kunne ikke definere eller nulstille variablen: ';
  28 +$PHPMAILER_LANG['extension_missing'] = 'Udvidelse mangler: ';
  1 +<?php
  2 +/**
  3 + * German PHPMailer language file: refer to English translation for definitive list
  4 + * @package PHPMailer
  5 + */
  6 +
  7 +$PHPMAILER_LANG['authenticate'] = 'SMTP-Fehler: Authentifizierung fehlgeschlagen.';
  8 +$PHPMAILER_LANG['connect_host'] = 'SMTP-Fehler: Konnte keine Verbindung zum SMTP-Host herstellen.';
  9 +$PHPMAILER_LANG['data_not_accepted'] = 'SMTP-Fehler: Daten werden nicht akzeptiert.';
  10 +$PHPMAILER_LANG['empty_message'] = 'E-Mail-Inhalt ist leer.';
  11 +$PHPMAILER_LANG['encoding'] = 'Unbekannte Kodierung: ';
  12 +$PHPMAILER_LANG['execute'] = 'Konnte folgenden Befehl nicht ausführen: ';
  13 +$PHPMAILER_LANG['file_access'] = 'Zugriff auf folgende Datei fehlgeschlagen: ';
  14 +$PHPMAILER_LANG['file_open'] = 'Dateifehler: Konnte folgende Datei nicht öffnen: ';
  15 +$PHPMAILER_LANG['from_failed'] = 'Die folgende Absenderadresse ist nicht korrekt: ';
  16 +$PHPMAILER_LANG['instantiate'] = 'Mail-Funktion konnte nicht initialisiert werden.';
  17 +$PHPMAILER_LANG['invalid_address'] = 'Die Adresse ist ungültig: ';
  18 +$PHPMAILER_LANG['mailer_not_supported'] = ' mailer wird nicht unterstützt.';
  19 +$PHPMAILER_LANG['provide_address'] = 'Bitte geben Sie mindestens eine Empfängeradresse an.';
  20 +$PHPMAILER_LANG['recipients_failed'] = 'SMTP-Fehler: Die folgenden Empfänger sind nicht korrekt: ';
  21 +$PHPMAILER_LANG['signing'] = 'Fehler beim Signieren: ';
  22 +$PHPMAILER_LANG['smtp_connect_failed'] = 'Verbindung zum SMTP-Server fehlgeschlagen.';
  23 +$PHPMAILER_LANG['smtp_error'] = 'Fehler vom SMTP-Server: ';
  24 +$PHPMAILER_LANG['variable_set'] = 'Kann Variable nicht setzen oder zurücksetzen: ';
  25 +$PHPMAILER_LANG['extension_missing'] = 'Fehlende Erweiterung: ';
  1 +<?php
  2 +/**
  3 + * Greek PHPMailer language file: refer to English translation for definitive list
  4 + * @package PHPMailer
  5 + */
  6 +
  7 +$PHPMAILER_LANG['authenticate'] = 'SMTP Σφάλμα: Αδυναμία πιστοποίησης (authentication).';
  8 +$PHPMAILER_LANG['connect_host'] = 'SMTP Σφάλμα: Αδυναμία σύνδεσης στον SMTP-Host.';
  9 +$PHPMAILER_LANG['data_not_accepted'] = 'SMTP Σφάλμα: Τα δεδομένα δεν έγιναν αποδεκτά.';
  10 +$PHPMAILER_LANG['empty_message'] = 'Το E-Mail δεν έχει περιεχόμενο .';
  11 +$PHPMAILER_LANG['encoding'] = 'Αγνωστο Encoding-Format: ';
  12 +$PHPMAILER_LANG['execute'] = 'Αδυναμία εκτέλεσης ακόλουθης εντολής: ';
  13 +$PHPMAILER_LANG['file_access'] = 'Αδυναμία προσπέλασης του αρχείου: ';
  14 +$PHPMAILER_LANG['file_open'] = 'Σφάλμα Αρχείου: Δεν είναι δυνατό το άνοιγμα του ακόλουθου αρχείου: ';
  15 +$PHPMAILER_LANG['from_failed'] = 'Η παρακάτω διεύθυνση αποστολέα δεν είναι σωστή: ';
  16 +$PHPMAILER_LANG['instantiate'] = 'Αδυναμία εκκίνησης Mail function.';
  17 +$PHPMAILER_LANG['invalid_address'] = 'Το μήνυμα δεν εστάλη, η διεύθυνση δεν είναι έγκυρη: ';
  18 +$PHPMAILER_LANG['mailer_not_supported'] = ' mailer δεν υποστηρίζεται.';
  19 +$PHPMAILER_LANG['provide_address'] = 'Παρακαλούμε δώστε τουλάχιστον μια e-mail διεύθυνση παραλήπτη.';
  20 +$PHPMAILER_LANG['recipients_failed'] = 'SMTP Σφάλμα: Οι παρακάτω διευθύνσεις παραλήπτη δεν είναι έγκυρες: ';
  21 +$PHPMAILER_LANG['signing'] = 'Σφάλμα υπογραφής: ';
  22 +$PHPMAILER_LANG['smtp_connect_failed'] = 'Αποτυχία σύνδεσης στον SMTP Server.';
  23 +$PHPMAILER_LANG['smtp_error'] = 'Σφάλμα από τον SMTP Server: ';
  24 +$PHPMAILER_LANG['variable_set'] = 'Αδυναμία ορισμού ή αρχικοποίησης μεταβλητής: ';
  25 +//$PHPMAILER_LANG['extension_missing'] = 'Extension missing: ';
  1 +<?php
  2 +/**
  3 + * Esperanto PHPMailer language file: refer to English translation for definitive list
  4 + * @package PHPMailer
  5 + */
  6 +
  7 +$PHPMAILER_LANG['authenticate'] = 'Eraro de servilo SMTP : aŭtentigo malsukcesis.';
  8 +$PHPMAILER_LANG['connect_host'] = 'Eraro de servilo SMTP : konektado al servilo malsukcesis.';
  9 +$PHPMAILER_LANG['data_not_accepted'] = 'Eraro de servilo SMTP : neĝustaj datumoj.';
  10 +$PHPMAILER_LANG['empty_message'] = 'Teksto de mesaĝo mankas.';
  11 +$PHPMAILER_LANG['encoding'] = 'Nekonata kodoprezento: ';
  12 +$PHPMAILER_LANG['execute'] = 'Lanĉi rulumadon ne eblis: ';
  13 +$PHPMAILER_LANG['file_access'] = 'Aliro al dosiero ne sukcesis: ';
  14 +$PHPMAILER_LANG['file_open'] = 'Eraro de dosiero: malfermo neeblas: ';
  15 +$PHPMAILER_LANG['from_failed'] = 'Jena adreso de sendinto malsukcesis: ';
  16 +$PHPMAILER_LANG['instantiate'] = 'Genero de retmesaĝa funkcio neeblis.';
  17 +$PHPMAILER_LANG['invalid_address'] = 'Retadreso ne validas: ';
  18 +$PHPMAILER_LANG['mailer_not_supported'] = ' mesaĝilo ne subtenata.';
  19 +$PHPMAILER_LANG['provide_address'] = 'Vi devas tajpi almenaŭ unu recevontan retadreson.';
  20 +$PHPMAILER_LANG['recipients_failed'] = 'Eraro de servilo SMTP : la jenaj poŝtrecivuloj kaŭzis eraron: ';
  21 +$PHPMAILER_LANG['signing'] = 'Eraro de subskribo: ';
  22 +$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP konektado malsukcesis.';
  23 +$PHPMAILER_LANG['smtp_error'] = 'Eraro de servilo SMTP : ';
  24 +$PHPMAILER_LANG['variable_set'] = 'Variablo ne pravalorizeblas aŭ ne repravalorizeblas: ';
  25 +$PHPMAILER_LANG['extension_missing'] = 'Mankas etendo: ';
  1 +<?php
  2 +/**
  3 + * Spanish PHPMailer language file: refer to English translation for definitive list
  4 + * @package PHPMailer
  5 + * @author Matt Sturdy <matt.sturdy@gmail.com>
  6 + */
  7 +
  8 +$PHPMAILER_LANG['authenticate'] = 'Error SMTP: Imposible autentificar.';
  9 +$PHPMAILER_LANG['connect_host'] = 'Error SMTP: Imposible conectar al servidor SMTP.';
  10 +$PHPMAILER_LANG['data_not_accepted'] = 'Error SMTP: Datos no aceptados.';
  11 +$PHPMAILER_LANG['empty_message'] = 'El cuerpo del mensaje está vacío.';
  12 +$PHPMAILER_LANG['encoding'] = 'Codificación desconocida: ';
  13 +$PHPMAILER_LANG['execute'] = 'Imposible ejecutar: ';
  14 +$PHPMAILER_LANG['file_access'] = 'Imposible acceder al archivo: ';
  15 +$PHPMAILER_LANG['file_open'] = 'Error de Archivo: Imposible abrir el archivo: ';
  16 +$PHPMAILER_LANG['from_failed'] = 'La(s) siguiente(s) direcciones de remitente fallaron: ';
  17 +$PHPMAILER_LANG['instantiate'] = 'Imposible crear una instancia de la función Mail.';
  18 +$PHPMAILER_LANG['invalid_address'] = 'Imposible enviar: dirección de email inválido: ';
  19 +$PHPMAILER_LANG['mailer_not_supported'] = ' mailer no está soportado.';
  20 +$PHPMAILER_LANG['provide_address'] = 'Debe proporcionar al menos una dirección de email de destino.';
  21 +$PHPMAILER_LANG['recipients_failed'] = 'Error SMTP: Los siguientes destinos fallaron: ';
  22 +$PHPMAILER_LANG['signing'] = 'Error al firmar: ';
  23 +$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() falló.';
  24 +$PHPMAILER_LANG['smtp_error'] = 'Error del servidor SMTP: ';
  25 +$PHPMAILER_LANG['variable_set'] = 'No se pudo configurar la variable: ';
  26 +$PHPMAILER_LANG['extension_missing'] = 'Extensión faltante: ';
  1 +<?php
  2 +/**
  3 + * Estonian PHPMailer language file: refer to English translation for definitive list
  4 + * @package PHPMailer
  5 + * @author Indrek Päri
  6 + * @author Elan Ruusamäe <glen@delfi.ee>
  7 + */
  8 +
  9 +$PHPMAILER_LANG['authenticate'] = 'SMTP Viga: Autoriseerimise viga.';
  10 +$PHPMAILER_LANG['connect_host'] = 'SMTP Viga: Ei õnnestunud luua ühendust SMTP serveriga.';
  11 +$PHPMAILER_LANG['data_not_accepted'] = 'SMTP Viga: Vigased andmed.';
  12 +$PHPMAILER_LANG['empty_message'] = 'Tühi kirja sisu';
  13 +$PHPMAILER_LANG["encoding"] = 'Tundmatu kodeering: ';
  14 +$PHPMAILER_LANG['execute'] = 'Tegevus ebaõnnestus: ';
  15 +$PHPMAILER_LANG['file_access'] = 'Pole piisavalt õiguseid järgneva faili avamiseks: ';
  16 +$PHPMAILER_LANG['file_open'] = 'Faili Viga: Faili avamine ebaõnnestus: ';
  17 +$PHPMAILER_LANG['from_failed'] = 'Järgnev saatja e-posti aadress on vigane: ';
  18 +$PHPMAILER_LANG['instantiate'] = 'mail funktiooni käivitamine ebaõnnestus.';
  19 +$PHPMAILER_LANG['invalid_address'] = 'Saatmine peatatud, e-posti address vigane: ';
  20 +$PHPMAILER_LANG['provide_address'] = 'Te peate määrama vähemalt ühe saaja e-posti aadressi.';
  21 +$PHPMAILER_LANG['mailer_not_supported'] = ' maileri tugi puudub.';
  22 +$PHPMAILER_LANG['recipients_failed'] = 'SMTP Viga: Järgnevate saajate e-posti aadressid on vigased: ';
  23 +$PHPMAILER_LANG["signing"] = 'Viga allkirjastamisel: ';
  24 +$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() ebaõnnestus.';
  25 +$PHPMAILER_LANG['smtp_error'] = 'SMTP serveri viga: ';
  26 +$PHPMAILER_LANG['variable_set'] = 'Ei õnnestunud määrata või lähtestada muutujat: ';
  27 +$PHPMAILER_LANG['extension_missing'] = 'Nõutud laiendus on puudu: ';
  1 +<?php
  2 +/**
  3 + * Persian/Farsi PHPMailer language file: refer to English translation for definitive list
  4 + * @package PHPMailer
  5 + * @author Ali Jazayeri <jaza.ali@gmail.com>
  6 + * @author Mohammad Hossein Mojtahedi <mhm5000@gmail.com>
  7 + */
  8 +
  9 +$PHPMAILER_LANG['authenticate'] = 'خطای SMTP: احراز هویت با شکست مواجه شد.';
  10 +$PHPMAILER_LANG['connect_host'] = 'خطای SMTP: اتصال به سرور SMTP برقرار نشد.';
  11 +$PHPMAILER_LANG['data_not_accepted'] = 'خطای SMTP: داده‌ها نا‌درست هستند.';
  12 +$PHPMAILER_LANG['empty_message'] = 'بخش متن پیام خالی است.';
  13 +$PHPMAILER_LANG['encoding'] = 'کد‌گذاری نا‌شناخته: ';
  14 +$PHPMAILER_LANG['execute'] = 'امکان اجرا وجود ندارد: ';
  15 +$PHPMAILER_LANG['file_access'] = 'امکان دسترسی به فایل وجود ندارد: ';
  16 +$PHPMAILER_LANG['file_open'] = 'خطای File: امکان بازکردن فایل وجود ندارد: ';
  17 +$PHPMAILER_LANG['from_failed'] = 'آدرس فرستنده اشتباه است: ';
  18 +$PHPMAILER_LANG['instantiate'] = 'امکان معرفی تابع ایمیل وجود ندارد.';
  19 +$PHPMAILER_LANG['invalid_address'] = 'آدرس ایمیل معتبر نیست: ';
  20 +$PHPMAILER_LANG['mailer_not_supported'] = ' mailer پشتیبانی نمی‌شود.';
  21 +$PHPMAILER_LANG['provide_address'] = 'باید حداقل یک آدرس گیرنده وارد کنید.';
  22 +$PHPMAILER_LANG['recipients_failed'] = 'خطای SMTP: ارسال به آدرس گیرنده با خطا مواجه شد: ';
  23 +$PHPMAILER_LANG['signing'] = 'خطا در امضا: ';
  24 +$PHPMAILER_LANG['smtp_connect_failed'] = 'خطا در اتصال به SMTP.';
  25 +$PHPMAILER_LANG['smtp_error'] = 'خطا در SMTP Server: ';
  26 +$PHPMAILER_LANG['variable_set'] = 'امکان ارسال یا ارسال مجدد متغیر‌ها وجود ندارد: ';
  27 +$PHPMAILER_LANG['extension_missing'] = 'افزونه موجود نیست: ';
  1 +<?php
  2 +/**
  3 + * Finnish PHPMailer language file: refer to English translation for definitive list
  4 + * @package PHPMailer
  5 + * @author Jyry Kuukanen
  6 + */
  7 +
  8 +$PHPMAILER_LANG['authenticate'] = 'SMTP-virhe: käyttäjätunnistus epäonnistui.';
  9 +$PHPMAILER_LANG['connect_host'] = 'SMTP-virhe: yhteys palvelimeen ei onnistu.';
  10 +$PHPMAILER_LANG['data_not_accepted'] = 'SMTP-virhe: data on virheellinen.';
  11 +//$PHPMAILER_LANG['empty_message'] = 'Message body empty';
  12 +$PHPMAILER_LANG['encoding'] = 'Tuntematon koodaustyyppi: ';
  13 +$PHPMAILER_LANG['execute'] = 'Suoritus epäonnistui: ';
  14 +$PHPMAILER_LANG['file_access'] = 'Seuraavaan tiedostoon ei ole oikeuksia: ';
  15 +$PHPMAILER_LANG['file_open'] = 'Tiedostovirhe: Ei voida avata tiedostoa: ';
  16 +$PHPMAILER_LANG['from_failed'] = 'Seuraava lähettäjän osoite on virheellinen: ';
  17 +$PHPMAILER_LANG['instantiate'] = 'mail-funktion luonti epäonnistui.';
  18 +//$PHPMAILER_LANG['invalid_address'] = 'Invalid address: ';
  19 +$PHPMAILER_LANG['mailer_not_supported'] = 'postivälitintyyppiä ei tueta.';
  20 +$PHPMAILER_LANG['provide_address'] = 'Aseta vähintään yksi vastaanottajan sähk&ouml;postiosoite.';
  21 +$PHPMAILER_LANG['recipients_failed'] = 'SMTP-virhe: seuraava vastaanottaja osoite on virheellinen.';
  22 +$PHPMAILER_LANG['encoding'] = 'Tuntematon koodaustyyppi: ';
  23 +//$PHPMAILER_LANG['signing'] = 'Signing Error: ';
  24 +//$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() failed.';
  25 +//$PHPMAILER_LANG['smtp_error'] = 'SMTP server error: ';
  26 +//$PHPMAILER_LANG['variable_set'] = 'Cannot set or reset variable: ';
  27 +//$PHPMAILER_LANG['extension_missing'] = 'Extension missing: ';
  1 +<?php
  2 +/**
  3 + * Faroese PHPMailer language file: refer to English translation for definitive list
  4 + * @package PHPMailer
  5 + * @author Dávur Sørensen <http://www.profo-webdesign.dk>
  6 + */
  7 +
  8 +$PHPMAILER_LANG['authenticate'] = 'SMTP feilur: Kundi ikki góðkenna.';
  9 +$PHPMAILER_LANG['connect_host'] = 'SMTP feilur: Kundi ikki knýta samband við SMTP vert.';
  10 +$PHPMAILER_LANG['data_not_accepted'] = 'SMTP feilur: Data ikki góðkent.';
  11 +//$PHPMAILER_LANG['empty_message'] = 'Message body empty';
  12 +$PHPMAILER_LANG['encoding'] = 'Ókend encoding: ';
  13 +$PHPMAILER_LANG['execute'] = 'Kundi ikki útføra: ';
  14 +$PHPMAILER_LANG['file_access'] = 'Kundi ikki tilganga fílu: ';
  15 +$PHPMAILER_LANG['file_open'] = 'Fílu feilur: Kundi ikki opna fílu: ';
  16 +$PHPMAILER_LANG['from_failed'] = 'fylgjandi Frá/From adressa miseydnaðist: ';
  17 +$PHPMAILER_LANG['instantiate'] = 'Kuni ikki instantiera mail funktión.';
  18 +//$PHPMAILER_LANG['invalid_address'] = 'Invalid address: ';
  19 +$PHPMAILER_LANG['mailer_not_supported'] = ' er ikki supporterað.';
  20 +$PHPMAILER_LANG['provide_address'] = 'Tú skal uppgeva minst móttakara-emailadressu(r).';
  21 +$PHPMAILER_LANG['recipients_failed'] = 'SMTP Feilur: Fylgjandi móttakarar miseydnaðust: ';
  22 +//$PHPMAILER_LANG['signing'] = 'Signing Error: ';
  23 +//$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() failed.';
  24 +//$PHPMAILER_LANG['smtp_error'] = 'SMTP server error: ';
  25 +//$PHPMAILER_LANG['variable_set'] = 'Cannot set or reset variable: ';
  26 +//$PHPMAILER_LANG['extension_missing'] = 'Extension missing: ';
  1 +<?php
  2 +/**
  3 + * French PHPMailer language file: refer to English translation for definitive list
  4 + * @package PHPMailer
  5 + * Some French punctuation requires a thin non-breaking space (U+202F) character before it,
  6 + * for example before a colon or exclamation mark.
  7 + * There is one of these characters between these quotes: " "
  8 + * @see http://unicode.org/udhr/n/notes_fra.html
  9 + */
  10 +
  11 +$PHPMAILER_LANG['authenticate'] = 'Erreur SMTP : échec de l\'authentification.';
  12 +$PHPMAILER_LANG['connect_host'] = 'Erreur SMTP : impossible de se connecter au serveur SMTP.';
  13 +$PHPMAILER_LANG['data_not_accepted'] = 'Erreur SMTP : données incorrectes.';
  14 +$PHPMAILER_LANG['empty_message'] = 'Corps du message vide.';
  15 +$PHPMAILER_LANG['encoding'] = 'Encodage inconnu : ';
  16 +$PHPMAILER_LANG['execute'] = 'Impossible de lancer l\'exécution : ';
  17 +$PHPMAILER_LANG['file_access'] = 'Impossible d\'accéder au fichier : ';
  18 +$PHPMAILER_LANG['file_open'] = 'Ouverture du fichier impossible : ';
  19 +$PHPMAILER_LANG['from_failed'] = 'L\'adresse d\'expéditeur suivante a échoué : ';
  20 +$PHPMAILER_LANG['instantiate'] = 'Impossible d\'instancier la fonction mail.';
  21 +$PHPMAILER_LANG['invalid_address'] = 'L\'adresse courriel n\'est pas valide : ';
  22 +$PHPMAILER_LANG['mailer_not_supported'] = ' client de messagerie non supporté.';
  23 +$PHPMAILER_LANG['provide_address'] = 'Vous devez fournir au moins une adresse de destinataire.';
  24 +$PHPMAILER_LANG['recipients_failed'] = 'Erreur SMTP : les destinataires suivants sont en erreur : ';
  25 +$PHPMAILER_LANG['signing'] = 'Erreur de signature : ';
  26 +$PHPMAILER_LANG['smtp_connect_failed'] = 'Échec de la connexion SMTP.';
  27 +$PHPMAILER_LANG['smtp_error'] = 'Erreur du serveur SMTP : ';
  28 +$PHPMAILER_LANG['variable_set'] = 'Impossible d\'initialiser ou de réinitialiser une variable : ';
  29 +$PHPMAILER_LANG['extension_missing'] = 'Extension manquante : ';
  1 +<?php
  2 +/**
  3 + * Galician PHPMailer language file: refer to English translation for definitive list
  4 + * @package PHPMailer
  5 + * @author by Donato Rouco <donatorouco@gmail.com>
  6 + */
  7 +
  8 +$PHPMAILER_LANG['authenticate'] = 'Erro SMTP: Non puido ser autentificado.';
  9 +$PHPMAILER_LANG['connect_host'] = 'Erro SMTP: Non puido conectar co servidor SMTP.';
  10 +$PHPMAILER_LANG['data_not_accepted'] = 'Erro SMTP: Datos non aceptados.';
  11 +$PHPMAILER_LANG['empty_message'] = 'Corpo da mensaxe vacía';
  12 +$PHPMAILER_LANG['encoding'] = 'Codificación descoñecida: ';
  13 +$PHPMAILER_LANG['execute'] = 'Non puido ser executado: ';
  14 +$PHPMAILER_LANG['file_access'] = 'Nob puido acceder ó arquivo: ';
  15 +$PHPMAILER_LANG['file_open'] = 'Erro de Arquivo: No puido abrir o arquivo: ';
  16 +$PHPMAILER_LANG['from_failed'] = 'A(s) seguinte(s) dirección(s) de remitente(s) deron erro: ';
  17 +$PHPMAILER_LANG['instantiate'] = 'Non puido crear unha instancia da función Mail.';
  18 +$PHPMAILER_LANG['invalid_address'] = 'Non puido envia-lo correo: dirección de email inválida: ';
  19 +$PHPMAILER_LANG['mailer_not_supported'] = ' mailer non está soportado.';
  20 +$PHPMAILER_LANG['provide_address'] = 'Debe engadir polo menos unha dirección de email coma destino.';
  21 +$PHPMAILER_LANG['recipients_failed'] = 'Erro SMTP: Os seguintes destinos fallaron: ';
  22 +$PHPMAILER_LANG['signing'] = 'Erro ó firmar: ';
  23 +$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() fallou.';
  24 +$PHPMAILER_LANG['smtp_error'] = 'Erro do servidor SMTP: ';
  25 +$PHPMAILER_LANG['variable_set'] = 'Non puidemos axustar ou reaxustar a variábel: ';
  26 +//$PHPMAILER_LANG['extension_missing'] = 'Extension missing: ';
  1 +<?php
  2 +/**
  3 + * Hebrew PHPMailer language file: refer to English translation for definitive list
  4 + * @package PHPMailer
  5 + * @author Ronny Sherer <ronny@hoojima.com>
  6 + */
  7 +
  8 +$PHPMAILER_LANG['authenticate'] = 'שגיאת SMTP: פעולת האימות נכשלה.';
  9 +$PHPMAILER_LANG['connect_host'] = 'שגיאת SMTP: לא הצלחתי להתחבר לשרת SMTP.';
  10 +$PHPMAILER_LANG['data_not_accepted'] = 'שגיאת SMTP: מידע לא התקבל.';
  11 +$PHPMAILER_LANG['empty_message'] = 'גוף ההודעה ריק';
  12 +$PHPMAILER_LANG['invalid_address'] = 'כתובת שגויה: ';
  13 +$PHPMAILER_LANG['encoding'] = 'קידוד לא מוכר: ';
  14 +$PHPMAILER_LANG['execute'] = 'לא הצלחתי להפעיל את: ';
  15 +$PHPMAILER_LANG['file_access'] = 'לא ניתן לגשת לקובץ: ';
  16 +$PHPMAILER_LANG['file_open'] = 'שגיאת קובץ: לא ניתן לגשת לקובץ: ';
  17 +$PHPMAILER_LANG['from_failed'] = 'כתובות הנמענים הבאות נכשלו: ';
  18 +$PHPMAILER_LANG['instantiate'] = 'לא הצלחתי להפעיל את פונקציית המייל.';
  19 +$PHPMAILER_LANG['mailer_not_supported'] = ' אינה נתמכת.';
  20 +$PHPMAILER_LANG['provide_address'] = 'חובה לספק לפחות כתובת אחת של מקבל המייל.';
  21 +$PHPMAILER_LANG['recipients_failed'] = 'שגיאת SMTP: הנמענים הבאים נכשלו: ';
  22 +$PHPMAILER_LANG['signing'] = 'שגיאת חתימה: ';
  23 +$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() failed.';
  24 +$PHPMAILER_LANG['smtp_error'] = 'שגיאת שרת SMTP: ';
  25 +$PHPMAILER_LANG['variable_set'] = 'לא ניתן לקבוע או לשנות את המשתנה: ';
  26 +//$PHPMAILER_LANG['extension_missing'] = 'Extension missing: ';
  1 +<?php
  2 +/**
  3 + * Hindi PHPMailer language file: refer to English translation for definitive list
  4 + * @package PHPMailer
  5 + * @author Yash Karanke <mr.karanke@gmail.com>
  6 + */
  7 +
  8 +$PHPMAILER_LANG['authenticate'] = 'SMTP त्रुटि: प्रामाणिकता की जांच नहीं हो सका। ';
  9 +$PHPMAILER_LANG['connect_host'] = 'SMTP त्रुटि: SMTP सर्वर से कनेक्ट नहीं हो सका। ';
  10 +$PHPMAILER_LANG['data_not_accepted'] = 'SMTP त्रुटि: डेटा स्वीकार नहीं किया जाता है। ';
  11 +$PHPMAILER_LANG['empty_message'] = 'संदेश खाली है। ';
  12 +$PHPMAILER_LANG['encoding'] = 'अज्ञात एन्कोडिंग प्रकार। ';
  13 +$PHPMAILER_LANG['execute'] = 'आदेश को निष्पादित करने में विफल। ';
  14 +$PHPMAILER_LANG['file_access'] = 'फ़ाइल उपलब्ध नहीं है। ';
  15 +$PHPMAILER_LANG['file_open'] = 'फ़ाइल त्रुटि: फाइल को खोला नहीं जा सका। ';
  16 +$PHPMAILER_LANG['from_failed'] = 'प्रेषक का पता गलत है। ';
  17 +$PHPMAILER_LANG['instantiate'] = 'मेल फ़ंक्शन कॉल नहीं कर सकता है।';
  18 +$PHPMAILER_LANG['invalid_address'] = 'पता गलत है। ';
  19 +$PHPMAILER_LANG['mailer_not_supported'] = 'मेल सर्वर के साथ काम नहीं करता है। ';
  20 +$PHPMAILER_LANG['provide_address'] = 'आपको कम से कम एक प्राप्तकर्ता का ई-मेल पता प्रदान करना होगा।';
  21 +$PHPMAILER_LANG['recipients_failed'] = 'SMTP त्रुटि: निम्न प्राप्तकर्ताओं को पते भेजने में विफल। ';
  22 +$PHPMAILER_LANG['signing'] = 'साइनअप त्रुटि:। ';
  23 +$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP का connect () फ़ंक्शन विफल हुआ। ';
  24 +$PHPMAILER_LANG['smtp_error'] = 'SMTP सर्वर त्रुटि। ';
  25 +$PHPMAILER_LANG['variable_set'] = 'चर को बना या संशोधित नहीं किया जा सकता। ';
  26 +$PHPMAILER_LANG['extension_missing'] = 'एक्सटेन्षन गायब है: ';
  1 +<?php
  2 +/**
  3 + * Croatian PHPMailer language file: refer to English translation for definitive list
  4 + * @package PHPMailer
  5 + * @author Hrvoj3e <hrvoj3e@gmail.com>
  6 + */
  7 +
  8 +$PHPMAILER_LANG['authenticate'] = 'SMTP Greška: Neuspjela autentikacija.';
  9 +$PHPMAILER_LANG['connect_host'] = 'SMTP Greška: Ne mogu se spojiti na SMTP poslužitelj.';
  10 +$PHPMAILER_LANG['data_not_accepted'] = 'SMTP Greška: Podatci nisu prihvaćeni.';
  11 +$PHPMAILER_LANG['empty_message'] = 'Sadržaj poruke je prazan.';
  12 +$PHPMAILER_LANG['encoding'] = 'Nepoznati encoding: ';
  13 +$PHPMAILER_LANG['execute'] = 'Nije moguće izvršiti naredbu: ';
  14 +$PHPMAILER_LANG['file_access'] = 'Nije moguće pristupiti datoteci: ';
  15 +$PHPMAILER_LANG['file_open'] = 'Nije moguće otvoriti datoteku: ';
  16 +$PHPMAILER_LANG['from_failed'] = 'SMTP Greška: Slanje s navedenih e-mail adresa nije uspjelo: ';
  17 +$PHPMAILER_LANG['recipients_failed'] = 'SMTP Greška: Slanje na navedenih e-mail adresa nije uspjelo: ';
  18 +$PHPMAILER_LANG['instantiate'] = 'Ne mogu pokrenuti mail funkcionalnost.';
  19 +$PHPMAILER_LANG['invalid_address'] = 'E-mail nije poslan. Neispravna e-mail adresa: ';
  20 +$PHPMAILER_LANG['mailer_not_supported'] = ' mailer nije podržan.';
  21 +$PHPMAILER_LANG['provide_address'] = 'Definirajte barem jednu adresu primatelja.';
  22 +$PHPMAILER_LANG['signing'] = 'Greška prilikom prijave: ';
  23 +$PHPMAILER_LANG['smtp_connect_failed'] = 'Spajanje na SMTP poslužitelj nije uspjelo.';
  24 +$PHPMAILER_LANG['smtp_error'] = 'Greška SMTP poslužitelja: ';
  25 +$PHPMAILER_LANG['variable_set'] = 'Ne mogu postaviti varijablu niti ju vratiti nazad: ';
  26 +$PHPMAILER_LANG['extension_missing'] = 'Nedostaje proširenje: ';
  1 +<?php
  2 +/**
  3 + * Hungarian PHPMailer language file: refer to English translation for definitive list
  4 + * @package PHPMailer
  5 + * @author @dominicus-75
  6 + */
  7 +
  8 +$PHPMAILER_LANG['authenticate'] = 'SMTP hiba: az azonosítás sikertelen.';
  9 +$PHPMAILER_LANG['connect_host'] = 'SMTP hiba: nem lehet kapcsolódni az SMTP-szerverhez.';
  10 +$PHPMAILER_LANG['data_not_accepted'] = 'SMTP hiba: adatok visszautasítva.';
  11 +$PHPMAILER_LANG['empty_message'] = 'Üres az üzenettörzs.';
  12 +$PHPMAILER_LANG['encoding'] = 'Ismeretlen kódolás: ';
  13 +$PHPMAILER_LANG['execute'] = 'Nem lehet végrehajtani: ';
  14 +$PHPMAILER_LANG['file_access'] = 'A következő fájl nem elérhető: ';
  15 +$PHPMAILER_LANG['file_open'] = 'Fájl hiba: a következő fájlt nem lehet megnyitni: ';
  16 +$PHPMAILER_LANG['from_failed'] = 'A feladóként megadott következő cím hibás: ';
  17 +$PHPMAILER_LANG['instantiate'] = 'A PHP mail() függvényt nem sikerült végrehajtani.';
  18 +$PHPMAILER_LANG['invalid_address'] = 'Érvénytelen cím: ';
  19 +$PHPMAILER_LANG['mailer_not_supported'] = ' a mailer-osztály nem támogatott.';
  20 +$PHPMAILER_LANG['provide_address'] = 'Legalább egy címzettet fel kell tüntetni.';
  21 +$PHPMAILER_LANG['recipients_failed'] = 'SMTP hiba: a címzettként megadott következő címek hibásak: ';
  22 +$PHPMAILER_LANG['signing'] = 'Hibás aláírás: ';
  23 +$PHPMAILER_LANG['smtp_connect_failed'] = 'Hiba az SMTP-kapcsolatban.';
  24 +$PHPMAILER_LANG['smtp_error'] = 'SMTP-szerver hiba: ';
  25 +$PHPMAILER_LANG['variable_set'] = 'A következő változók beállítása nem sikerült: ';
  26 +$PHPMAILER_LANG['extension_missing'] = 'Bővítmény hiányzik: ';
  1 +<?php
  2 +/**
  3 + * Armenian PHPMailer language file: refer to English translation for definitive list
  4 + * @package PHPMailer
  5 + * @author Hrayr Grigoryan <hrayr@bits.am>
  6 + */
  7 +
  8 +$PHPMAILER_LANG['authenticate'] = 'SMTP -ի սխալ: չհաջողվեց ստուգել իսկությունը.';
  9 +$PHPMAILER_LANG['connect_host'] = 'SMTP -ի սխալ: չհաջողվեց կապ հաստատել SMTP սերվերի հետ.';
  10 +$PHPMAILER_LANG['data_not_accepted'] = 'SMTP -ի սխալ: տվյալները ընդունված չեն.';
  11 +$PHPMAILER_LANG['empty_message'] = 'Հաղորդագրությունը դատարկ է';
  12 +$PHPMAILER_LANG['encoding'] = 'Կոդավորման անհայտ տեսակ: ';
  13 +$PHPMAILER_LANG['execute'] = 'Չհաջողվեց իրականացնել հրամանը: ';
  14 +$PHPMAILER_LANG['file_access'] = 'Ֆայլը հասանելի չէ: ';
  15 +$PHPMAILER_LANG['file_open'] = 'Ֆայլի սխալ: ֆայլը չհաջողվեց բացել: ';
  16 +$PHPMAILER_LANG['from_failed'] = 'Ուղարկողի հետևյալ հասցեն սխալ է: ';
  17 +$PHPMAILER_LANG['instantiate'] = 'Հնարավոր չէ կանչել mail ֆունկցիան.';
  18 +$PHPMAILER_LANG['invalid_address'] = 'Հասցեն սխալ է: ';
  19 +$PHPMAILER_LANG['mailer_not_supported'] = ' փոստային սերվերի հետ չի աշխատում.';
  20 +$PHPMAILER_LANG['provide_address'] = 'Անհրաժեշտ է տրամադրել գոնե մեկ ստացողի e-mail հասցե.';
  21 +$PHPMAILER_LANG['recipients_failed'] = 'SMTP -ի սխալ: չի հաջողվել ուղարկել հետևյալ ստացողների հասցեներին: ';
  22 +$PHPMAILER_LANG['signing'] = 'Ստորագրման սխալ: ';
  23 +$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP -ի connect() ֆունկցիան չի հաջողվել';
  24 +$PHPMAILER_LANG['smtp_error'] = 'SMTP սերվերի սխալ: ';
  25 +$PHPMAILER_LANG['variable_set'] = 'Չի հաջողվում ստեղծել կամ վերափոխել փոփոխականը: ';
  26 +$PHPMAILER_LANG['extension_missing'] = 'Հավելվածը բացակայում է: ';
  1 +<?php
  2 +/**
  3 + * Indonesian PHPMailer language file: refer to English translation for definitive list
  4 + * @package PHPMailer
  5 + * @author Cecep Prawiro <cecep.prawiro@gmail.com>
  6 + * @author @januridp
  7 + */
  8 +
  9 +$PHPMAILER_LANG['authenticate'] = 'Kesalahan SMTP: Tidak dapat mengotentikasi.';
  10 +$PHPMAILER_LANG['connect_host'] = 'Kesalahan SMTP: Tidak dapat terhubung ke host SMTP.';
  11 +$PHPMAILER_LANG['data_not_accepted'] = 'Kesalahan SMTP: Data tidak diterima.';
  12 +$PHPMAILER_LANG['empty_message'] = 'Isi pesan kosong';
  13 +$PHPMAILER_LANG['encoding'] = 'Pengkodean karakter tidak dikenali: ';
  14 +$PHPMAILER_LANG['execute'] = 'Tidak dapat menjalankan proses : ';
  15 +$PHPMAILER_LANG['file_access'] = 'Tidak dapat mengakses berkas : ';
  16 +$PHPMAILER_LANG['file_open'] = 'Kesalahan File: Berkas tidak dapat dibuka : ';
  17 +$PHPMAILER_LANG['from_failed'] = 'Alamat pengirim berikut mengakibatkan kesalahan : ';
  18 +$PHPMAILER_LANG['instantiate'] = 'Tidak dapat menginisialisasi fungsi surel';
  19 +$PHPMAILER_LANG['invalid_address'] = 'Gagal terkirim, alamat surel tidak benar : ';
  20 +$PHPMAILER_LANG['provide_address'] = 'Harus disediakan minimal satu alamat tujuan';
  21 +$PHPMAILER_LANG['mailer_not_supported'] = ' mailer tidak didukung';
  22 +$PHPMAILER_LANG['recipients_failed'] = 'Kesalahan SMTP: Alamat tujuan berikut menghasilkan kesalahan : ';
  23 +$PHPMAILER_LANG['signing'] = 'Kesalahan dalam tanda tangan : ';
  24 +$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() gagal.';
  25 +$PHPMAILER_LANG['smtp_error'] = 'Kesalahan pada pelayan SMTP : ';
  26 +$PHPMAILER_LANG['variable_set'] = 'Tidak dapat mengatur atau mengatur ulang variable : ';
  27 +$PHPMAILER_LANG['extension_missing'] = 'Ekstensi hilang: ';
  1 +<?php
  2 +/**
  3 + * Italian PHPMailer language file: refer to English translation for definitive list
  4 + * @package PHPMailer
  5 + * @author Ilias Bartolini <brain79@inwind.it>
  6 + * @author Stefano Sabatini <sabas88@gmail.com>
  7 + */
  8 +
  9 +$PHPMAILER_LANG['authenticate'] = 'SMTP Error: Impossibile autenticarsi.';
  10 +$PHPMAILER_LANG['connect_host'] = 'SMTP Error: Impossibile connettersi all\'host SMTP.';
  11 +$PHPMAILER_LANG['data_not_accepted'] = 'SMTP Error: Dati non accettati dal server.';
  12 +$PHPMAILER_LANG['empty_message'] = 'Il corpo del messaggio è vuoto';
  13 +$PHPMAILER_LANG['encoding'] = 'Codifica dei caratteri sconosciuta: ';
  14 +$PHPMAILER_LANG['execute'] = 'Impossibile eseguire l\'operazione: ';
  15 +$PHPMAILER_LANG['file_access'] = 'Impossibile accedere al file: ';
  16 +$PHPMAILER_LANG['file_open'] = 'File Error: Impossibile aprire il file: ';
  17 +$PHPMAILER_LANG['from_failed'] = 'I seguenti indirizzi mittenti hanno generato errore: ';
  18 +$PHPMAILER_LANG['instantiate'] = 'Impossibile istanziare la funzione mail';
  19 +$PHPMAILER_LANG['invalid_address'] = 'Impossibile inviare, l\'indirizzo email non è valido: ';
  20 +$PHPMAILER_LANG['provide_address'] = 'Deve essere fornito almeno un indirizzo ricevente';
  21 +$PHPMAILER_LANG['mailer_not_supported'] = 'Mailer non supportato';
  22 +$PHPMAILER_LANG['recipients_failed'] = 'SMTP Error: I seguenti indirizzi destinatari hanno generato un errore: ';
  23 +$PHPMAILER_LANG['signing'] = 'Errore nella firma: ';
  24 +$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() fallita.';
  25 +$PHPMAILER_LANG['smtp_error'] = 'Errore del server SMTP: ';
  26 +$PHPMAILER_LANG['variable_set'] = 'Impossibile impostare o resettare la variabile: ';
  27 +$PHPMAILER_LANG['extension_missing'] = 'Estensione mancante: ';
  1 +<?php
  2 +/**
  3 + * Japanese PHPMailer language file: refer to English translation for definitive list
  4 + * @package PHPMailer
  5 + * @author Mitsuhiro Yoshida <http://mitstek.com/>
  6 + * @author Yoshi Sakai <http://bluemooninc.jp/>
  7 + */
  8 +
  9 +$PHPMAILER_LANG['authenticate'] = 'SMTPエラー: 認証できませんでした。';
  10 +$PHPMAILER_LANG['connect_host'] = 'SMTPエラー: SMTPホストに接続できませんでした。';
  11 +$PHPMAILER_LANG['data_not_accepted'] = 'SMTPエラー: データが受け付けられませんでした。';
  12 +//$PHPMAILER_LANG['empty_message'] = 'Message body empty';
  13 +$PHPMAILER_LANG['encoding'] = '不明なエンコーディング: ';
  14 +$PHPMAILER_LANG['execute'] = '実行できませんでした: ';
  15 +$PHPMAILER_LANG['file_access'] = 'ファイルにアクセスできません: ';
  16 +$PHPMAILER_LANG['file_open'] = 'ファイルエラー: ファイルを開けません: ';
  17 +$PHPMAILER_LANG['from_failed'] = 'Fromアドレスを登録する際にエラーが発生しました: ';
  18 +$PHPMAILER_LANG['instantiate'] = 'メール関数が正常に動作しませんでした。';
  19 +//$PHPMAILER_LANG['invalid_address'] = 'Invalid address: ';
  20 +$PHPMAILER_LANG['provide_address'] = '少なくとも1つメールアドレスを 指定する必要があります。';
  21 +$PHPMAILER_LANG['mailer_not_supported'] = ' メーラーがサポートされていません。';
  22 +$PHPMAILER_LANG['recipients_failed'] = 'SMTPエラー: 次の受信者アドレスに 間違いがあります: ';
  23 +//$PHPMAILER_LANG['signing'] = 'Signing Error: ';
  24 +//$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() failed.';
  25 +//$PHPMAILER_LANG['smtp_error'] = 'SMTP server error: ';
  26 +//$PHPMAILER_LANG['variable_set'] = 'Cannot set or reset variable: ';
  27 +//$PHPMAILER_LANG['extension_missing'] = 'Extension missing: ';
  1 +<?php
  2 +/**
  3 + * Georgian PHPMailer language file: refer to English translation for definitive list
  4 + * @package PHPMailer
  5 + * @author Avtandil Kikabidze aka LONGMAN <akalongman@gmail.com>
  6 + */
  7 +
  8 +$PHPMAILER_LANG['authenticate'] = 'SMTP შეცდომა: ავტორიზაცია შეუძლებელია.';
  9 +$PHPMAILER_LANG['connect_host'] = 'SMTP შეცდომა: SMTP სერვერთან დაკავშირება შეუძლებელია.';
  10 +$PHPMAILER_LANG['data_not_accepted'] = 'SMTP შეცდომა: მონაცემები არ იქნა მიღებული.';
  11 +$PHPMAILER_LANG['encoding'] = 'კოდირების უცნობი ტიპი: ';
  12 +$PHPMAILER_LANG['execute'] = 'შეუძლებელია შემდეგი ბრძანების შესრულება: ';
  13 +$PHPMAILER_LANG['file_access'] = 'შეუძლებელია წვდომა ფაილთან: ';
  14 +$PHPMAILER_LANG['file_open'] = 'ფაილური სისტემის შეცდომა: არ იხსნება ფაილი: ';
  15 +$PHPMAILER_LANG['from_failed'] = 'გამგზავნის არასწორი მისამართი: ';
  16 +$PHPMAILER_LANG['instantiate'] = 'mail ფუნქციის გაშვება ვერ ხერხდება.';
  17 +$PHPMAILER_LANG['provide_address'] = 'გთხოვთ მიუთითოთ ერთი ადრესატის e-mail მისამართი მაინც.';
  18 +$PHPMAILER_LANG['mailer_not_supported'] = ' - საფოსტო სერვერის მხარდაჭერა არ არის.';
  19 +$PHPMAILER_LANG['recipients_failed'] = 'SMTP შეცდომა: შემდეგ მისამართებზე გაგზავნა ვერ მოხერხდა: ';
  20 +$PHPMAILER_LANG['empty_message'] = 'შეტყობინება ცარიელია';
  21 +$PHPMAILER_LANG['invalid_address'] = 'არ გაიგზავნა, e-mail მისამართის არასწორი ფორმატი: ';
  22 +$PHPMAILER_LANG['signing'] = 'ხელმოწერის შეცდომა: ';
  23 +$PHPMAILER_LANG['smtp_connect_failed'] = 'შეცდომა SMTP სერვერთან დაკავშირებისას';
  24 +$PHPMAILER_LANG['smtp_error'] = 'SMTP სერვერის შეცდომა: ';
  25 +$PHPMAILER_LANG['variable_set'] = 'შეუძლებელია შემდეგი ცვლადის შექმნა ან შეცვლა: ';
  26 +$PHPMAILER_LANG['extension_missing'] = 'ბიბლიოთეკა არ არსებობს: ';
  1 +<?php
  2 +/**
  3 + * Korean PHPMailer language file: refer to English translation for definitive list
  4 + * @package PHPMailer
  5 + * @author ChalkPE <amato0617@gmail.com>
  6 + */
  7 +
  8 +$PHPMAILER_LANG['authenticate'] = 'SMTP 오류: 인증할 수 없습니다.';
  9 +$PHPMAILER_LANG['connect_host'] = 'SMTP 오류: SMTP 호스트에 접속할 수 없습니다.';
  10 +$PHPMAILER_LANG['data_not_accepted'] = 'SMTP 오류: 데이터가 받아들여지지 않았습니다.';
  11 +$PHPMAILER_LANG['empty_message'] = '메세지 내용이 없습니다';
  12 +$PHPMAILER_LANG['encoding'] = '알 수 없는 인코딩: ';
  13 +$PHPMAILER_LANG['execute'] = '실행 불가: ';
  14 +$PHPMAILER_LANG['file_access'] = '파일 접근 불가: ';
  15 +$PHPMAILER_LANG['file_open'] = '파일 오류: 파일을 열 수 없습니다: ';
  16 +$PHPMAILER_LANG['from_failed'] = '다음 From 주소에서 오류가 발생했습니다: ';
  17 +$PHPMAILER_LANG['instantiate'] = 'mail 함수를 인스턴스화할 수 없습니다';
  18 +$PHPMAILER_LANG['invalid_address'] = '잘못된 주소: ';
  19 +$PHPMAILER_LANG['mailer_not_supported'] = ' 메일러는 지원되지 않습니다.';
  20 +$PHPMAILER_LANG['provide_address'] = '적어도 한 개 이상의 수신자 메일 주소를 제공해야 합니다.';
  21 +$PHPMAILER_LANG['recipients_failed'] = 'SMTP 오류: 다음 수신자에서 오류가 발생했습니다: ';
  22 +$PHPMAILER_LANG['signing'] = '서명 오류: ';
  23 +$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP 연결을 실패하였습니다.';
  24 +$PHPMAILER_LANG['smtp_error'] = 'SMTP 서버 오류: ';
  25 +$PHPMAILER_LANG['variable_set'] = '변수 설정 및 초기화 불가: ';
  26 +$PHPMAILER_LANG['extension_missing'] = '확장자 없음: ';
  1 +<?php
  2 +/**
  3 + * Lithuanian PHPMailer language file: refer to English translation for definitive list
  4 + * @package PHPMailer
  5 + * @author Dainius Kaupaitis <dk@sum.lt>
  6 + */
  7 +
  8 +$PHPMAILER_LANG['authenticate'] = 'SMTP klaida: autentifikacija nepavyko.';
  9 +$PHPMAILER_LANG['connect_host'] = 'SMTP klaida: nepavyksta prisijungti prie SMTP stoties.';
  10 +$PHPMAILER_LANG['data_not_accepted'] = 'SMTP klaida: duomenys nepriimti.';
  11 +$PHPMAILER_LANG['empty_message'] = 'Laiško turinys tuščias';
  12 +$PHPMAILER_LANG['encoding'] = 'Neatpažinta koduotė: ';
  13 +$PHPMAILER_LANG['execute'] = 'Nepavyko įvykdyti komandos: ';
  14 +$PHPMAILER_LANG['file_access'] = 'Byla nepasiekiama: ';
  15 +$PHPMAILER_LANG['file_open'] = 'Bylos klaida: Nepavyksta atidaryti: ';
  16 +$PHPMAILER_LANG['from_failed'] = 'Neteisingas siuntėjo adresas: ';
  17 +$PHPMAILER_LANG['instantiate'] = 'Nepavyko paleisti mail funkcijos.';
  18 +$PHPMAILER_LANG['invalid_address'] = 'Neteisingas adresas: ';
  19 +$PHPMAILER_LANG['mailer_not_supported'] = ' pašto stotis nepalaikoma.';
  20 +$PHPMAILER_LANG['provide_address'] = 'Nurodykite bent vieną gavėjo adresą.';
  21 +$PHPMAILER_LANG['recipients_failed'] = 'SMTP klaida: nepavyko išsiųsti šiems gavėjams: ';
  22 +$PHPMAILER_LANG['signing'] = 'Prisijungimo klaida: ';
  23 +$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP susijungimo klaida';
  24 +$PHPMAILER_LANG['smtp_error'] = 'SMTP stoties klaida: ';
  25 +$PHPMAILER_LANG['variable_set'] = 'Nepavyko priskirti reikšmės kintamajam: ';
  26 +//$PHPMAILER_LANG['extension_missing'] = 'Extension missing: ';
  1 +<?php
  2 +/**
  3 + * Latvian PHPMailer language file: refer to English translation for definitive list
  4 + * @package PHPMailer
  5 + * @author Eduards M. <e@npd.lv>
  6 + */
  7 +
  8 +$PHPMAILER_LANG['authenticate'] = 'SMTP kļūda: Autorizācija neizdevās.';
  9 +$PHPMAILER_LANG['connect_host'] = 'SMTP Kļūda: Nevar izveidot savienojumu ar SMTP serveri.';
  10 +$PHPMAILER_LANG['data_not_accepted'] = 'SMTP Kļūda: Nepieņem informāciju.';
  11 +$PHPMAILER_LANG['empty_message'] = 'Ziņojuma teksts ir tukšs';
  12 +$PHPMAILER_LANG['encoding'] = 'Neatpazīts kodējums: ';
  13 +$PHPMAILER_LANG['execute'] = 'Neizdevās izpildīt komandu: ';
  14 +$PHPMAILER_LANG['file_access'] = 'Fails nav pieejams: ';
  15 +$PHPMAILER_LANG['file_open'] = 'Faila kļūda: Nevar atvērt failu: ';
  16 +$PHPMAILER_LANG['from_failed'] = 'Nepareiza sūtītāja adrese: ';
  17 +$PHPMAILER_LANG['instantiate'] = 'Nevar palaist sūtīšanas funkciju.';
  18 +$PHPMAILER_LANG['invalid_address'] = 'Nepareiza adrese: ';
  19 +$PHPMAILER_LANG['mailer_not_supported'] = ' sūtītājs netiek atbalstīts.';
  20 +$PHPMAILER_LANG['provide_address'] = 'Lūdzu, norādiet vismaz vienu adresātu.';
  21 +$PHPMAILER_LANG['recipients_failed'] = 'SMTP kļūda: neizdevās nosūtīt šādiem saņēmējiem: ';
  22 +$PHPMAILER_LANG['signing'] = 'Autorizācijas kļūda: ';
  23 +$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP savienojuma kļūda';
  24 +$PHPMAILER_LANG['smtp_error'] = 'SMTP servera kļūda: ';
  25 +$PHPMAILER_LANG['variable_set'] = 'Nevar piešķirt mainīgā vērtību: ';
  26 +//$PHPMAILER_LANG['extension_missing'] = 'Extension missing: ';
  1 +<?php
  2 +/**
  3 + * Malagasy PHPMailer language file: refer to English translation for definitive list
  4 + * @package PHPMailer
  5 + * @author Hackinet <piyushjha8164@gmail.com>
  6 + */
  7 +$PHPMAILER_LANG['authenticate'] = 'Hadisoana SMTP: Tsy nahomby ny fanamarinana.';
  8 +$PHPMAILER_LANG['connect_host'] = 'SMTP Error: Tsy afaka mampifandray amin\'ny mpampiantrano SMTP.';
  9 +$PHPMAILER_LANG['data_not_accepted'] = 'SMTP diso: tsy voarakitra ny angona.';
  10 +$PHPMAILER_LANG['empty_message'] = 'Tsy misy ny votoaty mailaka.';
  11 +$PHPMAILER_LANG['encoding'] = 'Tsy fantatra encoding: ';
  12 +$PHPMAILER_LANG['execute'] = 'Tsy afaka manatanteraka ity baiko manaraka ity: ';
  13 +$PHPMAILER_LANG['file_access'] = 'Tsy nahomby ny fidirana amin\'ity rakitra ity: ';
  14 +$PHPMAILER_LANG['file_open'] = 'Hadisoana diso: Tsy afaka nanokatra ity file manaraka ity: ';
  15 +$PHPMAILER_LANG['from_failed'] = 'Ny adiresy iraka manaraka dia diso: ';
  16 +$PHPMAILER_LANG['instantiate'] = 'Tsy afaka nanomboka ny hetsika mail.';
  17 +$PHPMAILER_LANG['invalid_address'] = 'Tsy mety ny adiresy: ';
  18 +$PHPMAILER_LANG['mailer_not_supported'] = ' mailer tsy manohana.';
  19 +$PHPMAILER_LANG['provide_address'] = 'Alefaso azafady iray adiresy iray farafahakeliny.';
  20 +$PHPMAILER_LANG['recipients_failed'] = 'SMTP Error: Tsy mety ireo mpanaraka ireto: ';
  21 +$PHPMAILER_LANG['signing'] = 'Error nandritra ny sonia:';
  22 +$PHPMAILER_LANG['smtp_connect_failed'] = 'Tsy nahomby ny fifandraisana tamin\'ny server SMTP.';
  23 +$PHPMAILER_LANG['smtp_error'] = 'Fahadisoana tamin\'ny server SMTP: ';
  24 +$PHPMAILER_LANG['variable_set'] = 'Tsy azo atao ny mametraka na mamerina ny variable: ';
  25 +$PHPMAILER_LANG['extension_missing'] = 'Tsy hita ny ampahany: ';
  1 +<?php
  2 +/**
  3 + * Malaysian PHPMailer language file: refer to English translation for definitive list
  4 + * @package PHPMailer
  5 + * @author Nawawi Jamili <nawawi@rutweb.com>
  6 + */
  7 +
  8 +$PHPMAILER_LANG['authenticate'] = 'Ralat SMTP: Tidak dapat pengesahan.';
  9 +$PHPMAILER_LANG['connect_host'] = 'Ralat SMTP: Tidak dapat menghubungi hos pelayan SMTP.';
  10 +$PHPMAILER_LANG['data_not_accepted'] = 'Ralat SMTP: Data tidak diterima oleh pelayan.';
  11 +$PHPMAILER_LANG['empty_message'] = 'Tiada isi untuk mesej';
  12 +$PHPMAILER_LANG['encoding'] = 'Pengekodan tidak diketahui: ';
  13 +$PHPMAILER_LANG['execute'] = 'Tidak dapat melaksanakan: ';
  14 +$PHPMAILER_LANG['file_access'] = 'Tidak dapat mengakses fail: ';
  15 +$PHPMAILER_LANG['file_open'] = 'Ralat Fail: Tidak dapat membuka fail: ';
  16 +$PHPMAILER_LANG['from_failed'] = 'Berikut merupakan ralat dari alamat e-mel: ';
  17 +$PHPMAILER_LANG['instantiate'] = 'Tidak dapat memberi contoh fungsi e-mel.';
  18 +$PHPMAILER_LANG['invalid_address'] = 'Alamat emel tidak sah: ';
  19 +$PHPMAILER_LANG['mailer_not_supported'] = ' jenis penghantar emel tidak disokong.';
  20 +$PHPMAILER_LANG['provide_address'] = 'Anda perlu menyediakan sekurang-kurangnya satu alamat e-mel penerima.';
  21 +$PHPMAILER_LANG['recipients_failed'] = 'Ralat SMTP: Penerima e-mel berikut telah gagal: ';
  22 +$PHPMAILER_LANG['signing'] = 'Ralat pada tanda tangan: ';
  23 +$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() telah gagal.';
  24 +$PHPMAILER_LANG['smtp_error'] = 'Ralat pada pelayan SMTP: ';
  25 +$PHPMAILER_LANG['variable_set'] = 'Tidak boleh menetapkan atau menetapkan semula pembolehubah: ';
  26 +$PHPMAILER_LANG['extension_missing'] = 'Sambungan hilang: ';
  1 +<?php
  2 +/**
  3 + * Norwegian Bokmål PHPMailer language file: refer to English translation for definitive list
  4 + * @package PHPMailer
  5 + */
  6 +
  7 +$PHPMAILER_LANG['authenticate'] = 'SMTP Feil: Kunne ikke autentisere.';
  8 +$PHPMAILER_LANG['connect_host'] = 'SMTP Feil: Kunne ikke koble til SMTP tjener.';
  9 +$PHPMAILER_LANG['data_not_accepted'] = 'SMTP Feil: Datainnhold ikke akseptert.';
  10 +$PHPMAILER_LANG['empty_message'] = 'Meldingsinnhold mangler';
  11 +$PHPMAILER_LANG['encoding'] = 'Ukjent koding: ';
  12 +$PHPMAILER_LANG['execute'] = 'Kunne ikke utføre: ';
  13 +$PHPMAILER_LANG['file_access'] = 'Får ikke tilgang til filen: ';
  14 +$PHPMAILER_LANG['file_open'] = 'Fil Feil: Kunne ikke åpne filen: ';
  15 +$PHPMAILER_LANG['from_failed'] = 'Følgende Frå adresse feilet: ';
  16 +$PHPMAILER_LANG['instantiate'] = 'Kunne ikke initialisere post funksjon.';
  17 +$PHPMAILER_LANG['invalid_address'] = 'Ugyldig adresse: ';
  18 +$PHPMAILER_LANG['mailer_not_supported'] = ' sender er ikke støttet.';
  19 +$PHPMAILER_LANG['provide_address'] = 'Du må opppgi minst en mottakeradresse.';
  20 +$PHPMAILER_LANG['recipients_failed'] = 'SMTP Feil: Følgende mottakeradresse feilet: ';
  21 +$PHPMAILER_LANG['signing'] = 'Signering Feil: ';
  22 +$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP connect() feilet.';
  23 +$PHPMAILER_LANG['smtp_error'] = 'SMTP server feil: ';
  24 +$PHPMAILER_LANG['variable_set'] = 'Kan ikke skrive eller omskrive variabel: ';
  25 +$PHPMAILER_LANG['extension_missing'] = 'Utvidelse mangler: ';
  1 +<?php
  2 +/**
  3 + * Dutch PHPMailer language file: refer to PHPMailer.php for definitive list.
  4 + * @package PHPMailer
  5 + * @author Tuxion <team@tuxion.nl>
  6 + */
  7 +
  8 +$PHPMAILER_LANG['authenticate'] = 'SMTP-fout: authenticatie mislukt.';
  9 +$PHPMAILER_LANG['connect_host'] = 'SMTP-fout: kon niet verbinden met SMTP-host.';
  10 +$PHPMAILER_LANG['data_not_accepted'] = 'SMTP-fout: data niet geaccepteerd.';
  11 +$PHPMAILER_LANG['empty_message'] = 'Berichttekst is leeg';
  12 +$PHPMAILER_LANG['encoding'] = 'Onbekende codering: ';
  13 +$PHPMAILER_LANG['execute'] = 'Kon niet uitvoeren: ';
  14 +$PHPMAILER_LANG['file_access'] = 'Kreeg geen toegang tot bestand: ';
  15 +$PHPMAILER_LANG['file_open'] = 'Bestandsfout: kon bestand niet openen: ';
  16 +$PHPMAILER_LANG['from_failed'] = 'Het volgende afzendersadres is mislukt: ';
  17 +$PHPMAILER_LANG['instantiate'] = 'Kon mailfunctie niet initialiseren.';
  18 +$PHPMAILER_LANG['invalid_address'] = 'Ongeldig adres: ';
  19 +$PHPMAILER_LANG['invalid_hostentry'] = 'Ongeldige hostentry: ';
  20 +$PHPMAILER_LANG['invalid_host'] = 'Ongeldige host: ';
  21 +$PHPMAILER_LANG['mailer_not_supported'] = ' mailer wordt niet ondersteund.';
  22 +$PHPMAILER_LANG['provide_address'] = 'Er moet minstens één ontvanger worden opgegeven.';
  23 +$PHPMAILER_LANG['recipients_failed'] = 'SMTP-fout: de volgende ontvangers zijn mislukt: ';
  24 +$PHPMAILER_LANG['signing'] = 'Signeerfout: ';
  25 +$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Verbinding mislukt.';
  26 +$PHPMAILER_LANG['smtp_error'] = 'SMTP-serverfout: ';
  27 +$PHPMAILER_LANG['variable_set'] = 'Kan de volgende variabele niet instellen of resetten: ';
  28 +$PHPMAILER_LANG['extension_missing'] = 'Extensie afwezig: ';
  1 +<?php
  2 +/**
  3 + * Polish PHPMailer language file: refer to English translation for definitive list
  4 + * @package PHPMailer
  5 + */
  6 +
  7 +$PHPMAILER_LANG['authenticate'] = 'Błąd SMTP: Nie można przeprowadzić uwierzytelnienia.';
  8 +$PHPMAILER_LANG['connect_host'] = 'Błąd SMTP: Nie można połączyć się z wybranym hostem.';
  9 +$PHPMAILER_LANG['data_not_accepted'] = 'Błąd SMTP: Dane nie zostały przyjęte.';
  10 +$PHPMAILER_LANG['empty_message'] = 'Wiadomość jest pusta.';
  11 +$PHPMAILER_LANG['encoding'] = 'Nieznany sposób kodowania znaków: ';
  12 +$PHPMAILER_LANG['execute'] = 'Nie można uruchomić: ';
  13 +$PHPMAILER_LANG['file_access'] = 'Brak dostępu do pliku: ';
  14 +$PHPMAILER_LANG['file_open'] = 'Nie można otworzyć pliku: ';
  15 +$PHPMAILER_LANG['from_failed'] = 'Następujący adres Nadawcy jest nieprawidłowy: ';
  16 +$PHPMAILER_LANG['instantiate'] = 'Nie można wywołać funkcji mail(). Sprawdź konfigurację serwera.';
  17 +$PHPMAILER_LANG['invalid_address'] = 'Nie można wysłać wiadomości, '.
  18 + 'następujący adres Odbiorcy jest nieprawidłowy: ';
  19 +$PHPMAILER_LANG['provide_address'] = 'Należy podać prawidłowy adres email Odbiorcy.';
  20 +$PHPMAILER_LANG['mailer_not_supported'] = 'Wybrana metoda wysyłki wiadomości nie jest obsługiwana.';
  21 +$PHPMAILER_LANG['recipients_failed'] = 'Błąd SMTP: Następujący odbiorcy są nieprawidłowi: ';
  22 +$PHPMAILER_LANG['signing'] = 'Błąd podpisywania wiadomości: ';
  23 +$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() zakończone niepowodzeniem.';
  24 +$PHPMAILER_LANG['smtp_error'] = 'Błąd SMTP: ';
  25 +$PHPMAILER_LANG['variable_set'] = 'Nie można ustawić lub zmodyfikować zmiennej: ';
  26 +$PHPMAILER_LANG['extension_missing'] = 'Brakujące rozszerzenie: ';
  1 +<?php
  2 +/**
  3 + * Portuguese (European) PHPMailer language file: refer to English translation for definitive list
  4 + * @package PHPMailer
  5 + * @author Jonadabe <jonadabe@hotmail.com>
  6 + */
  7 +
  8 +$PHPMAILER_LANG['authenticate'] = 'Erro do SMTP: Não foi possível realizar a autenticação.';
  9 +$PHPMAILER_LANG['connect_host'] = 'Erro do SMTP: Não foi possível realizar ligação com o servidor SMTP.';
  10 +$PHPMAILER_LANG['data_not_accepted'] = 'Erro do SMTP: Os dados foram rejeitados.';
  11 +$PHPMAILER_LANG['empty_message'] = 'A mensagem no e-mail está vazia.';
  12 +$PHPMAILER_LANG['encoding'] = 'Codificação desconhecida: ';
  13 +$PHPMAILER_LANG['execute'] = 'Não foi possível executar: ';
  14 +$PHPMAILER_LANG['file_access'] = 'Não foi possível aceder o ficheiro: ';
  15 +$PHPMAILER_LANG['file_open'] = 'Abertura do ficheiro: Não foi possível abrir o ficheiro: ';
  16 +$PHPMAILER_LANG['from_failed'] = 'Ocorreram falhas nos endereços dos seguintes remententes: ';
  17 +$PHPMAILER_LANG['instantiate'] = 'Não foi possível iniciar uma instância da função mail.';
  18 +$PHPMAILER_LANG['invalid_address'] = 'Não foi enviado nenhum e-mail para o endereço de e-mail inválido: ';
  19 +$PHPMAILER_LANG['mailer_not_supported'] = ' mailer não é suportado.';
  20 +$PHPMAILER_LANG['provide_address'] = 'Tem de fornecer pelo menos um endereço como destinatário do e-mail.';
  21 +$PHPMAILER_LANG['recipients_failed'] = 'Erro do SMTP: O endereço do seguinte destinatário falhou: ';
  22 +$PHPMAILER_LANG['signing'] = 'Erro ao assinar: ';
  23 +$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() falhou.';
  24 +$PHPMAILER_LANG['smtp_error'] = 'Erro de servidor SMTP: ';
  25 +$PHPMAILER_LANG['variable_set'] = 'Não foi possível definir ou redefinir a variável: ';
  26 +$PHPMAILER_LANG['extension_missing'] = 'Extensão em falta: ';
  1 +<?php
  2 +/**
  3 + * Brazilian Portuguese PHPMailer language file: refer to English translation for definitive list
  4 + * @package PHPMailer
  5 + * @author Paulo Henrique Garcia <paulo@controllerweb.com.br>
  6 + * @author Lucas Guimarães <lucas@lucasguimaraes.com>
  7 + * @author Phelipe Alves <phelipealvesdesouza@gmail.com>
  8 + * @author Fabio Beneditto <fabiobeneditto@gmail.com>
  9 + */
  10 +
  11 +$PHPMAILER_LANG['authenticate'] = 'Erro de SMTP: Não foi possível autenticar.';
  12 +$PHPMAILER_LANG['connect_host'] = 'Erro de SMTP: Não foi possível conectar ao servidor SMTP.';
  13 +$PHPMAILER_LANG['data_not_accepted'] = 'Erro de SMTP: Dados rejeitados.';
  14 +$PHPMAILER_LANG['empty_message'] = 'Mensagem vazia';
  15 +$PHPMAILER_LANG['encoding'] = 'Codificação desconhecida: ';
  16 +$PHPMAILER_LANG['execute'] = 'Não foi possível executar: ';
  17 +$PHPMAILER_LANG['file_access'] = 'Não foi possível acessar o arquivo: ';
  18 +$PHPMAILER_LANG['file_open'] = 'Erro de Arquivo: Não foi possível abrir o arquivo: ';
  19 +$PHPMAILER_LANG['from_failed'] = 'Os seguintes remetentes falharam: ';
  20 +$PHPMAILER_LANG['instantiate'] = 'Não foi possível instanciar a função mail.';
  21 +$PHPMAILER_LANG['invalid_address'] = 'Endereço de e-mail inválido: ';
  22 +$PHPMAILER_LANG['mailer_not_supported'] = ' mailer não é suportado.';
  23 +$PHPMAILER_LANG['provide_address'] = 'Você deve informar pelo menos um destinatário.';
  24 +$PHPMAILER_LANG['recipients_failed'] = 'Erro de SMTP: Os seguintes destinatários falharam: ';
  25 +$PHPMAILER_LANG['signing'] = 'Erro de Assinatura: ';
  26 +$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() falhou.';
  27 +$PHPMAILER_LANG['smtp_error'] = 'Erro de servidor SMTP: ';
  28 +$PHPMAILER_LANG['variable_set'] = 'Não foi possível definir ou redefinir a variável: ';
  29 +$PHPMAILER_LANG['extension_missing'] = 'Extensão não existe: ';
  1 +<?php
  2 +/**
  3 + * Romanian PHPMailer language file: refer to English translation for definitive list
  4 + * @package PHPMailer
  5 + * @author Alex Florea <alecz.fia@gmail.com>
  6 + */
  7 +
  8 +$PHPMAILER_LANG['authenticate'] = 'Eroare SMTP: Autentificarea a eșuat.';
  9 +$PHPMAILER_LANG['connect_host'] = 'Eroare SMTP: Conectarea la serverul SMTP a eșuat.';
  10 +$PHPMAILER_LANG['data_not_accepted'] = 'Eroare SMTP: Datele nu au fost acceptate.';
  11 +$PHPMAILER_LANG['empty_message'] = 'Mesajul este gol.';
  12 +$PHPMAILER_LANG['encoding'] = 'Encodare necunoscută: ';
  13 +$PHPMAILER_LANG['execute'] = 'Nu se poate executa următoarea comandă: ';
  14 +$PHPMAILER_LANG['file_access'] = 'Nu se poate accesa următorul fișier: ';
  15 +$PHPMAILER_LANG['file_open'] = 'Eroare fișier: Nu se poate deschide următorul fișier: ';
  16 +$PHPMAILER_LANG['from_failed'] = 'Următoarele adrese From au dat eroare: ';
  17 +$PHPMAILER_LANG['instantiate'] = 'Funcția mail nu a putut fi inițializată.';
  18 +$PHPMAILER_LANG['invalid_address'] = 'Adresa de email nu este validă: ';
  19 +$PHPMAILER_LANG['mailer_not_supported'] = ' mailer nu este suportat.';
  20 +$PHPMAILER_LANG['provide_address'] = 'Trebuie să adăugați cel puțin o adresă de email.';
  21 +$PHPMAILER_LANG['recipients_failed'] = 'Eroare SMTP: Următoarele adrese de email au eșuat: ';
  22 +$PHPMAILER_LANG['signing'] = 'A aparut o problemă la semnarea emailului. ';
  23 +$PHPMAILER_LANG['smtp_connect_failed'] = 'Conectarea la serverul SMTP a eșuat.';
  24 +$PHPMAILER_LANG['smtp_error'] = 'Eroare server SMTP: ';
  25 +$PHPMAILER_LANG['variable_set'] = 'Nu se poate seta/reseta variabila. ';
  26 +$PHPMAILER_LANG['extension_missing'] = 'Lipsește extensia: ';
  1 +<?php
  2 +/**
  3 + * Russian PHPMailer language file: refer to English translation for definitive list
  4 + * @package PHPMailer
  5 + * @author Alexey Chumakov <alex@chumakov.ru>
  6 + * @author Foster Snowhill <i18n@forstwoof.ru>
  7 + */
  8 +
  9 +$PHPMAILER_LANG['authenticate'] = 'Ошибка SMTP: ошибка авторизации.';
  10 +$PHPMAILER_LANG['connect_host'] = 'Ошибка SMTP: не удается подключиться к SMTP-серверу.';
  11 +$PHPMAILER_LANG['data_not_accepted'] = 'Ошибка SMTP: данные не приняты.';
  12 +$PHPMAILER_LANG['encoding'] = 'Неизвестная кодировка: ';
  13 +$PHPMAILER_LANG['execute'] = 'Невозможно выполнить команду: ';
  14 +$PHPMAILER_LANG['file_access'] = 'Нет доступа к файлу: ';
  15 +$PHPMAILER_LANG['file_open'] = 'Файловая ошибка: не удаётся открыть файл: ';
  16 +$PHPMAILER_LANG['from_failed'] = 'Неверный адрес отправителя: ';
  17 +$PHPMAILER_LANG['instantiate'] = 'Невозможно запустить функцию mail().';
  18 +$PHPMAILER_LANG['provide_address'] = 'Пожалуйста, введите хотя бы один email-адрес получателя.';
  19 +$PHPMAILER_LANG['mailer_not_supported'] = ' — почтовый сервер не поддерживается.';
  20 +$PHPMAILER_LANG['recipients_failed'] = 'Ошибка SMTP: не удалась отправка таким адресатам: ';
  21 +$PHPMAILER_LANG['empty_message'] = 'Пустое сообщение';
  22 +$PHPMAILER_LANG['invalid_address'] = 'Не отправлено из-за неправильного формата email-адреса: ';
  23 +$PHPMAILER_LANG['signing'] = 'Ошибка подписи: ';
  24 +$PHPMAILER_LANG['smtp_connect_failed'] = 'Ошибка соединения с SMTP-сервером';
  25 +$PHPMAILER_LANG['smtp_error'] = 'Ошибка SMTP-сервера: ';
  26 +$PHPMAILER_LANG['variable_set'] = 'Невозможно установить или сбросить переменную: ';
  27 +$PHPMAILER_LANG['extension_missing'] = 'Расширение отсутствует: ';
  1 +<?php
  2 +/**
  3 + * Slovak PHPMailer language file: refer to English translation for definitive list
  4 + * @package PHPMailer
  5 + * @author Michal Tinka <michaltinka@gmail.com>
  6 + * @author Peter Orlický <pcmanik91@gmail.com>
  7 + */
  8 +
  9 +$PHPMAILER_LANG['authenticate'] = 'SMTP Error: Chyba autentifikácie.';
  10 +$PHPMAILER_LANG['connect_host'] = 'SMTP Error: Nebolo možné nadviazať spojenie so SMTP serverom.';
  11 +$PHPMAILER_LANG['data_not_accepted'] = 'SMTP Error: Dáta neboli prijaté';
  12 +$PHPMAILER_LANG['empty_message'] = 'Prázdne telo správy.';
  13 +$PHPMAILER_LANG['encoding'] = 'Neznáme kódovanie: ';
  14 +$PHPMAILER_LANG['execute'] = 'Nedá sa vykonať: ';
  15 +$PHPMAILER_LANG['file_access'] = 'Súbor nebol nájdený: ';
  16 +$PHPMAILER_LANG['file_open'] = 'File Error: Súbor sa otvoriť pre čítanie: ';
  17 +$PHPMAILER_LANG['from_failed'] = 'Následujúca adresa From je nesprávna: ';
  18 +$PHPMAILER_LANG['instantiate'] = 'Nedá sa vytvoriť inštancia emailovej funkcie.';
  19 +$PHPMAILER_LANG['invalid_address'] = 'Neodoslané, emailová adresa je nesprávna: ';
  20 +$PHPMAILER_LANG['mailer_not_supported'] = ' emailový klient nieje podporovaný.';
  21 +$PHPMAILER_LANG['provide_address'] = 'Musíte zadať aspoň jednu emailovú adresu príjemcu.';
  22 +$PHPMAILER_LANG['recipients_failed'] = 'SMTP Error: Adresy príjemcov niesu správne ';
  23 +$PHPMAILER_LANG['signing'] = 'Chyba prihlasovania: ';
  24 +$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() zlyhalo.';
  25 +$PHPMAILER_LANG['smtp_error'] = 'SMTP chyba serveru: ';
  26 +$PHPMAILER_LANG['variable_set'] = 'Nemožno nastaviť alebo resetovať premennú: ';
  27 +$PHPMAILER_LANG['extension_missing'] = 'Chýba rozšírenie: ';
  1 +<?php
  2 +/**
  3 + * Slovene PHPMailer language file: refer to English translation for definitive list
  4 + * @package PHPMailer
  5 + * @author Klemen Tušar <techouse@gmail.com>
  6 + * @author Filip Š <projects@filips.si>
  7 + */
  8 +
  9 +$PHPMAILER_LANG['authenticate'] = 'SMTP napaka: Avtentikacija ni uspela.';
  10 +$PHPMAILER_LANG['connect_host'] = 'SMTP napaka: Vzpostavljanje povezave s SMTP gostiteljem ni uspelo.';
  11 +$PHPMAILER_LANG['data_not_accepted'] = 'SMTP napaka: Strežnik zavrača podatke.';
  12 +$PHPMAILER_LANG['empty_message'] = 'E-poštno sporočilo nima vsebine.';
  13 +$PHPMAILER_LANG['encoding'] = 'Nepoznan tip kodiranja: ';
  14 +$PHPMAILER_LANG['execute'] = 'Operacija ni uspela: ';
  15 +$PHPMAILER_LANG['file_access'] = 'Nimam dostopa do datoteke: ';
  16 +$PHPMAILER_LANG['file_open'] = 'Ne morem odpreti datoteke: ';
  17 +$PHPMAILER_LANG['from_failed'] = 'Neveljaven e-naslov pošiljatelja: ';
  18 +$PHPMAILER_LANG['instantiate'] = 'Ne morem inicializirati mail funkcije.';
  19 +$PHPMAILER_LANG['invalid_address'] = 'E-poštno sporočilo ni bilo poslano. E-naslov je neveljaven: ';
  20 +$PHPMAILER_LANG['mailer_not_supported'] = ' mailer ni podprt.';
  21 +$PHPMAILER_LANG['provide_address'] = 'Prosim vnesite vsaj enega naslovnika.';
  22 +$PHPMAILER_LANG['recipients_failed'] = 'SMTP napaka: Sledeči naslovniki so neveljavni: ';
  23 +$PHPMAILER_LANG['signing'] = 'Napaka pri podpisovanju: ';
  24 +$PHPMAILER_LANG['smtp_connect_failed'] = 'Ne morem vzpostaviti povezave s SMTP strežnikom.';
  25 +$PHPMAILER_LANG['smtp_error'] = 'Napaka SMTP strežnika: ';
  26 +$PHPMAILER_LANG['variable_set'] = 'Ne morem nastaviti oz. ponastaviti spremenljivke: ';
  27 +$PHPMAILER_LANG['extension_missing'] = 'Manjkajoča razširitev: ';
  1 +<?php
  2 +/**
  3 + * Serbian PHPMailer language file: refer to English translation for definitive list
  4 + * @package PHPMailer
  5 + * @author Александар Јевремовић <ajevremovic@gmail.com>
  6 + * @author Miloš Milanović <mmilanovic016@gmail.com>
  7 + */
  8 +
  9 +$PHPMAILER_LANG['authenticate'] = 'SMTP грешка: аутентификација није успела.';
  10 +$PHPMAILER_LANG['connect_host'] = 'SMTP грешка: повезивање са SMTP сервером није успело.';
  11 +$PHPMAILER_LANG['data_not_accepted'] = 'SMTP грешка: подаци нису прихваћени.';
  12 +$PHPMAILER_LANG['empty_message'] = 'Садржај поруке је празан.';
  13 +$PHPMAILER_LANG['encoding'] = 'Непознато кодирање: ';
  14 +$PHPMAILER_LANG['execute'] = 'Није могуће извршити наредбу: ';
  15 +$PHPMAILER_LANG['file_access'] = 'Није могуће приступити датотеци: ';
  16 +$PHPMAILER_LANG['file_open'] = 'Није могуће отворити датотеку: ';
  17 +$PHPMAILER_LANG['from_failed'] = 'SMTP грешка: слање са следећих адреса није успело: ';
  18 +$PHPMAILER_LANG['recipients_failed'] = 'SMTP грешка: слање на следеће адресе није успело: ';
  19 +$PHPMAILER_LANG['instantiate'] = 'Није могуће покренути mail функцију.';
  20 +$PHPMAILER_LANG['invalid_address'] = 'Порука није послата. Неисправна адреса: ';
  21 +$PHPMAILER_LANG['mailer_not_supported'] = ' мејлер није подржан.';
  22 +$PHPMAILER_LANG['provide_address'] = 'Дефинишите бар једну адресу примаоца.';
  23 +$PHPMAILER_LANG['signing'] = 'Грешка приликом пријаве: ';
  24 +$PHPMAILER_LANG['smtp_connect_failed'] = 'Повезивање са SMTP сервером није успело.';
  25 +$PHPMAILER_LANG['smtp_error'] = 'Грешка SMTP сервера: ';
  26 +$PHPMAILER_LANG['variable_set'] = 'Није могуће задати нити ресетовати променљиву: ';
  27 +$PHPMAILER_LANG['extension_missing'] = 'Недостаје проширење: ';
  1 +<?php
  2 +/**
  3 + * Swedish PHPMailer language file: refer to English translation for definitive list
  4 + * @package PHPMailer
  5 + * @author Johan Linnér <johan@linner.biz>
  6 + */
  7 +
  8 +$PHPMAILER_LANG['authenticate'] = 'SMTP fel: Kunde inte autentisera.';
  9 +$PHPMAILER_LANG['connect_host'] = 'SMTP fel: Kunde inte ansluta till SMTP-server.';
  10 +$PHPMAILER_LANG['data_not_accepted'] = 'SMTP fel: Data accepterades inte.';
  11 +//$PHPMAILER_LANG['empty_message'] = 'Message body empty';
  12 +$PHPMAILER_LANG['encoding'] = 'Okänt encode-format: ';
  13 +$PHPMAILER_LANG['execute'] = 'Kunde inte köra: ';
  14 +$PHPMAILER_LANG['file_access'] = 'Ingen åtkomst till fil: ';
  15 +$PHPMAILER_LANG['file_open'] = 'Fil fel: Kunde inte öppna fil: ';
  16 +$PHPMAILER_LANG['from_failed'] = 'Följande avsändaradress är felaktig: ';
  17 +$PHPMAILER_LANG['instantiate'] = 'Kunde inte initiera e-postfunktion.';
  18 +$PHPMAILER_LANG['invalid_address'] = 'Felaktig adress: ';
  19 +$PHPMAILER_LANG['provide_address'] = 'Du måste ange minst en mottagares e-postadress.';
  20 +$PHPMAILER_LANG['mailer_not_supported'] = ' mailer stöds inte.';
  21 +$PHPMAILER_LANG['recipients_failed'] = 'SMTP fel: Följande mottagare är felaktig: ';
  22 +$PHPMAILER_LANG['signing'] = 'Signerings fel: ';
  23 +$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() misslyckades.';
  24 +$PHPMAILER_LANG['smtp_error'] = 'SMTP server fel: ';
  25 +$PHPMAILER_LANG['variable_set'] = 'Kunde inte definiera eller återställa variabel: ';
  26 +$PHPMAILER_LANG['extension_missing'] = 'Tillägg ej tillgängligt: ';
  1 +<?php
  2 +/**
  3 + * Tagalog PHPMailer language file: refer to English translation for definitive list
  4 + *
  5 + * @package PHPMailer
  6 + * @author Adriane Justine Tan <adrianetan12@gmail.com>
  7 + */
  8 +
  9 +$PHPMAILER_LANG['authenticate'] = 'SMTP Error: Hindi mapatotohanan.';
  10 +$PHPMAILER_LANG['connect_host'] = 'SMTP Error: Hindi makakonekta sa SMTP host.';
  11 +$PHPMAILER_LANG['data_not_accepted'] = 'SMTP Error: Ang datos ay hindi maaaring matatanggap.';
  12 +$PHPMAILER_LANG['empty_message'] = 'Walang laman ang mensahe';
  13 +$PHPMAILER_LANG['encoding'] = 'Hindi alam ang encoding: ';
  14 +$PHPMAILER_LANG['execute'] = 'Hindi maisasagawa: ';
  15 +$PHPMAILER_LANG['file_access'] = 'Hindi ma-access ang file: ';
  16 +$PHPMAILER_LANG['file_open'] = 'Hindi mabuksan ang file: ';
  17 +$PHPMAILER_LANG['from_failed'] = 'Ang sumusunod na address ay nabigo: ';
  18 +$PHPMAILER_LANG['instantiate'] = 'Hindi maaaring magbigay ng institusyon ang mail';
  19 +$PHPMAILER_LANG['invalid_address'] = 'Hindi wasto ang address na naibigay: ';
  20 +$PHPMAILER_LANG['mailer_not_supported'] = 'Ang mailer ay hindi suportado';
  21 +$PHPMAILER_LANG['provide_address'] = 'Kailangan mong magbigay ng kahit isang email address na tatanggap';
  22 +$PHPMAILER_LANG['recipients_failed'] = 'SMTP Error: Ang mga sumusunod na tatanggap ay nabigo: ';
  23 +$PHPMAILER_LANG['signing'] = 'Hindi ma-sign';
  24 +$PHPMAILER_LANG['smtp_connect_failed'] = 'Ang SMTP connect() ay nabigo';
  25 +$PHPMAILER_LANG['smtp_error'] = 'Ang server ng SMTP ay nabigo';
  26 +$PHPMAILER_LANG['variable_set'] = 'Hindi matatakda ang mga variables: ';
  27 +$PHPMAILER_LANG['extension_missing'] = 'Nawawala ang extension';
  1 +<?php
  2 +/**
  3 + * Turkish PHPMailer language file: refer to English translation for definitive list
  4 + * @package PHPMailer
  5 + * @author Elçin Özel
  6 + * @author Can Yılmaz
  7 + * @author Mehmet Benlioğlu
  8 + * @author @yasinaydin
  9 + * @author Ogün Karakuş
  10 + */
  11 +
  12 +$PHPMAILER_LANG['authenticate'] = 'SMTP Hatası: Oturum açılamadı.';
  13 +$PHPMAILER_LANG['connect_host'] = 'SMTP Hatası: SMTP sunucusuna bağlanılamadı.';
  14 +$PHPMAILER_LANG['data_not_accepted'] = 'SMTP Hatası: Veri kabul edilmedi.';
  15 +$PHPMAILER_LANG['empty_message'] = 'Mesajın içeriği boş';
  16 +$PHPMAILER_LANG['encoding'] = 'Bilinmeyen karakter kodlama: ';
  17 +$PHPMAILER_LANG['execute'] = 'Çalıştırılamadı: ';
  18 +$PHPMAILER_LANG['file_access'] = 'Dosyaya erişilemedi: ';
  19 +$PHPMAILER_LANG['file_open'] = 'Dosya Hatası: Dosya açılamadı: ';
  20 +$PHPMAILER_LANG['from_failed'] = 'Belirtilen adreslere gönderme başarısız: ';
  21 +$PHPMAILER_LANG['instantiate'] = 'Örnek e-posta fonksiyonu oluşturulamadı.';
  22 +$PHPMAILER_LANG['invalid_address'] = 'Geçersiz e-posta adresi: ';
  23 +$PHPMAILER_LANG['mailer_not_supported'] = ' e-posta kütüphanesi desteklenmiyor.';
  24 +$PHPMAILER_LANG['provide_address'] = 'En az bir alıcı e-posta adresi belirtmelisiniz.';
  25 +$PHPMAILER_LANG['recipients_failed'] = 'SMTP Hatası: Belirtilen alıcılara ulaşılamadı: ';
  26 +$PHPMAILER_LANG['signing'] = 'İmzalama hatası: ';
  27 +$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP connect() fonksiyonu başarısız.';
  28 +$PHPMAILER_LANG['smtp_error'] = 'SMTP sunucu hatası: ';
  29 +$PHPMAILER_LANG['variable_set'] = 'Değişken ayarlanamadı ya da sıfırlanamadı: ';
  30 +$PHPMAILER_LANG['extension_missing'] = 'Eklenti bulunamadı: ';
  1 +<?php
  2 +/**
  3 + * Ukrainian PHPMailer language file: refer to English translation for definitive list
  4 + * @package PHPMailer
  5 + * @author Yuriy Rudyy <yrudyy@prs.net.ua>
  6 + * @fixed by Boris Yurchenko <boris@yurchenko.pp.ua>
  7 + */
  8 +
  9 +$PHPMAILER_LANG['authenticate'] = 'Помилка SMTP: помилка авторизації.';
  10 +$PHPMAILER_LANG['connect_host'] = 'Помилка SMTP: не вдається під\'єднатися до SMTP-серверу.';
  11 +$PHPMAILER_LANG['data_not_accepted'] = 'Помилка SMTP: дані не прийнято.';
  12 +$PHPMAILER_LANG['encoding'] = 'Невідоме кодування: ';
  13 +$PHPMAILER_LANG['execute'] = 'Неможливо виконати команду: ';
  14 +$PHPMAILER_LANG['file_access'] = 'Немає доступу до файлу: ';
  15 +$PHPMAILER_LANG['file_open'] = 'Помилка файлової системи: не вдається відкрити файл: ';
  16 +$PHPMAILER_LANG['from_failed'] = 'Невірна адреса відправника: ';
  17 +$PHPMAILER_LANG['instantiate'] = 'Неможливо запустити функцію mail().';
  18 +$PHPMAILER_LANG['provide_address'] = 'Будь-ласка, введіть хоча б одну email-адресу отримувача.';
  19 +$PHPMAILER_LANG['mailer_not_supported'] = ' - поштовий сервер не підтримується.';
  20 +$PHPMAILER_LANG['recipients_failed'] = 'Помилка SMTP: не вдалося відправлення для таких отримувачів: ';
  21 +$PHPMAILER_LANG['empty_message'] = 'Пусте повідомлення';
  22 +$PHPMAILER_LANG['invalid_address'] = 'Не відправлено через невірний формат email-адреси: ';
  23 +$PHPMAILER_LANG['signing'] = 'Помилка підпису: ';
  24 +$PHPMAILER_LANG['smtp_connect_failed'] = 'Помилка з\'єднання з SMTP-сервером';
  25 +$PHPMAILER_LANG['smtp_error'] = 'Помилка SMTP-сервера: ';
  26 +$PHPMAILER_LANG['variable_set'] = 'Неможливо встановити або скинути змінну: ';
  27 +$PHPMAILER_LANG['extension_missing'] = 'Розширення відсутнє: ';
  1 +<?php
  2 +/**
  3 + * Vietnamese (Tiếng Việt) PHPMailer language file: refer to English translation for definitive list.
  4 + * @package PHPMailer
  5 + * @author VINADES.,JSC <contact@vinades.vn>
  6 + */
  7 +
  8 +$PHPMAILER_LANG['authenticate'] = 'Lỗi SMTP: Không thể xác thực.';
  9 +$PHPMAILER_LANG['connect_host'] = 'Lỗi SMTP: Không thể kết nối máy chủ SMTP.';
  10 +$PHPMAILER_LANG['data_not_accepted'] = 'Lỗi SMTP: Dữ liệu không được chấp nhận.';
  11 +$PHPMAILER_LANG['empty_message'] = 'Không có nội dung';
  12 +$PHPMAILER_LANG['encoding'] = 'Mã hóa không xác định: ';
  13 +$PHPMAILER_LANG['execute'] = 'Không thực hiện được: ';
  14 +$PHPMAILER_LANG['file_access'] = 'Không thể truy cập tệp tin ';
  15 +$PHPMAILER_LANG['file_open'] = 'Lỗi Tập tin: Không thể mở tệp tin: ';
  16 +$PHPMAILER_LANG['from_failed'] = 'Lỗi địa chỉ gửi đi: ';
  17 +$PHPMAILER_LANG['instantiate'] = 'Không dùng được các hàm gửi thư.';
  18 +$PHPMAILER_LANG['invalid_address'] = 'Đại chỉ emai không đúng: ';
  19 +$PHPMAILER_LANG['mailer_not_supported'] = ' trình gửi thư không được hỗ trợ.';
  20 +$PHPMAILER_LANG['provide_address'] = 'Bạn phải cung cấp ít nhất một địa chỉ người nhận.';
  21 +$PHPMAILER_LANG['recipients_failed'] = 'Lỗi SMTP: lỗi địa chỉ người nhận: ';
  22 +$PHPMAILER_LANG['signing'] = 'Lỗi đăng nhập: ';
  23 +$PHPMAILER_LANG['smtp_connect_failed'] = 'Lỗi kết nối với SMTP';
  24 +$PHPMAILER_LANG['smtp_error'] = 'Lỗi máy chủ smtp ';
  25 +$PHPMAILER_LANG['variable_set'] = 'Không thể thiết lập hoặc thiết lập lại biến: ';
  26 +//$PHPMAILER_LANG['extension_missing'] = 'Extension missing: ';
  1 +<?php
  2 +/**
  3 + * Traditional Chinese PHPMailer language file: refer to English translation for definitive list
  4 + * @package PHPMailer
  5 + * @author liqwei <liqwei@liqwei.com>
  6 + * @author Peter Dave Hello <@PeterDaveHello/>
  7 + * @author Jason Chiang <xcojad@gmail.com>
  8 + */
  9 +
  10 +$PHPMAILER_LANG['authenticate'] = 'SMTP 錯誤:登入失敗。';
  11 +$PHPMAILER_LANG['connect_host'] = 'SMTP 錯誤:無法連線到 SMTP 主機。';
  12 +$PHPMAILER_LANG['data_not_accepted'] = 'SMTP 錯誤:無法接受的資料。';
  13 +$PHPMAILER_LANG['empty_message'] = '郵件內容為空';
  14 +$PHPMAILER_LANG['encoding'] = '未知編碼: ';
  15 +$PHPMAILER_LANG['execute'] = '無法執行:';
  16 +$PHPMAILER_LANG['file_access'] = '無法存取檔案:';
  17 +$PHPMAILER_LANG['file_open'] = '檔案錯誤:無法開啟檔案:';
  18 +$PHPMAILER_LANG['from_failed'] = '發送地址錯誤:';
  19 +$PHPMAILER_LANG['instantiate'] = '未知函數呼叫。';
  20 +$PHPMAILER_LANG['invalid_address'] = '因為電子郵件地址無效,無法傳送: ';
  21 +$PHPMAILER_LANG['mailer_not_supported'] = '不支援的發信客戶端。';
  22 +$PHPMAILER_LANG['provide_address'] = '必須提供至少一個收件人地址。';
  23 +$PHPMAILER_LANG['recipients_failed'] = 'SMTP 錯誤:以下收件人地址錯誤:';
  24 +$PHPMAILER_LANG['signing'] = '電子簽章錯誤: ';
  25 +$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP 連線失敗';
  26 +$PHPMAILER_LANG['smtp_error'] = 'SMTP 伺服器錯誤: ';
  27 +$PHPMAILER_LANG['variable_set'] = '無法設定或重設變數: ';
  28 +$PHPMAILER_LANG['extension_missing'] = '遺失模組 Extension: ';
  1 +<?php
  2 +/**
  3 + * Simplified Chinese PHPMailer language file: refer to English translation for definitive list
  4 + * @package PHPMailer
  5 + * @author liqwei <liqwei@liqwei.com>
  6 + * @author young <masxy@foxmail.com>
  7 + * @author Teddysun <i@teddysun.com>
  8 + */
  9 +
  10 +$PHPMAILER_LANG['authenticate'] = 'SMTP 错误:登录失败。';
  11 +$PHPMAILER_LANG['connect_host'] = 'SMTP 错误:无法连接到 SMTP 主机。';
  12 +$PHPMAILER_LANG['data_not_accepted'] = 'SMTP 错误:数据不被接受。';
  13 +$PHPMAILER_LANG['empty_message'] = '邮件正文为空。';
  14 +$PHPMAILER_LANG['encoding'] = '未知编码:';
  15 +$PHPMAILER_LANG['execute'] = '无法执行:';
  16 +$PHPMAILER_LANG['file_access'] = '无法访问文件:';
  17 +$PHPMAILER_LANG['file_open'] = '文件错误:无法打开文件:';
  18 +$PHPMAILER_LANG['from_failed'] = '发送地址错误:';
  19 +$PHPMAILER_LANG['instantiate'] = '未知函数调用。';
  20 +$PHPMAILER_LANG['invalid_address'] = '发送失败,电子邮箱地址是无效的:';
  21 +$PHPMAILER_LANG['mailer_not_supported'] = '发信客户端不被支持。';
  22 +$PHPMAILER_LANG['provide_address'] = '必须提供至少一个收件人地址。';
  23 +$PHPMAILER_LANG['recipients_failed'] = 'SMTP 错误:收件人地址错误:';
  24 +$PHPMAILER_LANG['signing'] = '登录失败:';
  25 +$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP服务器连接失败。';
  26 +$PHPMAILER_LANG['smtp_error'] = 'SMTP服务器出错:';
  27 +$PHPMAILER_LANG['variable_set'] = '无法设置或重置变量:';
  28 +$PHPMAILER_LANG['extension_missing'] = '丢失模块 Extension:';
  1 +<?php
  2 +/**
  3 + * PHPMailer Exception class.
  4 + * PHP Version 5.5.
  5 + *
  6 + * @see https://github.com/PHPMailer/PHPMailer/ The PHPMailer GitHub project
  7 + *
  8 + * @author Marcus Bointon (Synchro/coolbru) <phpmailer@synchromedia.co.uk>
  9 + * @author Jim Jagielski (jimjag) <jimjag@gmail.com>
  10 + * @author Andy Prevost (codeworxtech) <codeworxtech@users.sourceforge.net>
  11 + * @author Brent R. Matzelle (original founder)
  12 + * @copyright 2012 - 2017 Marcus Bointon
  13 + * @copyright 2010 - 2012 Jim Jagielski
  14 + * @copyright 2004 - 2009 Andy Prevost
  15 + * @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License
  16 + * @note This program is distributed in the hope that it will be useful - WITHOUT
  17 + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  18 + * FITNESS FOR A PARTICULAR PURPOSE.
  19 + */
  20 +
  21 +namespace PHPMailer\PHPMailer;
  22 +
  23 +/**
  24 + * PHPMailer exception handler.
  25 + *
  26 + * @author Marcus Bointon <phpmailer@synchromedia.co.uk>
  27 + */
  28 +class Exception extends \Exception
  29 +{
  30 + /**
  31 + * Prettify error message output.
  32 + *
  33 + * @return string
  34 + */
  35 + public function errorMessage()
  36 + {
  37 + return '<strong>' . htmlspecialchars($this->getMessage()) . "</strong><br />\n";
  38 + }
  39 +}
  1 +<?php
  2 +/**
  3 + * PHPMailer - PHP email creation and transport class.
  4 + * PHP Version 5.5.
  5 + *
  6 + * @see https://github.com/PHPMailer/PHPMailer/ The PHPMailer GitHub project
  7 + *
  8 + * @author Marcus Bointon (Synchro/coolbru) <phpmailer@synchromedia.co.uk>
  9 + * @author Jim Jagielski (jimjag) <jimjag@gmail.com>
  10 + * @author Andy Prevost (codeworxtech) <codeworxtech@users.sourceforge.net>
  11 + * @author Brent R. Matzelle (original founder)
  12 + * @copyright 2012 - 2015 Marcus Bointon
  13 + * @copyright 2010 - 2012 Jim Jagielski
  14 + * @copyright 2004 - 2009 Andy Prevost
  15 + * @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License
  16 + * @note This program is distributed in the hope that it will be useful - WITHOUT
  17 + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  18 + * FITNESS FOR A PARTICULAR PURPOSE.
  19 + */
  20 +
  21 +namespace PHPMailer\PHPMailer;
  22 +
  23 +use League\OAuth2\Client\Grant\RefreshToken;
  24 +use League\OAuth2\Client\Provider\AbstractProvider;
  25 +use League\OAuth2\Client\Token\AccessToken;
  26 +
  27 +/**
  28 + * OAuth - OAuth2 authentication wrapper class.
  29 + * Uses the oauth2-client package from the League of Extraordinary Packages.
  30 + *
  31 + * @see http://oauth2-client.thephpleague.com
  32 + *
  33 + * @author Marcus Bointon (Synchro/coolbru) <phpmailer@synchromedia.co.uk>
  34 + */
  35 +class OAuth
  36 +{
  37 + /**
  38 + * An instance of the League OAuth Client Provider.
  39 + *
  40 + * @var AbstractProvider
  41 + */
  42 + protected $provider;
  43 +
  44 + /**
  45 + * The current OAuth access token.
  46 + *
  47 + * @var AccessToken
  48 + */
  49 + protected $oauthToken;
  50 +
  51 + /**
  52 + * The user's email address, usually used as the login ID
  53 + * and also the from address when sending email.
  54 + *
  55 + * @var string
  56 + */
  57 + protected $oauthUserEmail = '';
  58 +
  59 + /**
  60 + * The client secret, generated in the app definition of the service you're connecting to.
  61 + *
  62 + * @var string
  63 + */
  64 + protected $oauthClientSecret = '';
  65 +
  66 + /**
  67 + * The client ID, generated in the app definition of the service you're connecting to.
  68 + *
  69 + * @var string
  70 + */
  71 + protected $oauthClientId = '';
  72 +
  73 + /**
  74 + * The refresh token, used to obtain new AccessTokens.
  75 + *
  76 + * @var string
  77 + */
  78 + protected $oauthRefreshToken = '';
  79 +
  80 + /**
  81 + * OAuth constructor.
  82 + *
  83 + * @param array $options Associative array containing
  84 + * `provider`, `userName`, `clientSecret`, `clientId` and `refreshToken` elements
  85 + */
  86 + public function __construct($options)
  87 + {
  88 + $this->provider = $options['provider'];
  89 + $this->oauthUserEmail = $options['userName'];
  90 + $this->oauthClientSecret = $options['clientSecret'];
  91 + $this->oauthClientId = $options['clientId'];
  92 + $this->oauthRefreshToken = $options['refreshToken'];
  93 + }
  94 +
  95 + /**
  96 + * Get a new RefreshToken.
  97 + *
  98 + * @return RefreshToken
  99 + */
  100 + protected function getGrant()
  101 + {
  102 + return new RefreshToken();
  103 + }
  104 +
  105 + /**
  106 + * Get a new AccessToken.
  107 + *
  108 + * @return AccessToken
  109 + */
  110 + protected function getToken()
  111 + {
  112 + return $this->provider->getAccessToken(
  113 + $this->getGrant(),
  114 + ['refresh_token' => $this->oauthRefreshToken]
  115 + );
  116 + }
  117 +
  118 + /**
  119 + * Generate a base64-encoded OAuth token.
  120 + *
  121 + * @return string
  122 + */
  123 + public function getOauth64()
  124 + {
  125 + // Get a new token if it's not available or has expired
  126 + if (null === $this->oauthToken || $this->oauthToken->hasExpired()) {
  127 + $this->oauthToken = $this->getToken();
  128 + }
  129 +
  130 + return base64_encode(
  131 + 'user=' .
  132 + $this->oauthUserEmail .
  133 + "\001auth=Bearer " .
  134 + $this->oauthToken .
  135 + "\001\001"
  136 + );
  137 + }
  138 +}
This diff could not be displayed because it is too large.
  1 +<?php
  2 +/**
  3 + * PHPMailer POP-Before-SMTP Authentication Class.
  4 + * PHP Version 5.5.
  5 + *
  6 + * @see https://github.com/PHPMailer/PHPMailer/ The PHPMailer GitHub project
  7 + *
  8 + * @author Marcus Bointon (Synchro/coolbru) <phpmailer@synchromedia.co.uk>
  9 + * @author Jim Jagielski (jimjag) <jimjag@gmail.com>
  10 + * @author Andy Prevost (codeworxtech) <codeworxtech@users.sourceforge.net>
  11 + * @author Brent R. Matzelle (original founder)
  12 + * @copyright 2012 - 2019 Marcus Bointon
  13 + * @copyright 2010 - 2012 Jim Jagielski
  14 + * @copyright 2004 - 2009 Andy Prevost
  15 + * @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License
  16 + * @note This program is distributed in the hope that it will be useful - WITHOUT
  17 + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  18 + * FITNESS FOR A PARTICULAR PURPOSE.
  19 + */
  20 +
  21 +namespace PHPMailer\PHPMailer;
  22 +
  23 +/**
  24 + * PHPMailer POP-Before-SMTP Authentication Class.
  25 + * Specifically for PHPMailer to use for RFC1939 POP-before-SMTP authentication.
  26 + * 1) This class does not support APOP authentication.
  27 + * 2) Opening and closing lots of POP3 connections can be quite slow. If you need
  28 + * to send a batch of emails then just perform the authentication once at the start,
  29 + * and then loop through your mail sending script. Providing this process doesn't
  30 + * take longer than the verification period lasts on your POP3 server, you should be fine.
  31 + * 3) This is really ancient technology; you should only need to use it to talk to very old systems.
  32 + * 4) This POP3 class is deliberately lightweight and incomplete, implementing just
  33 + * enough to do authentication.
  34 + * If you want a more complete class there are other POP3 classes for PHP available.
  35 + *
  36 + * @author Richard Davey (original author) <rich@corephp.co.uk>
  37 + * @author Marcus Bointon (Synchro/coolbru) <phpmailer@synchromedia.co.uk>
  38 + * @author Jim Jagielski (jimjag) <jimjag@gmail.com>
  39 + * @author Andy Prevost (codeworxtech) <codeworxtech@users.sourceforge.net>
  40 + */
  41 +class POP3
  42 +{
  43 + /**
  44 + * The POP3 PHPMailer Version number.
  45 + *
  46 + * @var string
  47 + */
  48 + const VERSION = '6.1.6';
  49 +
  50 + /**
  51 + * Default POP3 port number.
  52 + *
  53 + * @var int
  54 + */
  55 + const DEFAULT_PORT = 110;
  56 +
  57 + /**
  58 + * Default timeout in seconds.
  59 + *
  60 + * @var int
  61 + */
  62 + const DEFAULT_TIMEOUT = 30;
  63 +
  64 + /**
  65 + * Debug display level.
  66 + * Options: 0 = no, 1+ = yes.
  67 + *
  68 + * @var int
  69 + */
  70 + public $do_debug = 0;
  71 +
  72 + /**
  73 + * POP3 mail server hostname.
  74 + *
  75 + * @var string
  76 + */
  77 + public $host;
  78 +
  79 + /**
  80 + * POP3 port number.
  81 + *
  82 + * @var int
  83 + */
  84 + public $port;
  85 +
  86 + /**
  87 + * POP3 Timeout Value in seconds.
  88 + *
  89 + * @var int
  90 + */
  91 + public $tval;
  92 +
  93 + /**
  94 + * POP3 username.
  95 + *
  96 + * @var string
  97 + */
  98 + public $username;
  99 +
  100 + /**
  101 + * POP3 password.
  102 + *
  103 + * @var string
  104 + */
  105 + public $password;
  106 +
  107 + /**
  108 + * Resource handle for the POP3 connection socket.
  109 + *
  110 + * @var resource
  111 + */
  112 + protected $pop_conn;
  113 +
  114 + /**
  115 + * Are we connected?
  116 + *
  117 + * @var bool
  118 + */
  119 + protected $connected = false;
  120 +
  121 + /**
  122 + * Error container.
  123 + *
  124 + * @var array
  125 + */
  126 + protected $errors = [];
  127 +
  128 + /**
  129 + * Line break constant.
  130 + */
  131 + const LE = "\r\n";
  132 +
  133 + /**
  134 + * Simple static wrapper for all-in-one POP before SMTP.
  135 + *
  136 + * @param string $host The hostname to connect to
  137 + * @param int|bool $port The port number to connect to
  138 + * @param int|bool $timeout The timeout value
  139 + * @param string $username
  140 + * @param string $password
  141 + * @param int $debug_level
  142 + *
  143 + * @return bool
  144 + */
  145 + public static function popBeforeSmtp(
  146 + $host,
  147 + $port = false,
  148 + $timeout = false,
  149 + $username = '',
  150 + $password = '',
  151 + $debug_level = 0
  152 + ) {
  153 + $pop = new self();
  154 +
  155 + return $pop->authorise($host, $port, $timeout, $username, $password, $debug_level);
  156 + }
  157 +
  158 + /**
  159 + * Authenticate with a POP3 server.
  160 + * A connect, login, disconnect sequence
  161 + * appropriate for POP-before SMTP authorisation.
  162 + *
  163 + * @param string $host The hostname to connect to
  164 + * @param int|bool $port The port number to connect to
  165 + * @param int|bool $timeout The timeout value
  166 + * @param string $username
  167 + * @param string $password
  168 + * @param int $debug_level
  169 + *
  170 + * @return bool
  171 + */
  172 + public function authorise($host, $port = false, $timeout = false, $username = '', $password = '', $debug_level = 0)
  173 + {
  174 + $this->host = $host;
  175 + // If no port value provided, use default
  176 + if (false === $port) {
  177 + $this->port = static::DEFAULT_PORT;
  178 + } else {
  179 + $this->port = (int) $port;
  180 + }
  181 + // If no timeout value provided, use default
  182 + if (false === $timeout) {
  183 + $this->tval = static::DEFAULT_TIMEOUT;
  184 + } else {
  185 + $this->tval = (int) $timeout;
  186 + }
  187 + $this->do_debug = $debug_level;
  188 + $this->username = $username;
  189 + $this->password = $password;
  190 + // Reset the error log
  191 + $this->errors = [];
  192 + // connect
  193 + $result = $this->connect($this->host, $this->port, $this->tval);
  194 + if ($result) {
  195 + $login_result = $this->login($this->username, $this->password);
  196 + if ($login_result) {
  197 + $this->disconnect();
  198 +
  199 + return true;
  200 + }
  201 + }
  202 + // We need to disconnect regardless of whether the login succeeded
  203 + $this->disconnect();
  204 +
  205 + return false;
  206 + }
  207 +
  208 + /**
  209 + * Connect to a POP3 server.
  210 + *
  211 + * @param string $host
  212 + * @param int|bool $port
  213 + * @param int $tval
  214 + *
  215 + * @return bool
  216 + */
  217 + public function connect($host, $port = false, $tval = 30)
  218 + {
  219 + // Are we already connected?
  220 + if ($this->connected) {
  221 + return true;
  222 + }
  223 +
  224 + //On Windows this will raise a PHP Warning error if the hostname doesn't exist.
  225 + //Rather than suppress it with @fsockopen, capture it cleanly instead
  226 + set_error_handler([$this, 'catchWarning']);
  227 +
  228 + if (false === $port) {
  229 + $port = static::DEFAULT_PORT;
  230 + }
  231 +
  232 + // connect to the POP3 server
  233 + $errno = 0;
  234 + $errstr = '';
  235 + $this->pop_conn = fsockopen(
  236 + $host, // POP3 Host
  237 + $port, // Port #
  238 + $errno, // Error Number
  239 + $errstr, // Error Message
  240 + $tval
  241 + ); // Timeout (seconds)
  242 + // Restore the error handler
  243 + restore_error_handler();
  244 +
  245 + // Did we connect?
  246 + if (false === $this->pop_conn) {
  247 + // It would appear not...
  248 + $this->setError(
  249 + "Failed to connect to server $host on port $port. errno: $errno; errstr: $errstr"
  250 + );
  251 +
  252 + return false;
  253 + }
  254 +
  255 + // Increase the stream time-out
  256 + stream_set_timeout($this->pop_conn, $tval, 0);
  257 +
  258 + // Get the POP3 server response
  259 + $pop3_response = $this->getResponse();
  260 + // Check for the +OK
  261 + if ($this->checkResponse($pop3_response)) {
  262 + // The connection is established and the POP3 server is talking
  263 + $this->connected = true;
  264 +
  265 + return true;
  266 + }
  267 +
  268 + return false;
  269 + }
  270 +
  271 + /**
  272 + * Log in to the POP3 server.
  273 + * Does not support APOP (RFC 2828, 4949).
  274 + *
  275 + * @param string $username
  276 + * @param string $password
  277 + *
  278 + * @return bool
  279 + */
  280 + public function login($username = '', $password = '')
  281 + {
  282 + if (!$this->connected) {
  283 + $this->setError('Not connected to POP3 server');
  284 + }
  285 + if (empty($username)) {
  286 + $username = $this->username;
  287 + }
  288 + if (empty($password)) {
  289 + $password = $this->password;
  290 + }
  291 +
  292 + // Send the Username
  293 + $this->sendString("USER $username" . static::LE);
  294 + $pop3_response = $this->getResponse();
  295 + if ($this->checkResponse($pop3_response)) {
  296 + // Send the Password
  297 + $this->sendString("PASS $password" . static::LE);
  298 + $pop3_response = $this->getResponse();
  299 + if ($this->checkResponse($pop3_response)) {
  300 + return true;
  301 + }
  302 + }
  303 +
  304 + return false;
  305 + }
  306 +
  307 + /**
  308 + * Disconnect from the POP3 server.
  309 + */
  310 + public function disconnect()
  311 + {
  312 + $this->sendString('QUIT');
  313 + //The QUIT command may cause the daemon to exit, which will kill our connection
  314 + //So ignore errors here
  315 + try {
  316 + @fclose($this->pop_conn);
  317 + } catch (Exception $e) {
  318 + //Do nothing
  319 + }
  320 + }
  321 +
  322 + /**
  323 + * Get a response from the POP3 server.
  324 + *
  325 + * @param int $size The maximum number of bytes to retrieve
  326 + *
  327 + * @return string
  328 + */
  329 + protected function getResponse($size = 128)
  330 + {
  331 + $response = fgets($this->pop_conn, $size);
  332 + if ($this->do_debug >= 1) {
  333 + echo 'Server -> Client: ', $response;
  334 + }
  335 +
  336 + return $response;
  337 + }
  338 +
  339 + /**
  340 + * Send raw data to the POP3 server.
  341 + *
  342 + * @param string $string
  343 + *
  344 + * @return int
  345 + */
  346 + protected function sendString($string)
  347 + {
  348 + if ($this->pop_conn) {
  349 + if ($this->do_debug >= 2) { //Show client messages when debug >= 2
  350 + echo 'Client -> Server: ', $string;
  351 + }
  352 +
  353 + return fwrite($this->pop_conn, $string, strlen($string));
  354 + }
  355 +
  356 + return 0;
  357 + }
  358 +
  359 + /**
  360 + * Checks the POP3 server response.
  361 + * Looks for for +OK or -ERR.
  362 + *
  363 + * @param string $string
  364 + *
  365 + * @return bool
  366 + */
  367 + protected function checkResponse($string)
  368 + {
  369 + if (strpos($string, '+OK') !== 0) {
  370 + $this->setError("Server reported an error: $string");
  371 +
  372 + return false;
  373 + }
  374 +
  375 + return true;
  376 + }
  377 +
  378 + /**
  379 + * Add an error to the internal error store.
  380 + * Also display debug output if it's enabled.
  381 + *
  382 + * @param string $error
  383 + */
  384 + protected function setError($error)
  385 + {
  386 + $this->errors[] = $error;
  387 + if ($this->do_debug >= 1) {
  388 + echo '<pre>';
  389 + foreach ($this->errors as $e) {
  390 + print_r($e);
  391 + }
  392 + echo '</pre>';
  393 + }
  394 + }
  395 +
  396 + /**
  397 + * Get an array of error messages, if any.
  398 + *
  399 + * @return array
  400 + */
  401 + public function getErrors()
  402 + {
  403 + return $this->errors;
  404 + }
  405 +
  406 + /**
  407 + * POP3 connection error handler.
  408 + *
  409 + * @param int $errno
  410 + * @param string $errstr
  411 + * @param string $errfile
  412 + * @param int $errline
  413 + */
  414 + protected function catchWarning($errno, $errstr, $errfile, $errline)
  415 + {
  416 + $this->setError(
  417 + 'Connecting to the POP3 server raised a PHP warning:' .
  418 + "errno: $errno errstr: $errstr; errfile: $errfile; errline: $errline"
  419 + );
  420 + }
  421 +}
  1 +<?php
  2 +/**
  3 + * PHPMailer RFC821 SMTP email transport class.
  4 + * PHP Version 5.5.
  5 + *
  6 + * @see https://github.com/PHPMailer/PHPMailer/ The PHPMailer GitHub project
  7 + *
  8 + * @author Marcus Bointon (Synchro/coolbru) <phpmailer@synchromedia.co.uk>
  9 + * @author Jim Jagielski (jimjag) <jimjag@gmail.com>
  10 + * @author Andy Prevost (codeworxtech) <codeworxtech@users.sourceforge.net>
  11 + * @author Brent R. Matzelle (original founder)
  12 + * @copyright 2012 - 2019 Marcus Bointon
  13 + * @copyright 2010 - 2012 Jim Jagielski
  14 + * @copyright 2004 - 2009 Andy Prevost
  15 + * @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License
  16 + * @note This program is distributed in the hope that it will be useful - WITHOUT
  17 + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  18 + * FITNESS FOR A PARTICULAR PURPOSE.
  19 + */
  20 +
  21 +namespace PHPMailer\PHPMailer;
  22 +
  23 +/**
  24 + * PHPMailer RFC821 SMTP email transport class.
  25 + * Implements RFC 821 SMTP commands and provides some utility methods for sending mail to an SMTP server.
  26 + *
  27 + * @author Chris Ryan
  28 + * @author Marcus Bointon <phpmailer@synchromedia.co.uk>
  29 + */
  30 +class SMTP
  31 +{
  32 + /**
  33 + * The PHPMailer SMTP version number.
  34 + *
  35 + * @var string
  36 + */
  37 + const VERSION = '6.1.6';
  38 +
  39 + /**
  40 + * SMTP line break constant.
  41 + *
  42 + * @var string
  43 + */
  44 + const LE = "\r\n";
  45 +
  46 + /**
  47 + * The SMTP port to use if one is not specified.
  48 + *
  49 + * @var int
  50 + */
  51 + const DEFAULT_PORT = 25;
  52 +
  53 + /**
  54 + * The maximum line length allowed by RFC 5321 section 4.5.3.1.6,
  55 + * *excluding* a trailing CRLF break.
  56 + *
  57 + * @see https://tools.ietf.org/html/rfc5321#section-4.5.3.1.6
  58 + *
  59 + * @var int
  60 + */
  61 + const MAX_LINE_LENGTH = 998;
  62 +
  63 + /**
  64 + * The maximum line length allowed for replies in RFC 5321 section 4.5.3.1.5,
  65 + * *including* a trailing CRLF line break.
  66 + *
  67 + * @see https://tools.ietf.org/html/rfc5321#section-4.5.3.1.5
  68 + *
  69 + * @var int
  70 + */
  71 + const MAX_REPLY_LENGTH = 512;
  72 +
  73 + /**
  74 + * Debug level for no output.
  75 + *
  76 + * @var int
  77 + */
  78 + const DEBUG_OFF = 0;
  79 +
  80 + /**
  81 + * Debug level to show client -> server messages.
  82 + *
  83 + * @var int
  84 + */
  85 + const DEBUG_CLIENT = 1;
  86 +
  87 + /**
  88 + * Debug level to show client -> server and server -> client messages.
  89 + *
  90 + * @var int
  91 + */
  92 + const DEBUG_SERVER = 2;
  93 +
  94 + /**
  95 + * Debug level to show connection status, client -> server and server -> client messages.
  96 + *
  97 + * @var int
  98 + */
  99 + const DEBUG_CONNECTION = 3;
  100 +
  101 + /**
  102 + * Debug level to show all messages.
  103 + *
  104 + * @var int
  105 + */
  106 + const DEBUG_LOWLEVEL = 4;
  107 +
  108 + /**
  109 + * Debug output level.
  110 + * Options:
  111 + * * self::DEBUG_OFF (`0`) No debug output, default
  112 + * * self::DEBUG_CLIENT (`1`) Client commands
  113 + * * self::DEBUG_SERVER (`2`) Client commands and server responses
  114 + * * self::DEBUG_CONNECTION (`3`) As DEBUG_SERVER plus connection status
  115 + * * self::DEBUG_LOWLEVEL (`4`) Low-level data output, all messages.
  116 + *
  117 + * @var int
  118 + */
  119 + public $do_debug = self::DEBUG_OFF;
  120 +
  121 + /**
  122 + * How to handle debug output.
  123 + * Options:
  124 + * * `echo` Output plain-text as-is, appropriate for CLI
  125 + * * `html` Output escaped, line breaks converted to `<br>`, appropriate for browser output
  126 + * * `error_log` Output to error log as configured in php.ini
  127 + * Alternatively, you can provide a callable expecting two params: a message string and the debug level:
  128 + *
  129 + * ```php
  130 + * $smtp->Debugoutput = function($str, $level) {echo "debug level $level; message: $str";};
  131 + * ```
  132 + *
  133 + * Alternatively, you can pass in an instance of a PSR-3 compatible logger, though only `debug`
  134 + * level output is used:
  135 + *
  136 + * ```php
  137 + * $mail->Debugoutput = new myPsr3Logger;
  138 + * ```
  139 + *
  140 + * @var string|callable|\Psr\Log\LoggerInterface
  141 + */
  142 + public $Debugoutput = 'echo';
  143 +
  144 + /**
  145 + * Whether to use VERP.
  146 + *
  147 + * @see http://en.wikipedia.org/wiki/Variable_envelope_return_path
  148 + * @see http://www.postfix.org/VERP_README.html Info on VERP
  149 + *
  150 + * @var bool
  151 + */
  152 + public $do_verp = false;
  153 +
  154 + /**
  155 + * The timeout value for connection, in seconds.
  156 + * Default of 5 minutes (300sec) is from RFC2821 section 4.5.3.2.
  157 + * This needs to be quite high to function correctly with hosts using greetdelay as an anti-spam measure.
  158 + *
  159 + * @see http://tools.ietf.org/html/rfc2821#section-4.5.3.2
  160 + *
  161 + * @var int
  162 + */
  163 + public $Timeout = 300;
  164 +
  165 + /**
  166 + * How long to wait for commands to complete, in seconds.
  167 + * Default of 5 minutes (300sec) is from RFC2821 section 4.5.3.2.
  168 + *
  169 + * @var int
  170 + */
  171 + public $Timelimit = 300;
  172 +
  173 + /**
  174 + * Patterns to extract an SMTP transaction id from reply to a DATA command.
  175 + * The first capture group in each regex will be used as the ID.
  176 + * MS ESMTP returns the message ID, which may not be correct for internal tracking.
  177 + *
  178 + * @var string[]
  179 + */
  180 + protected $smtp_transaction_id_patterns = [
  181 + 'exim' => '/[\d]{3} OK id=(.*)/',
  182 + 'sendmail' => '/[\d]{3} 2.0.0 (.*) Message/',
  183 + 'postfix' => '/[\d]{3} 2.0.0 Ok: queued as (.*)/',
  184 + 'Microsoft_ESMTP' => '/[0-9]{3} 2.[\d].0 (.*)@(?:.*) Queued mail for delivery/',
  185 + 'Amazon_SES' => '/[\d]{3} Ok (.*)/',
  186 + 'SendGrid' => '/[\d]{3} Ok: queued as (.*)/',
  187 + 'CampaignMonitor' => '/[\d]{3} 2.0.0 OK:([a-zA-Z\d]{48})/',
  188 + ];
  189 +
  190 + /**
  191 + * The last transaction ID issued in response to a DATA command,
  192 + * if one was detected.
  193 + *
  194 + * @var string|bool|null
  195 + */
  196 + protected $last_smtp_transaction_id;
  197 +
  198 + /**
  199 + * The socket for the server connection.
  200 + *
  201 + * @var ?resource
  202 + */
  203 + protected $smtp_conn;
  204 +
  205 + /**
  206 + * Error information, if any, for the last SMTP command.
  207 + *
  208 + * @var array
  209 + */
  210 + protected $error = [
  211 + 'error' => '',
  212 + 'detail' => '',
  213 + 'smtp_code' => '',
  214 + 'smtp_code_ex' => '',
  215 + ];
  216 +
  217 + /**
  218 + * The reply the server sent to us for HELO.
  219 + * If null, no HELO string has yet been received.
  220 + *
  221 + * @var string|null
  222 + */
  223 + protected $helo_rply;
  224 +
  225 + /**
  226 + * The set of SMTP extensions sent in reply to EHLO command.
  227 + * Indexes of the array are extension names.
  228 + * Value at index 'HELO' or 'EHLO' (according to command that was sent)
  229 + * represents the server name. In case of HELO it is the only element of the array.
  230 + * Other values can be boolean TRUE or an array containing extension options.
  231 + * If null, no HELO/EHLO string has yet been received.
  232 + *
  233 + * @var array|null
  234 + */
  235 + protected $server_caps;
  236 +
  237 + /**
  238 + * The most recent reply received from the server.
  239 + *
  240 + * @var string
  241 + */
  242 + protected $last_reply = '';
  243 +
  244 + /**
  245 + * Output debugging info via a user-selected method.
  246 + *
  247 + * @param string $str Debug string to output
  248 + * @param int $level The debug level of this message; see DEBUG_* constants
  249 + *
  250 + * @see SMTP::$Debugoutput
  251 + * @see SMTP::$do_debug
  252 + */
  253 + protected function edebug($str, $level = 0)
  254 + {
  255 + if ($level > $this->do_debug) {
  256 + return;
  257 + }
  258 + //Is this a PSR-3 logger?
  259 + if ($this->Debugoutput instanceof \Psr\Log\LoggerInterface) {
  260 + $this->Debugoutput->debug($str);
  261 +
  262 + return;
  263 + }
  264 + //Avoid clash with built-in function names
  265 + if (is_callable($this->Debugoutput) && !in_array($this->Debugoutput, ['error_log', 'html', 'echo'])) {
  266 + call_user_func($this->Debugoutput, $str, $level);
  267 +
  268 + return;
  269 + }
  270 + switch ($this->Debugoutput) {
  271 + case 'error_log':
  272 + //Don't output, just log
  273 + error_log($str);
  274 + break;
  275 + case 'html':
  276 + //Cleans up output a bit for a better looking, HTML-safe output
  277 + echo gmdate('Y-m-d H:i:s'), ' ', htmlentities(
  278 + preg_replace('/[\r\n]+/', '', $str),
  279 + ENT_QUOTES,
  280 + 'UTF-8'
  281 + ), "<br>\n";
  282 + break;
  283 + case 'echo':
  284 + default:
  285 + //Normalize line breaks
  286 + $str = preg_replace('/\r\n|\r/m', "\n", $str);
  287 + echo gmdate('Y-m-d H:i:s'),
  288 + "\t",
  289 + //Trim trailing space
  290 + trim(
  291 + //Indent for readability, except for trailing break
  292 + str_replace(
  293 + "\n",
  294 + "\n \t ",
  295 + trim($str)
  296 + )
  297 + ),
  298 + "\n";
  299 + }
  300 + }
  301 +
  302 + /**
  303 + * Connect to an SMTP server.
  304 + *
  305 + * @param string $host SMTP server IP or host name
  306 + * @param int $port The port number to connect to
  307 + * @param int $timeout How long to wait for the connection to open
  308 + * @param array $options An array of options for stream_context_create()
  309 + *
  310 + * @return bool
  311 + */
  312 + public function connect($host, $port = null, $timeout = 30, $options = [])
  313 + {
  314 + static $streamok;
  315 + //This is enabled by default since 5.0.0 but some providers disable it
  316 + //Check this once and cache the result
  317 + if (null === $streamok) {
  318 + $streamok = function_exists('stream_socket_client');
  319 + }
  320 + // Clear errors to avoid confusion
  321 + $this->setError('');
  322 + // Make sure we are __not__ connected
  323 + if ($this->connected()) {
  324 + // Already connected, generate error
  325 + $this->setError('Already connected to a server');
  326 +
  327 + return false;
  328 + }
  329 + if (empty($port)) {
  330 + $port = self::DEFAULT_PORT;
  331 + }
  332 + // Connect to the SMTP server
  333 + $this->edebug(
  334 + "Connection: opening to $host:$port, timeout=$timeout, options=" .
  335 + (count($options) > 0 ? var_export($options, true) : 'array()'),
  336 + self::DEBUG_CONNECTION
  337 + );
  338 + $errno = 0;
  339 + $errstr = '';
  340 + if ($streamok) {
  341 + $socket_context = stream_context_create($options);
  342 + set_error_handler([$this, 'errorHandler']);
  343 + $this->smtp_conn = stream_socket_client(
  344 + $host . ':' . $port,
  345 + $errno,
  346 + $errstr,
  347 + $timeout,
  348 + STREAM_CLIENT_CONNECT,
  349 + $socket_context
  350 + );
  351 + restore_error_handler();
  352 + } else {
  353 + //Fall back to fsockopen which should work in more places, but is missing some features
  354 + $this->edebug(
  355 + 'Connection: stream_socket_client not available, falling back to fsockopen',
  356 + self::DEBUG_CONNECTION
  357 + );
  358 + set_error_handler([$this, 'errorHandler']);
  359 + $this->smtp_conn = fsockopen(
  360 + $host,
  361 + $port,
  362 + $errno,
  363 + $errstr,
  364 + $timeout
  365 + );
  366 + restore_error_handler();
  367 + }
  368 + // Verify we connected properly
  369 + if (!is_resource($this->smtp_conn)) {
  370 + $this->setError(
  371 + 'Failed to connect to server',
  372 + '',
  373 + (string) $errno,
  374 + $errstr
  375 + );
  376 + $this->edebug(
  377 + 'SMTP ERROR: ' . $this->error['error']
  378 + . ": $errstr ($errno)",
  379 + self::DEBUG_CLIENT
  380 + );
  381 +
  382 + return false;
  383 + }
  384 + $this->edebug('Connection: opened', self::DEBUG_CONNECTION);
  385 + // SMTP server can take longer to respond, give longer timeout for first read
  386 + // Windows does not have support for this timeout function
  387 + if (strpos(PHP_OS, 'WIN') !== 0) {
  388 + $max = (int) ini_get('max_execution_time');
  389 + // Don't bother if unlimited
  390 + if (0 !== $max && $timeout > $max) {
  391 + @set_time_limit($timeout);
  392 + }
  393 + stream_set_timeout($this->smtp_conn, $timeout, 0);
  394 + }
  395 + // Get any announcement
  396 + $announce = $this->get_lines();
  397 + $this->edebug('SERVER -> CLIENT: ' . $announce, self::DEBUG_SERVER);
  398 +
  399 + return true;
  400 + }
  401 +
  402 + /**
  403 + * Initiate a TLS (encrypted) session.
  404 + *
  405 + * @return bool
  406 + */
  407 + public function startTLS()
  408 + {
  409 + if (!$this->sendCommand('STARTTLS', 'STARTTLS', 220)) {
  410 + return false;
  411 + }
  412 +
  413 + //Allow the best TLS version(s) we can
  414 + $crypto_method = STREAM_CRYPTO_METHOD_TLS_CLIENT;
  415 +
  416 + //PHP 5.6.7 dropped inclusion of TLS 1.1 and 1.2 in STREAM_CRYPTO_METHOD_TLS_CLIENT
  417 + //so add them back in manually if we can
  418 + if (defined('STREAM_CRYPTO_METHOD_TLSv1_2_CLIENT')) {
  419 + $crypto_method |= STREAM_CRYPTO_METHOD_TLSv1_2_CLIENT;
  420 + $crypto_method |= STREAM_CRYPTO_METHOD_TLSv1_1_CLIENT;
  421 + }
  422 +
  423 + // Begin encrypted connection
  424 + set_error_handler([$this, 'errorHandler']);
  425 + $crypto_ok = stream_socket_enable_crypto(
  426 + $this->smtp_conn,
  427 + true,
  428 + $crypto_method
  429 + );
  430 + restore_error_handler();
  431 +
  432 + return (bool) $crypto_ok;
  433 + }
  434 +
  435 + /**
  436 + * Perform SMTP authentication.
  437 + * Must be run after hello().
  438 + *
  439 + * @see hello()
  440 + *
  441 + * @param string $username The user name
  442 + * @param string $password The password
  443 + * @param string $authtype The auth type (CRAM-MD5, PLAIN, LOGIN, XOAUTH2)
  444 + * @param OAuth $OAuth An optional OAuth instance for XOAUTH2 authentication
  445 + *
  446 + * @return bool True if successfully authenticated
  447 + */
  448 + public function authenticate(
  449 + $username,
  450 + $password,
  451 + $authtype = null,
  452 + $OAuth = null
  453 + ) {
  454 + if (!$this->server_caps) {
  455 + $this->setError('Authentication is not allowed before HELO/EHLO');
  456 +
  457 + return false;
  458 + }
  459 +
  460 + if (array_key_exists('EHLO', $this->server_caps)) {
  461 + // SMTP extensions are available; try to find a proper authentication method
  462 + if (!array_key_exists('AUTH', $this->server_caps)) {
  463 + $this->setError('Authentication is not allowed at this stage');
  464 + // 'at this stage' means that auth may be allowed after the stage changes
  465 + // e.g. after STARTTLS
  466 +
  467 + return false;
  468 + }
  469 +
  470 + $this->edebug('Auth method requested: ' . ($authtype ?: 'UNSPECIFIED'), self::DEBUG_LOWLEVEL);
  471 + $this->edebug(
  472 + 'Auth methods available on the server: ' . implode(',', $this->server_caps['AUTH']),
  473 + self::DEBUG_LOWLEVEL
  474 + );
  475 +
  476 + //If we have requested a specific auth type, check the server supports it before trying others
  477 + if (null !== $authtype && !in_array($authtype, $this->server_caps['AUTH'], true)) {
  478 + $this->edebug('Requested auth method not available: ' . $authtype, self::DEBUG_LOWLEVEL);
  479 + $authtype = null;
  480 + }
  481 +
  482 + if (empty($authtype)) {
  483 + //If no auth mechanism is specified, attempt to use these, in this order
  484 + //Try CRAM-MD5 first as it's more secure than the others
  485 + foreach (['CRAM-MD5', 'LOGIN', 'PLAIN', 'XOAUTH2'] as $method) {
  486 + if (in_array($method, $this->server_caps['AUTH'], true)) {
  487 + $authtype = $method;
  488 + break;
  489 + }
  490 + }
  491 + if (empty($authtype)) {
  492 + $this->setError('No supported authentication methods found');
  493 +
  494 + return false;
  495 + }
  496 + $this->edebug('Auth method selected: ' . $authtype, self::DEBUG_LOWLEVEL);
  497 + }
  498 +
  499 + if (!in_array($authtype, $this->server_caps['AUTH'], true)) {
  500 + $this->setError("The requested authentication method \"$authtype\" is not supported by the server");
  501 +
  502 + return false;
  503 + }
  504 + } elseif (empty($authtype)) {
  505 + $authtype = 'LOGIN';
  506 + }
  507 + switch ($authtype) {
  508 + case 'PLAIN':
  509 + // Start authentication
  510 + if (!$this->sendCommand('AUTH', 'AUTH PLAIN', 334)) {
  511 + return false;
  512 + }
  513 + // Send encoded username and password
  514 + if (!$this->sendCommand(
  515 + 'User & Password',
  516 + base64_encode("\0" . $username . "\0" . $password),
  517 + 235
  518 + )
  519 + ) {
  520 + return false;
  521 + }
  522 + break;
  523 + case 'LOGIN':
  524 + // Start authentication
  525 + if (!$this->sendCommand('AUTH', 'AUTH LOGIN', 334)) {
  526 + return false;
  527 + }
  528 + if (!$this->sendCommand('Username', base64_encode($username), 334)) {
  529 + return false;
  530 + }
  531 + if (!$this->sendCommand('Password', base64_encode($password), 235)) {
  532 + return false;
  533 + }
  534 + break;
  535 + case 'CRAM-MD5':
  536 + // Start authentication
  537 + if (!$this->sendCommand('AUTH CRAM-MD5', 'AUTH CRAM-MD5', 334)) {
  538 + return false;
  539 + }
  540 + // Get the challenge
  541 + $challenge = base64_decode(substr($this->last_reply, 4));
  542 +
  543 + // Build the response
  544 + $response = $username . ' ' . $this->hmac($challenge, $password);
  545 +
  546 + // send encoded credentials
  547 + return $this->sendCommand('Username', base64_encode($response), 235);
  548 + case 'XOAUTH2':
  549 + //The OAuth instance must be set up prior to requesting auth.
  550 + if (null === $OAuth) {
  551 + return false;
  552 + }
  553 + $oauth = $OAuth->getOauth64();
  554 +
  555 + // Start authentication
  556 + if (!$this->sendCommand('AUTH', 'AUTH XOAUTH2 ' . $oauth, 235)) {
  557 + return false;
  558 + }
  559 + break;
  560 + default:
  561 + $this->setError("Authentication method \"$authtype\" is not supported");
  562 +
  563 + return false;
  564 + }
  565 +
  566 + return true;
  567 + }
  568 +
  569 + /**
  570 + * Calculate an MD5 HMAC hash.
  571 + * Works like hash_hmac('md5', $data, $key)
  572 + * in case that function is not available.
  573 + *
  574 + * @param string $data The data to hash
  575 + * @param string $key The key to hash with
  576 + *
  577 + * @return string
  578 + */
  579 + protected function hmac($data, $key)
  580 + {
  581 + if (function_exists('hash_hmac')) {
  582 + return hash_hmac('md5', $data, $key);
  583 + }
  584 +
  585 + // The following borrowed from
  586 + // http://php.net/manual/en/function.mhash.php#27225
  587 +
  588 + // RFC 2104 HMAC implementation for php.
  589 + // Creates an md5 HMAC.
  590 + // Eliminates the need to install mhash to compute a HMAC
  591 + // by Lance Rushing
  592 +
  593 + $bytelen = 64; // byte length for md5
  594 + if (strlen($key) > $bytelen) {
  595 + $key = pack('H*', md5($key));
  596 + }
  597 + $key = str_pad($key, $bytelen, chr(0x00));
  598 + $ipad = str_pad('', $bytelen, chr(0x36));
  599 + $opad = str_pad('', $bytelen, chr(0x5c));
  600 + $k_ipad = $key ^ $ipad;
  601 + $k_opad = $key ^ $opad;
  602 +
  603 + return md5($k_opad . pack('H*', md5($k_ipad . $data)));
  604 + }
  605 +
  606 + /**
  607 + * Check connection state.
  608 + *
  609 + * @return bool True if connected
  610 + */
  611 + public function connected()
  612 + {
  613 + if (is_resource($this->smtp_conn)) {
  614 + $sock_status = stream_get_meta_data($this->smtp_conn);
  615 + if ($sock_status['eof']) {
  616 + // The socket is valid but we are not connected
  617 + $this->edebug(
  618 + 'SMTP NOTICE: EOF caught while checking if connected',
  619 + self::DEBUG_CLIENT
  620 + );
  621 + $this->close();
  622 +
  623 + return false;
  624 + }
  625 +
  626 + return true; // everything looks good
  627 + }
  628 +
  629 + return false;
  630 + }
  631 +
  632 + /**
  633 + * Close the socket and clean up the state of the class.
  634 + * Don't use this function without first trying to use QUIT.
  635 + *
  636 + * @see quit()
  637 + */
  638 + public function close()
  639 + {
  640 + $this->setError('');
  641 + $this->server_caps = null;
  642 + $this->helo_rply = null;
  643 + if (is_resource($this->smtp_conn)) {
  644 + // close the connection and cleanup
  645 + fclose($this->smtp_conn);
  646 + $this->smtp_conn = null; //Makes for cleaner serialization
  647 + $this->edebug('Connection: closed', self::DEBUG_CONNECTION);
  648 + }
  649 + }
  650 +
  651 + /**
  652 + * Send an SMTP DATA command.
  653 + * Issues a data command and sends the msg_data to the server,
  654 + * finializing the mail transaction. $msg_data is the message
  655 + * that is to be send with the headers. Each header needs to be
  656 + * on a single line followed by a <CRLF> with the message headers
  657 + * and the message body being separated by an additional <CRLF>.
  658 + * Implements RFC 821: DATA <CRLF>.
  659 + *
  660 + * @param string $msg_data Message data to send
  661 + *
  662 + * @return bool
  663 + */
  664 + public function data($msg_data)
  665 + {
  666 + //This will use the standard timelimit
  667 + if (!$this->sendCommand('DATA', 'DATA', 354)) {
  668 + return false;
  669 + }
  670 +
  671 + /* The server is ready to accept data!
  672 + * According to rfc821 we should not send more than 1000 characters on a single line (including the LE)
  673 + * so we will break the data up into lines by \r and/or \n then if needed we will break each of those into
  674 + * smaller lines to fit within the limit.
  675 + * We will also look for lines that start with a '.' and prepend an additional '.'.
  676 + * NOTE: this does not count towards line-length limit.
  677 + */
  678 +
  679 + // Normalize line breaks before exploding
  680 + $lines = explode("\n", str_replace(["\r\n", "\r"], "\n", $msg_data));
  681 +
  682 + /* To distinguish between a complete RFC822 message and a plain message body, we check if the first field
  683 + * of the first line (':' separated) does not contain a space then it _should_ be a header and we will
  684 + * process all lines before a blank line as headers.
  685 + */
  686 +
  687 + $field = substr($lines[0], 0, strpos($lines[0], ':'));
  688 + $in_headers = false;
  689 + if (!empty($field) && strpos($field, ' ') === false) {
  690 + $in_headers = true;
  691 + }
  692 +
  693 + foreach ($lines as $line) {
  694 + $lines_out = [];
  695 + if ($in_headers && $line === '') {
  696 + $in_headers = false;
  697 + }
  698 + //Break this line up into several smaller lines if it's too long
  699 + //Micro-optimisation: isset($str[$len]) is faster than (strlen($str) > $len),
  700 + while (isset($line[self::MAX_LINE_LENGTH])) {
  701 + //Working backwards, try to find a space within the last MAX_LINE_LENGTH chars of the line to break on
  702 + //so as to avoid breaking in the middle of a word
  703 + $pos = strrpos(substr($line, 0, self::MAX_LINE_LENGTH), ' ');
  704 + //Deliberately matches both false and 0
  705 + if (!$pos) {
  706 + //No nice break found, add a hard break
  707 + $pos = self::MAX_LINE_LENGTH - 1;
  708 + $lines_out[] = substr($line, 0, $pos);
  709 + $line = substr($line, $pos);
  710 + } else {
  711 + //Break at the found point
  712 + $lines_out[] = substr($line, 0, $pos);
  713 + //Move along by the amount we dealt with
  714 + $line = substr($line, $pos + 1);
  715 + }
  716 + //If processing headers add a LWSP-char to the front of new line RFC822 section 3.1.1
  717 + if ($in_headers) {
  718 + $line = "\t" . $line;
  719 + }
  720 + }
  721 + $lines_out[] = $line;
  722 +
  723 + //Send the lines to the server
  724 + foreach ($lines_out as $line_out) {
  725 + //RFC2821 section 4.5.2
  726 + if (!empty($line_out) && $line_out[0] === '.') {
  727 + $line_out = '.' . $line_out;
  728 + }
  729 + $this->client_send($line_out . static::LE, 'DATA');
  730 + }
  731 + }
  732 +
  733 + //Message data has been sent, complete the command
  734 + //Increase timelimit for end of DATA command
  735 + $savetimelimit = $this->Timelimit;
  736 + $this->Timelimit *= 2;
  737 + $result = $this->sendCommand('DATA END', '.', 250);
  738 + $this->recordLastTransactionID();
  739 + //Restore timelimit
  740 + $this->Timelimit = $savetimelimit;
  741 +
  742 + return $result;
  743 + }
  744 +
  745 + /**
  746 + * Send an SMTP HELO or EHLO command.
  747 + * Used to identify the sending server to the receiving server.
  748 + * This makes sure that client and server are in a known state.
  749 + * Implements RFC 821: HELO <SP> <domain> <CRLF>
  750 + * and RFC 2821 EHLO.
  751 + *
  752 + * @param string $host The host name or IP to connect to
  753 + *
  754 + * @return bool
  755 + */
  756 + public function hello($host = '')
  757 + {
  758 + //Try extended hello first (RFC 2821)
  759 + return $this->sendHello('EHLO', $host) or $this->sendHello('HELO', $host);
  760 + }
  761 +
  762 + /**
  763 + * Send an SMTP HELO or EHLO command.
  764 + * Low-level implementation used by hello().
  765 + *
  766 + * @param string $hello The HELO string
  767 + * @param string $host The hostname to say we are
  768 + *
  769 + * @return bool
  770 + *
  771 + * @see hello()
  772 + */
  773 + protected function sendHello($hello, $host)
  774 + {
  775 + $noerror = $this->sendCommand($hello, $hello . ' ' . $host, 250);
  776 + $this->helo_rply = $this->last_reply;
  777 + if ($noerror) {
  778 + $this->parseHelloFields($hello);
  779 + } else {
  780 + $this->server_caps = null;
  781 + }
  782 +
  783 + return $noerror;
  784 + }
  785 +
  786 + /**
  787 + * Parse a reply to HELO/EHLO command to discover server extensions.
  788 + * In case of HELO, the only parameter that can be discovered is a server name.
  789 + *
  790 + * @param string $type `HELO` or `EHLO`
  791 + */
  792 + protected function parseHelloFields($type)
  793 + {
  794 + $this->server_caps = [];
  795 + $lines = explode("\n", $this->helo_rply);
  796 +
  797 + foreach ($lines as $n => $s) {
  798 + //First 4 chars contain response code followed by - or space
  799 + $s = trim(substr($s, 4));
  800 + if (empty($s)) {
  801 + continue;
  802 + }
  803 + $fields = explode(' ', $s);
  804 + if (!empty($fields)) {
  805 + if (!$n) {
  806 + $name = $type;
  807 + $fields = $fields[0];
  808 + } else {
  809 + $name = array_shift($fields);
  810 + switch ($name) {
  811 + case 'SIZE':
  812 + $fields = ($fields ? $fields[0] : 0);
  813 + break;
  814 + case 'AUTH':
  815 + if (!is_array($fields)) {
  816 + $fields = [];
  817 + }
  818 + break;
  819 + default:
  820 + $fields = true;
  821 + }
  822 + }
  823 + $this->server_caps[$name] = $fields;
  824 + }
  825 + }
  826 + }
  827 +
  828 + /**
  829 + * Send an SMTP MAIL command.
  830 + * Starts a mail transaction from the email address specified in
  831 + * $from. Returns true if successful or false otherwise. If True
  832 + * the mail transaction is started and then one or more recipient
  833 + * commands may be called followed by a data command.
  834 + * Implements RFC 821: MAIL <SP> FROM:<reverse-path> <CRLF>.
  835 + *
  836 + * @param string $from Source address of this message
  837 + *
  838 + * @return bool
  839 + */
  840 + public function mail($from)
  841 + {
  842 + $useVerp = ($this->do_verp ? ' XVERP' : '');
  843 +
  844 + return $this->sendCommand(
  845 + 'MAIL FROM',
  846 + 'MAIL FROM:<' . $from . '>' . $useVerp,
  847 + 250
  848 + );
  849 + }
  850 +
  851 + /**
  852 + * Send an SMTP QUIT command.
  853 + * Closes the socket if there is no error or the $close_on_error argument is true.
  854 + * Implements from RFC 821: QUIT <CRLF>.
  855 + *
  856 + * @param bool $close_on_error Should the connection close if an error occurs?
  857 + *
  858 + * @return bool
  859 + */
  860 + public function quit($close_on_error = true)
  861 + {
  862 + $noerror = $this->sendCommand('QUIT', 'QUIT', 221);
  863 + $err = $this->error; //Save any error
  864 + if ($noerror || $close_on_error) {
  865 + $this->close();
  866 + $this->error = $err; //Restore any error from the quit command
  867 + }
  868 +
  869 + return $noerror;
  870 + }
  871 +
  872 + /**
  873 + * Send an SMTP RCPT command.
  874 + * Sets the TO argument to $toaddr.
  875 + * Returns true if the recipient was accepted false if it was rejected.
  876 + * Implements from RFC 821: RCPT <SP> TO:<forward-path> <CRLF>.
  877 + *
  878 + * @param string $address The address the message is being sent to
  879 + * @param string $dsn Comma separated list of DSN notifications. NEVER, SUCCESS, FAILURE
  880 + * or DELAY. If you specify NEVER all other notifications are ignored.
  881 + *
  882 + * @return bool
  883 + */
  884 + public function recipient($address, $dsn = '')
  885 + {
  886 + if (empty($dsn)) {
  887 + $rcpt = 'RCPT TO:<' . $address . '>';
  888 + } else {
  889 + $dsn = strtoupper($dsn);
  890 + $notify = [];
  891 +
  892 + if (strpos($dsn, 'NEVER') !== false) {
  893 + $notify[] = 'NEVER';
  894 + } else {
  895 + foreach (['SUCCESS', 'FAILURE', 'DELAY'] as $value) {
  896 + if (strpos($dsn, $value) !== false) {
  897 + $notify[] = $value;
  898 + }
  899 + }
  900 + }
  901 +
  902 + $rcpt = 'RCPT TO:<' . $address . '> NOTIFY=' . implode(',', $notify);
  903 + }
  904 +
  905 + return $this->sendCommand(
  906 + 'RCPT TO',
  907 + $rcpt,
  908 + [250, 251]
  909 + );
  910 + }
  911 +
  912 + /**
  913 + * Send an SMTP RSET command.
  914 + * Abort any transaction that is currently in progress.
  915 + * Implements RFC 821: RSET <CRLF>.
  916 + *
  917 + * @return bool True on success
  918 + */
  919 + public function reset()
  920 + {
  921 + return $this->sendCommand('RSET', 'RSET', 250);
  922 + }
  923 +
  924 + /**
  925 + * Send a command to an SMTP server and check its return code.
  926 + *
  927 + * @param string $command The command name - not sent to the server
  928 + * @param string $commandstring The actual command to send
  929 + * @param int|array $expect One or more expected integer success codes
  930 + *
  931 + * @return bool True on success
  932 + */
  933 + protected function sendCommand($command, $commandstring, $expect)
  934 + {
  935 + if (!$this->connected()) {
  936 + $this->setError("Called $command without being connected");
  937 +
  938 + return false;
  939 + }
  940 + //Reject line breaks in all commands
  941 + if ((strpos($commandstring, "\n") !== false) || (strpos($commandstring, "\r") !== false)) {
  942 + $this->setError("Command '$command' contained line breaks");
  943 +
  944 + return false;
  945 + }
  946 + $this->client_send($commandstring . static::LE, $command);
  947 +
  948 + $this->last_reply = $this->get_lines();
  949 + // Fetch SMTP code and possible error code explanation
  950 + $matches = [];
  951 + if (preg_match('/^([\d]{3})[ -](?:([\d]\\.[\d]\\.[\d]{1,2}) )?/', $this->last_reply, $matches)) {
  952 + $code = (int) $matches[1];
  953 + $code_ex = (count($matches) > 2 ? $matches[2] : null);
  954 + // Cut off error code from each response line
  955 + $detail = preg_replace(
  956 + "/{$code}[ -]" .
  957 + ($code_ex ? str_replace('.', '\\.', $code_ex) . ' ' : '') . '/m',
  958 + '',
  959 + $this->last_reply
  960 + );
  961 + } else {
  962 + // Fall back to simple parsing if regex fails
  963 + $code = (int) substr($this->last_reply, 0, 3);
  964 + $code_ex = null;
  965 + $detail = substr($this->last_reply, 4);
  966 + }
  967 +
  968 + $this->edebug('SERVER -> CLIENT: ' . $this->last_reply, self::DEBUG_SERVER);
  969 +
  970 + if (!in_array($code, (array) $expect, true)) {
  971 + $this->setError(
  972 + "$command command failed",
  973 + $detail,
  974 + $code,
  975 + $code_ex
  976 + );
  977 + $this->edebug(
  978 + 'SMTP ERROR: ' . $this->error['error'] . ': ' . $this->last_reply,
  979 + self::DEBUG_CLIENT
  980 + );
  981 +
  982 + return false;
  983 + }
  984 +
  985 + $this->setError('');
  986 +
  987 + return true;
  988 + }
  989 +
  990 + /**
  991 + * Send an SMTP SAML command.
  992 + * Starts a mail transaction from the email address specified in $from.
  993 + * Returns true if successful or false otherwise. If True
  994 + * the mail transaction is started and then one or more recipient
  995 + * commands may be called followed by a data command. This command
  996 + * will send the message to the users terminal if they are logged
  997 + * in and send them an email.
  998 + * Implements RFC 821: SAML <SP> FROM:<reverse-path> <CRLF>.
  999 + *
  1000 + * @param string $from The address the message is from
  1001 + *
  1002 + * @return bool
  1003 + */
  1004 + public function sendAndMail($from)
  1005 + {
  1006 + return $this->sendCommand('SAML', "SAML FROM:$from", 250);
  1007 + }
  1008 +
  1009 + /**
  1010 + * Send an SMTP VRFY command.
  1011 + *
  1012 + * @param string $name The name to verify
  1013 + *
  1014 + * @return bool
  1015 + */
  1016 + public function verify($name)
  1017 + {
  1018 + return $this->sendCommand('VRFY', "VRFY $name", [250, 251]);
  1019 + }
  1020 +
  1021 + /**
  1022 + * Send an SMTP NOOP command.
  1023 + * Used to keep keep-alives alive, doesn't actually do anything.
  1024 + *
  1025 + * @return bool
  1026 + */
  1027 + public function noop()
  1028 + {
  1029 + return $this->sendCommand('NOOP', 'NOOP', 250);
  1030 + }
  1031 +
  1032 + /**
  1033 + * Send an SMTP TURN command.
  1034 + * This is an optional command for SMTP that this class does not support.
  1035 + * This method is here to make the RFC821 Definition complete for this class
  1036 + * and _may_ be implemented in future.
  1037 + * Implements from RFC 821: TURN <CRLF>.
  1038 + *
  1039 + * @return bool
  1040 + */
  1041 + public function turn()
  1042 + {
  1043 + $this->setError('The SMTP TURN command is not implemented');
  1044 + $this->edebug('SMTP NOTICE: ' . $this->error['error'], self::DEBUG_CLIENT);
  1045 +
  1046 + return false;
  1047 + }
  1048 +
  1049 + /**
  1050 + * Send raw data to the server.
  1051 + *
  1052 + * @param string $data The data to send
  1053 + * @param string $command Optionally, the command this is part of, used only for controlling debug output
  1054 + *
  1055 + * @return int|bool The number of bytes sent to the server or false on error
  1056 + */
  1057 + public function client_send($data, $command = '')
  1058 + {
  1059 + //If SMTP transcripts are left enabled, or debug output is posted online
  1060 + //it can leak credentials, so hide credentials in all but lowest level
  1061 + if (self::DEBUG_LOWLEVEL > $this->do_debug &&
  1062 + in_array($command, ['User & Password', 'Username', 'Password'], true)) {
  1063 + $this->edebug('CLIENT -> SERVER: [credentials hidden]', self::DEBUG_CLIENT);
  1064 + } else {
  1065 + $this->edebug('CLIENT -> SERVER: ' . $data, self::DEBUG_CLIENT);
  1066 + }
  1067 + set_error_handler([$this, 'errorHandler']);
  1068 + $result = fwrite($this->smtp_conn, $data);
  1069 + restore_error_handler();
  1070 +
  1071 + return $result;
  1072 + }
  1073 +
  1074 + /**
  1075 + * Get the latest error.
  1076 + *
  1077 + * @return array
  1078 + */
  1079 + public function getError()
  1080 + {
  1081 + return $this->error;
  1082 + }
  1083 +
  1084 + /**
  1085 + * Get SMTP extensions available on the server.
  1086 + *
  1087 + * @return array|null
  1088 + */
  1089 + public function getServerExtList()
  1090 + {
  1091 + return $this->server_caps;
  1092 + }
  1093 +
  1094 + /**
  1095 + * Get metadata about the SMTP server from its HELO/EHLO response.
  1096 + * The method works in three ways, dependent on argument value and current state:
  1097 + * 1. HELO/EHLO has not been sent - returns null and populates $this->error.
  1098 + * 2. HELO has been sent -
  1099 + * $name == 'HELO': returns server name
  1100 + * $name == 'EHLO': returns boolean false
  1101 + * $name == any other string: returns null and populates $this->error
  1102 + * 3. EHLO has been sent -
  1103 + * $name == 'HELO'|'EHLO': returns the server name
  1104 + * $name == any other string: if extension $name exists, returns True
  1105 + * or its options (e.g. AUTH mechanisms supported). Otherwise returns False.
  1106 + *
  1107 + * @param string $name Name of SMTP extension or 'HELO'|'EHLO'
  1108 + *
  1109 + * @return string|bool|null
  1110 + */
  1111 + public function getServerExt($name)
  1112 + {
  1113 + if (!$this->server_caps) {
  1114 + $this->setError('No HELO/EHLO was sent');
  1115 +
  1116 + return;
  1117 + }
  1118 +
  1119 + if (!array_key_exists($name, $this->server_caps)) {
  1120 + if ('HELO' === $name) {
  1121 + return $this->server_caps['EHLO'];
  1122 + }
  1123 + if ('EHLO' === $name || array_key_exists('EHLO', $this->server_caps)) {
  1124 + return false;
  1125 + }
  1126 + $this->setError('HELO handshake was used; No information about server extensions available');
  1127 +
  1128 + return;
  1129 + }
  1130 +
  1131 + return $this->server_caps[$name];
  1132 + }
  1133 +
  1134 + /**
  1135 + * Get the last reply from the server.
  1136 + *
  1137 + * @return string
  1138 + */
  1139 + public function getLastReply()
  1140 + {
  1141 + return $this->last_reply;
  1142 + }
  1143 +
  1144 + /**
  1145 + * Read the SMTP server's response.
  1146 + * Either before eof or socket timeout occurs on the operation.
  1147 + * With SMTP we can tell if we have more lines to read if the
  1148 + * 4th character is '-' symbol. If it is a space then we don't
  1149 + * need to read anything else.
  1150 + *
  1151 + * @return string
  1152 + */
  1153 + protected function get_lines()
  1154 + {
  1155 + // If the connection is bad, give up straight away
  1156 + if (!is_resource($this->smtp_conn)) {
  1157 + return '';
  1158 + }
  1159 + $data = '';
  1160 + $endtime = 0;
  1161 + stream_set_timeout($this->smtp_conn, $this->Timeout);
  1162 + if ($this->Timelimit > 0) {
  1163 + $endtime = time() + $this->Timelimit;
  1164 + }
  1165 + $selR = [$this->smtp_conn];
  1166 + $selW = null;
  1167 + while (is_resource($this->smtp_conn) && !feof($this->smtp_conn)) {
  1168 + //Must pass vars in here as params are by reference
  1169 + if (!stream_select($selR, $selW, $selW, $this->Timelimit)) {
  1170 + $this->edebug(
  1171 + 'SMTP -> get_lines(): select timed-out in (' . $this->Timelimit . ' sec)',
  1172 + self::DEBUG_LOWLEVEL
  1173 + );
  1174 + break;
  1175 + }
  1176 + //Deliberate noise suppression - errors are handled afterwards
  1177 + $str = @fgets($this->smtp_conn, self::MAX_REPLY_LENGTH);
  1178 + $this->edebug('SMTP INBOUND: "' . trim($str) . '"', self::DEBUG_LOWLEVEL);
  1179 + $data .= $str;
  1180 + // If response is only 3 chars (not valid, but RFC5321 S4.2 says it must be handled),
  1181 + // or 4th character is a space or a line break char, we are done reading, break the loop.
  1182 + // String array access is a significant micro-optimisation over strlen
  1183 + if (!isset($str[3]) || $str[3] === ' ' || $str[3] === "\r" || $str[3] === "\n") {
  1184 + break;
  1185 + }
  1186 + // Timed-out? Log and break
  1187 + $info = stream_get_meta_data($this->smtp_conn);
  1188 + if ($info['timed_out']) {
  1189 + $this->edebug(
  1190 + 'SMTP -> get_lines(): stream timed-out (' . $this->Timeout . ' sec)',
  1191 + self::DEBUG_LOWLEVEL
  1192 + );
  1193 + break;
  1194 + }
  1195 + // Now check if reads took too long
  1196 + if ($endtime && time() > $endtime) {
  1197 + $this->edebug(
  1198 + 'SMTP -> get_lines(): timelimit reached (' .
  1199 + $this->Timelimit . ' sec)',
  1200 + self::DEBUG_LOWLEVEL
  1201 + );
  1202 + break;
  1203 + }
  1204 + }
  1205 +
  1206 + return $data;
  1207 + }
  1208 +
  1209 + /**
  1210 + * Enable or disable VERP address generation.
  1211 + *
  1212 + * @param bool $enabled
  1213 + */
  1214 + public function setVerp($enabled = false)
  1215 + {
  1216 + $this->do_verp = $enabled;
  1217 + }
  1218 +
  1219 + /**
  1220 + * Get VERP address generation mode.
  1221 + *
  1222 + * @return bool
  1223 + */
  1224 + public function getVerp()
  1225 + {
  1226 + return $this->do_verp;
  1227 + }
  1228 +
  1229 + /**
  1230 + * Set error messages and codes.
  1231 + *
  1232 + * @param string $message The error message
  1233 + * @param string $detail Further detail on the error
  1234 + * @param string $smtp_code An associated SMTP error code
  1235 + * @param string $smtp_code_ex Extended SMTP code
  1236 + */
  1237 + protected function setError($message, $detail = '', $smtp_code = '', $smtp_code_ex = '')
  1238 + {
  1239 + $this->error = [
  1240 + 'error' => $message,
  1241 + 'detail' => $detail,
  1242 + 'smtp_code' => $smtp_code,
  1243 + 'smtp_code_ex' => $smtp_code_ex,
  1244 + ];
  1245 + }
  1246 +
  1247 + /**
  1248 + * Set debug output method.
  1249 + *
  1250 + * @param string|callable $method The name of the mechanism to use for debugging output, or a callable to handle it
  1251 + */
  1252 + public function setDebugOutput($method = 'echo')
  1253 + {
  1254 + $this->Debugoutput = $method;
  1255 + }
  1256 +
  1257 + /**
  1258 + * Get debug output method.
  1259 + *
  1260 + * @return string
  1261 + */
  1262 + public function getDebugOutput()
  1263 + {
  1264 + return $this->Debugoutput;
  1265 + }
  1266 +
  1267 + /**
  1268 + * Set debug output level.
  1269 + *
  1270 + * @param int $level
  1271 + */
  1272 + public function setDebugLevel($level = 0)
  1273 + {
  1274 + $this->do_debug = $level;
  1275 + }
  1276 +
  1277 + /**
  1278 + * Get debug output level.
  1279 + *
  1280 + * @return int
  1281 + */
  1282 + public function getDebugLevel()
  1283 + {
  1284 + return $this->do_debug;
  1285 + }
  1286 +
  1287 + /**
  1288 + * Set SMTP timeout.
  1289 + *
  1290 + * @param int $timeout The timeout duration in seconds
  1291 + */
  1292 + public function setTimeout($timeout = 0)
  1293 + {
  1294 + $this->Timeout = $timeout;
  1295 + }
  1296 +
  1297 + /**
  1298 + * Get SMTP timeout.
  1299 + *
  1300 + * @return int
  1301 + */
  1302 + public function getTimeout()
  1303 + {
  1304 + return $this->Timeout;
  1305 + }
  1306 +
  1307 + /**
  1308 + * Reports an error number and string.
  1309 + *
  1310 + * @param int $errno The error number returned by PHP
  1311 + * @param string $errmsg The error message returned by PHP
  1312 + * @param string $errfile The file the error occurred in
  1313 + * @param int $errline The line number the error occurred on
  1314 + */
  1315 + protected function errorHandler($errno, $errmsg, $errfile = '', $errline = 0)
  1316 + {
  1317 + $notice = 'Connection failed.';
  1318 + $this->setError(
  1319 + $notice,
  1320 + $errmsg,
  1321 + (string) $errno
  1322 + );
  1323 + $this->edebug(
  1324 + "$notice Error #$errno: $errmsg [$errfile line $errline]",
  1325 + self::DEBUG_CONNECTION
  1326 + );
  1327 + }
  1328 +
  1329 + /**
  1330 + * Extract and return the ID of the last SMTP transaction based on
  1331 + * a list of patterns provided in SMTP::$smtp_transaction_id_patterns.
  1332 + * Relies on the host providing the ID in response to a DATA command.
  1333 + * If no reply has been received yet, it will return null.
  1334 + * If no pattern was matched, it will return false.
  1335 + *
  1336 + * @return bool|string|null
  1337 + */
  1338 + protected function recordLastTransactionID()
  1339 + {
  1340 + $reply = $this->getLastReply();
  1341 +
  1342 + if (empty($reply)) {
  1343 + $this->last_smtp_transaction_id = null;
  1344 + } else {
  1345 + $this->last_smtp_transaction_id = false;
  1346 + foreach ($this->smtp_transaction_id_patterns as $smtp_transaction_id_pattern) {
  1347 + $matches = [];
  1348 + if (preg_match($smtp_transaction_id_pattern, $reply, $matches)) {
  1349 + $this->last_smtp_transaction_id = trim($matches[1]);
  1350 + break;
  1351 + }
  1352 + }
  1353 + }
  1354 +
  1355 + return $this->last_smtp_transaction_id;
  1356 + }
  1357 +
  1358 + /**
  1359 + * Get the queue/transaction ID of the last SMTP transaction
  1360 + * If no reply has been received yet, it will return null.
  1361 + * If no pattern was matched, it will return false.
  1362 + *
  1363 + * @return bool|string|null
  1364 + *
  1365 + * @see recordLastTransactionID()
  1366 + */
  1367 + public function getLastTransactionID()
  1368 + {
  1369 + return $this->last_smtp_transaction_id;
  1370 + }
  1371 +}
  1 +<?php
  2 + define('SITE_KEY', '6Lf5x9UbAAAAAPcriXT0CkRpGUkTPaoASq091ewW');
  3 + define('SECRET_KEY', '6Lf5x9UbAAAAAHJ1N1fzhZ7Eg8_CLWQgb3Wb74VJ');
  4 +?>
  1 +<?php
  2 +
  3 + session_start();
  4 +
  5 + if (isset($_SESSION['user_id'])) {
  6 + header('Location: /login');
  7 + }
  8 + require 'database.php';
  9 +
  10 + if (!empty($_POST['email']) && !empty($_POST['password'])) {
  11 + $records = $conn->prepare('SELECT id, email, password FROM users WHERE email = :email');
  12 + $records->bindParam(':email', $_POST['email']);
  13 + $records->execute();
  14 + $results = $records->fetch(PDO::FETCH_ASSOC);
  15 +
  16 + $message = '';
  17 +
  18 + if (count($results) > 0 && password_verify($_POST['password'], $results['password'])) {
  19 + $_SESSION['user_id'] = $results['id'];
  20 + header("Location: /login");
  21 + } else {
  22 + $message = 'Sorry, those credentials do not match';
  23 + }
  24 + }
  25 +
  26 +?>
  27 +
  28 +<!DOCTYPE html>
  29 +<html>
  30 + <head>
  31 + <meta charset="utf-8">
  32 + <meta name="viewport" content="width=device-width">
  33 + <title>Login</title>
  34 + <link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet">
  35 + <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css" integrity="sha384-9aIt2nRpC12Uk9gS9baDl411NQApFmC26EwAOH8WgZl5MYYxFfc+NcPb1dKGj7Sk" crossorigin="anonymous">
  36 + <link rel="stylesheet" href="assets/css/style.css">
  37 + </head>
  38 + <body>
  39 + <?php if(!empty($message)): ?>
  40 + <p> <?= $message ?></p>
  41 + <?php endif; ?>
  42 +
  43 + <div class="wrapper fadeInDown">
  44 + <div id="formContent">
  45 + <!-- Tabs Titles -->
  46 + <br>
  47 + <!-- Icon -->
  48 + <div class="fadeIn first">
  49 + <img src="assets/img/user.png" id="icon" alt="User Icon" width="40%" height="40%" />
  50 + </div>
  51 + <br>
  52 + <form action="login.php" method="POST">
  53 + <input name="email" type="text" placeholder="E-mail" class="fadeIn second" name="email">
  54 + <input name="password" type="password" class="fadeIn third" placeholder="Contraseña">
  55 + <input type="submit" class="fadeIn fourth" value="Iniciar Sesión">
  56 + </form>
  57 +
  58 + <!-- Remind Passowrd -->
  59 + <div id="formFooter">
  60 + <small class="underlineHover">ARCA - DIRECCIÓN GENERAL DE CATASTRO</small>
  61 + </div>
  62 +
  63 + </div>
  64 +</div>
  65 +
  66 + <script src="https://code.jquery.com/jquery-3.5.1.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script>
  67 + <script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js" integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo" crossorigin="anonymous"></script>
  68 + <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/js/bootstrap.min.js" integrity="sha384-OgVRvuATP1z7JjHLkuOU7Xw704+h835Lr+6QL9UvYjZE3Ipu6Tp75j7Bh/kR0JKI" crossorigin="anonymous"></script>
  69 + </body>
  70 +</html>
  1 +<?php
  2 + session_start();
  3 +
  4 + session_unset();
  5 +
  6 + session_destroy();
  7 +
  8 + header('Location: /php-login');
  9 +?>
  1 +/*\
  2 +|*| ========================================================================
  3 +|*| Bootstrap Toggle: bootstrap4-toggle.css v3.6.1
  4 +|*| https://gitbrent.github.io/bootstrap4-toggle/
  5 +|*| ========================================================================
  6 +|*| Copyright 2018-2019 Brent Ely
  7 +|*| Licensed under MIT
  8 +|*| ========================================================================
  9 +\*/
  10 +.btn-group-xs>.btn,.btn-xs{padding:.35rem .4rem .25rem .4rem;font-size:.875rem;line-height:.5;border-radius:.2rem}.checkbox label .toggle,.checkbox-inline .toggle{margin-left:-1.25rem;margin-right:.35rem}.toggle{position:relative;overflow:hidden}.toggle.btn.btn-light,.toggle.btn.btn-outline-light{border-color:rgba(0,0,0,.15)}.toggle input[type=checkbox]{display:none}.toggle-group{position:absolute;width:200%;top:0;bottom:0;left:0;transition:left .35s;-webkit-transition:left .35s;-moz-user-select:none;-webkit-user-select:none}.toggle-group label,.toggle-group span{cursor:pointer}.toggle.off .toggle-group{left:-100%}.toggle-on{position:absolute;top:0;bottom:0;left:0;right:50%;margin:0;border:0;border-radius:0}.toggle-off{position:absolute;top:0;bottom:0;left:50%;right:0;margin:0;border:0;border-radius:0;box-shadow:none}.toggle-handle{position:relative;margin:0 auto;padding-top:0;padding-bottom:0;height:100%;width:0;border-width:0 1px;background-color:#fff}.toggle.btn-outline-primary .toggle-handle{background-color:var(--primary);border-color:var(--primary)}.toggle.btn-outline-secondary .toggle-handle{background-color:var(--secondary);border-color:var(--secondary)}.toggle.btn-outline-success .toggle-handle{background-color:var(--success);border-color:var(--success)}.toggle.btn-outline-danger .toggle-handle{background-color:var(--danger);border-color:var(--danger)}.toggle.btn-outline-warning .toggle-handle{background-color:var(--warning);border-color:var(--warning)}.toggle.btn-outline-info .toggle-handle{background-color:var(--info);border-color:var(--info)}.toggle.btn-outline-light .toggle-handle{background-color:var(--light);border-color:var(--light)}.toggle.btn-outline-dark .toggle-handle{background-color:var(--dark);border-color:var(--dark)}.toggle[class*=btn-outline]:hover .toggle-handle{background-color:var(--light);opacity:.5}.toggle.btn{min-width:3.7rem;min-height:2.15rem}.toggle-on.btn{padding-right:1.5rem}.toggle-off.btn{padding-left:1.5rem}.toggle.btn-lg{min-width:5rem;min-height:2.815rem}.toggle-on.btn-lg{padding-right:2rem}.toggle-off.btn-lg{padding-left:2rem}.toggle-handle.btn-lg{width:2.5rem}.toggle.btn-sm{min-width:3.125rem;min-height:1.938rem}.toggle-on.btn-sm{padding-right:1rem}.toggle-off.btn-sm{padding-left:1rem}.toggle.btn-xs{min-width:2.19rem;min-height:1.375rem}.toggle-on.btn-xs{padding-right:.8rem}.toggle-off.btn-xs{padding-left:.8rem}
  1 +
  2 +/* BASIC */
  3 +
  4 +
  5 +body {
  6 + font-family: "Poppins", sans-serif;
  7 + height: 100vh;
  8 +}
  9 +
  10 +a {
  11 + color: #92badd;
  12 + display:inline-block;
  13 + text-decoration: none;
  14 + font-weight: 400;
  15 +}
  16 +
  17 +h2 {
  18 + text-align: center;
  19 + font-size: 16px;
  20 + font-weight: 600;
  21 + text-transform: uppercase;
  22 + display:inline-block;
  23 + margin: 40px 8px 10px 8px;
  24 + color: #cccccc;
  25 +}
  26 +
  27 +
  28 +
  29 +/* STRUCTURE */
  30 +
  31 +.wrapper {
  32 + display: flex;
  33 + align-items: center;
  34 + flex-direction: column;
  35 + justify-content: center;
  36 + width: 100%;
  37 + min-height: 100%;
  38 + padding: 20px;
  39 +}
  40 +
  41 +#formContent {
  42 + -webkit-border-radius: 10px 10px 10px 10px;
  43 + border-radius: 10px 10px 10px 10px;
  44 + background: #fff;
  45 + padding: 30px;
  46 + width: 90%;
  47 + max-width: 450px;
  48 + position: relative;
  49 + padding: 0px;
  50 + -webkit-box-shadow: 0 30px 60px 0 rgba(0,0,0,0.3);
  51 + box-shadow: 0 30px 60px 0 rgba(0,0,0,0.3);
  52 + text-align: center;
  53 +}
  54 +
  55 +#formFooter {
  56 + background-color: #f6f6f6;
  57 + border-top: 1px solid #dce8f1;
  58 + padding: 25px;
  59 + text-align: center;
  60 + -webkit-border-radius: 0 0 10px 10px;
  61 + border-radius: 0 0 10px 10px;
  62 +}
  63 +
  64 +
  65 +
  66 +/* TABS */
  67 +
  68 +h2.inactive {
  69 + color: #cccccc;
  70 +}
  71 +
  72 +h2.active {
  73 + color: #0d0d0d;
  74 + border-bottom: 2px solid #5fbae9;
  75 +}
  76 +
  77 +
  78 +
  79 +/* FORM TYPOGRAPHY*/
  80 +
  81 +input[type=button], input[type=submit], input[type=reset] {
  82 + background-color: #56baed;
  83 + border: none;
  84 + color: white;
  85 + padding: 15px 80px;
  86 + text-align: center;
  87 + text-decoration: none;
  88 + display: inline-block;
  89 + text-transform: uppercase;
  90 + font-size: 13px;
  91 + -webkit-box-shadow: 0 10px 30px 0 rgba(95,186,233,0.4);
  92 + box-shadow: 0 10px 30px 0 rgba(95,186,233,0.4);
  93 + -webkit-border-radius: 5px 5px 5px 5px;
  94 + border-radius: 5px 5px 5px 5px;
  95 + margin: 5px 20px 40px 20px;
  96 + -webkit-transition: all 0.3s ease-in-out;
  97 + -moz-transition: all 0.3s ease-in-out;
  98 + -ms-transition: all 0.3s ease-in-out;
  99 + -o-transition: all 0.3s ease-in-out;
  100 + transition: all 0.3s ease-in-out;
  101 +}
  102 +
  103 +input[type=button]:hover, input[type=submit]:hover, input[type=reset]:hover {
  104 + background-color: #39ace7;
  105 +}
  106 +
  107 +input[type=button]:active, input[type=submit]:active, input[type=reset]:active {
  108 + -moz-transform: scale(0.95);
  109 + -webkit-transform: scale(0.95);
  110 + -o-transform: scale(0.95);
  111 + -ms-transform: scale(0.95);
  112 + transform: scale(0.95);
  113 +}
  114 +
  115 +input[type=text], [type=password] {
  116 + background-color: #f6f6f6;
  117 + border: none;
  118 + color: #0d0d0d;
  119 + padding: 15px 32px;
  120 + text-align: center;
  121 + text-decoration: none;
  122 + display: inline-block;
  123 + font-size: 16px;
  124 + margin: 5px;
  125 + width: 85%;
  126 + border: 2px solid #f6f6f6;
  127 + -webkit-transition: all 0.5s ease-in-out;
  128 + -moz-transition: all 0.5s ease-in-out;
  129 + -ms-transition: all 0.5s ease-in-out;
  130 + -o-transition: all 0.5s ease-in-out;
  131 + transition: all 0.5s ease-in-out;
  132 + -webkit-border-radius: 5px 5px 5px 5px;
  133 + border-radius: 5px 5px 5px 5px;
  134 +}
  135 +
  136 +input[type=text]:focus {
  137 + background-color: #fff;
  138 + border-bottom: 2px solid #5fbae9;
  139 +}
  140 +
  141 +input[type=text]:placeholder {
  142 + color: #cccccc;
  143 +}
  144 +
  145 +
  146 +
  147 +/* ANIMATIONS */
  148 +
  149 +/* Simple CSS3 Fade-in-down Animation */
  150 +.fadeInDown {
  151 + -webkit-animation-name: fadeInDown;
  152 + animation-name: fadeInDown;
  153 + -webkit-animation-duration: 1s;
  154 + animation-duration: 1s;
  155 + -webkit-animation-fill-mode: both;
  156 + animation-fill-mode: both;
  157 +}
  158 +
  159 +@-webkit-keyframes fadeInDown {
  160 + 0% {
  161 + opacity: 0;
  162 + -webkit-transform: translate3d(0, -100%, 0);
  163 + transform: translate3d(0, -100%, 0);
  164 + }
  165 + 100% {
  166 + opacity: 1;
  167 + -webkit-transform: none;
  168 + transform: none;
  169 + }
  170 +}
  171 +
  172 +@keyframes fadeInDown {
  173 + 0% {
  174 + opacity: 0;
  175 + -webkit-transform: translate3d(0, -100%, 0);
  176 + transform: translate3d(0, -100%, 0);
  177 + }
  178 + 100% {
  179 + opacity: 1;
  180 + -webkit-transform: none;
  181 + transform: none;
  182 + }
  183 +}
  184 +
  185 +/* Simple CSS3 Fade-in Animation */
  186 +@-webkit-keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
  187 +@-moz-keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
  188 +@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
  189 +
  190 +.fadeIn {
  191 + opacity:0;
  192 + -webkit-animation:fadeIn ease-in 1;
  193 + -moz-animation:fadeIn ease-in 1;
  194 + animation:fadeIn ease-in 1;
  195 +
  196 + -webkit-animation-fill-mode:forwards;
  197 + -moz-animation-fill-mode:forwards;
  198 + animation-fill-mode:forwards;
  199 +
  200 + -webkit-animation-duration:1s;
  201 + -moz-animation-duration:1s;
  202 + animation-duration:1s;
  203 +}
  204 +
  205 +.fadeIn.first {
  206 + -webkit-animation-delay: 0.4s;
  207 + -moz-animation-delay: 0.4s;
  208 + animation-delay: 0.4s;
  209 +}
  210 +
  211 +.fadeIn.second {
  212 + -webkit-animation-delay: 0.6s;
  213 + -moz-animation-delay: 0.6s;
  214 + animation-delay: 0.6s;
  215 +}
  216 +
  217 +.fadeIn.third {
  218 + -webkit-animation-delay: 0.8s;
  219 + -moz-animation-delay: 0.8s;
  220 + animation-delay: 0.8s;
  221 +}
  222 +
  223 +.fadeIn.fourth {
  224 + -webkit-animation-delay: 1s;
  225 + -moz-animation-delay: 1s;
  226 + animation-delay: 1s;
  227 +}
  228 +
  229 +/* Simple CSS3 Fade-in Animation */
  230 +.underlineHover:after {
  231 + display: block;
  232 + left: 0;
  233 + bottom: -10px;
  234 + width: 0;
  235 + height: 2px;
  236 + background-color: #56baed;
  237 + content: "";
  238 + transition: width 0.2s;
  239 +}
  240 +
  241 +.underlineHover:hover {
  242 + color: #0d0d0d;
  243 +}
  244 +
  245 +.underlineHover:hover:after{
  246 + width: 100%;
  247 +}
  248 +
  249 +
  250 +
  251 +/* OTHERS */
  252 +
  253 +*:focus {
  254 + outline: none;
  255 +}
  256 +
  257 +#icon {
  258 + width:40%;
  259 +}
  1 +<?php
  2 +
  3 +function Conectarse()
  4 +{
  5 + // Datos conexión a la Base de datos (MySql)
  6 + $sql_host="localhost"; // Host, nombre del servidor o IP del servidor Mysql.
  7 + $sql_usuario="alvaro"; // Usuario de Mysql
  8 + $sql_pass="nvidia"; // contraseña de Mysql
  9 +
  10 + $sql_db="turnosdb"; // Base de datos que se usará.
  11 + $sql_tabla=""; // Nombre de la tabla que contendrá los datos de los usuarios
  12 + $link = mysqli_connect($sql_host,$sql_usuario,$sql_pass,$sql_db);
  13 + //$link->set_charset('utf8');
  14 +
  15 +
  16 + if (!$link) {
  17 + echo "Error: No se pudo conectar a MySQL." . PHP_EOL;
  18 + echo "error de depuración: " . mysqli_connect_errno() . PHP_EOL;
  19 + exit;
  20 + }
  21 +
  22 + //echo "Éxito: Se realizó una conexión apropiada a MySQL! La base de datos mi_bd es genial." . PHP_EOL;
  23 +
  24 + return $link;
  25 +}
  26 +
  27 +$link=Conectarse();
  28 +
  29 +?>
  1 +<!DOCTYPE html>
  2 +<html>
  3 +<meta name="viewport" content="width=device-width">
  4 +<head>
  5 + <title>Confirmar turno</title>
  6 + <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous">
  7 + <script src="https://kit.fontawesome.com/5fc2169900.js" crossorigin="anonymous"></script>
  8 +</head>
  9 +<body>
  10 +<nav class="navbar navbar-light" style="background-image: url('img/fondoheader.png'); background-repeat: no-repeat; background-position: center; background-size: cover;">
  11 + <div class="navbar-brand mx-auto" >
  12 + <img src="img/logo.png" width="350px" height="75%">
  13 + </div>
  14 + </nav>
  15 + <div class="container">
  16 + <hr style="border-width: 1px; border-style: inset;">
  17 + <br>
  18 + <div class="card" style="border-left-color: #214370; border-right-color: #214370; border-bottom-color: #214370;">
  19 + <div class="card-header text-white text-center" style="background-color: #214370;"><b><h5>Turnos</h5></b></div>
  20 + <div class="card-body">
  21 + <div class="row">
  22 + <div class="col text-center">
  23 + <?php
  24 + if(!isset($link)) { include('./conecta.php'); }
  25 + if (isset($_GET['code'])){
  26 + $idturno = base64_decode($_GET['code']);
  27 + $idturno = ($idturno/20)/50;
  28 + $sqlconsulta = "SELECT * FROM turnosv_turnos WHERE verificado IS NULL AND id_turno=".$idturno;
  29 + $queryconsulta = mysqli_query($link, $sqlconsulta);
  30 + if (mysqli_num_rows($queryconsulta)!=0){
  31 + $sqlconfirmar = "UPDATE turnosv_turnos SET verificado='".date("Y-m-d H:i:s")."' WHERE id_turno=".$idturno;
  32 + if (mysqli_query($link, $sqlconfirmar)) {
  33 + echo "<p><i class='text-success fas fa-check-circle'></i> SU TURNO FUE CONFIRMADO</p>";
  34 + }
  35 + $sqlinfo = "SELECT * FROM turnosv_turnos WHERE id_turno=".$idturno;
  36 + $queryinfo = mysqli_query($link, $sqlinfo);
  37 + $info = mysqli_fetch_assoc($queryinfo);
  38 + echo "<br><h5><u>Detalle de turno</u></h5>
  39 + Fecha: ".date("d-m-Y", strtotime($info['fecha']))."
  40 + <br>Hora: ".substr($info['hora'],0,5)."
  41 + <br>Nombre y Apellido: ".$info['nombre_apellido']."
  42 + <br><br><a class='btn btn-sm btn-secondary' href='https://dgrpi.arca.gob.ar/sitio/'>Salir</a>
  43 + <br><br><div class='alert alert-primary' role='alert'>Tolerancia: 10 minutos</div>
  44 + ";
  45 + } else {
  46 + echo "Su turno ya fue confirmado con anterioridad.<br><br><a class='btn btn-sm btn-secondary' href='localhost/turnosapp'>Salir</a>";
  47 + }
  48 +
  49 +
  50 +
  51 +
  52 + }
  53 +
  54 + ?>
  55 + </div>
  56 + </div>
  57 + </div>
  58 + </form>
  59 + </div>
  60 + </div>
  61 + <br>
  62 + <br>
  63 +
  64 + </div>
  65 +
  66 +<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script>
  67 +<script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js" integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo" crossorigin="anonymous"></script>
  68 +<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/js/bootstrap.min.js" integrity="sha384-OgVRvuATP1z7JjHLkuOU7Xw704+h835Lr+6QL9UvYjZE3Ipu6Tp75j7Bh/kR0JKI" crossorigin="anonymous"></script>
  69 +</body>
  70 +</html>
  71 +