From be6f6797244cc28202859f5bba2f16d7584cc946 Mon Sep 17 00:00:00 2001
From: Javier Casares
Date: Thu, 29 Jan 2026 09:57:28 +0000
Subject: [PATCH] v2.0.0
---
LICENSE | 674 ++
assets/css/admin.css | 44 +-
assets/js/admin.js | 104 +-
changelog.txt | 50 +-
includes/class-plugin.php | 1943 ++-
includes/class-robotstxt-smtp-encryption.php | 222 +
includes/class-settings-page.php | 10658 +++++++++--------
includes/class-smtp-diagnostics-client.php | 216 +-
includes/class-statistics.php | 287 +
languages/robotstxt-smtp-ca.mo | Bin 0 -> 33316 bytes
languages/robotstxt-smtp-ca.po | 1479 +++
languages/robotstxt-smtp-es_ES.mo | Bin 0 -> 33741 bytes
languages/robotstxt-smtp-es_ES.po | 1479 +++
languages/robotstxt-smtp.pot | 1374 +++
readme.txt | 172 +-
robotstxt-smtp.php | 251 +-
robotstxt-updater.php | 383 +
uninstall.php | 310 +-
update.json | 27 +
19 files changed, 13721 insertions(+), 5952 deletions(-)
create mode 100644 LICENSE
create mode 100644 includes/class-robotstxt-smtp-encryption.php
create mode 100644 includes/class-statistics.php
create mode 100644 languages/robotstxt-smtp-ca.mo
create mode 100644 languages/robotstxt-smtp-ca.po
create mode 100644 languages/robotstxt-smtp-es_ES.mo
create mode 100644 languages/robotstxt-smtp-es_ES.po
create mode 100644 languages/robotstxt-smtp.pot
create mode 100644 robotstxt-updater.php
create mode 100644 update.json
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 0000000..e72bfdd
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,674 @@
+ GNU GENERAL PUBLIC LICENSE
+ Version 3, 29 June 2007
+
+ Copyright (C) 2007 Free Software Foundation, Inc.
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+ Preamble
+
+ The GNU General Public License is a free, copyleft license for
+software and other kinds of works.
+
+ The licenses for most software and other practical works are designed
+to take away your freedom to share and change the works. By contrast,
+the GNU General Public License is intended to guarantee your freedom to
+share and change all versions of a program--to make sure it remains free
+software for all its users. We, the Free Software Foundation, use the
+GNU General Public License for most of our software; it applies also to
+any other work released this way by its authors. You can apply it to
+your programs, too.
+
+ When we speak of free software, we are referring to freedom, not
+price. Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+them if you wish), that you receive source code or can get it if you
+want it, that you can change the software or use pieces of it in new
+free programs, and that you know you can do these things.
+
+ To protect your rights, we need to prevent others from denying you
+these rights or asking you to surrender the rights. Therefore, you have
+certain responsibilities if you distribute copies of the software, or if
+you modify it: responsibilities to respect the freedom of others.
+
+ For example, if you distribute copies of such a program, whether
+gratis or for a fee, you must pass on to the recipients the same
+freedoms that you received. You must make sure that they, too, receive
+or can get the source code. And you must show them these terms so they
+know their rights.
+
+ Developers that use the GNU GPL protect your rights with two steps:
+(1) assert copyright on the software, and (2) offer you this License
+giving you legal permission to copy, distribute and/or modify it.
+
+ For the developers' and authors' protection, the GPL clearly explains
+that there is no warranty for this free software. For both users' and
+authors' sake, the GPL requires that modified versions be marked as
+changed, so that their problems will not be attributed erroneously to
+authors of previous versions.
+
+ Some devices are designed to deny users access to install or run
+modified versions of the software inside them, although the manufacturer
+can do so. This is fundamentally incompatible with the aim of
+protecting users' freedom to change the software. The systematic
+pattern of such abuse occurs in the area of products for individuals to
+use, which is precisely where it is most unacceptable. Therefore, we
+have designed this version of the GPL to prohibit the practice for those
+products. If such problems arise substantially in other domains, we
+stand ready to extend this provision to those domains in future versions
+of the GPL, as needed to protect the freedom of users.
+
+ Finally, every program is threatened constantly by software patents.
+States should not allow patents to restrict development and use of
+software on general-purpose computers, but in those that do, we wish to
+avoid the special danger that patents applied to a free program could
+make it effectively proprietary. To prevent this, the GPL assures that
+patents cannot be used to render the program non-free.
+
+ The precise terms and conditions for copying, distribution and
+modification follow.
+
+ TERMS AND CONDITIONS
+
+ 0. Definitions.
+
+ "This License" refers to version 3 of the GNU General Public License.
+
+ "Copyright" also means copyright-like laws that apply to other kinds of
+works, such as semiconductor masks.
+
+ "The Program" refers to any copyrightable work licensed under this
+License. Each licensee is addressed as "you". "Licensees" and
+"recipients" may be individuals or organizations.
+
+ To "modify" a work means to copy from or adapt all or part of the work
+in a fashion requiring copyright permission, other than the making of an
+exact copy. The resulting work is called a "modified version" of the
+earlier work or a work "based on" the earlier work.
+
+ A "covered work" means either the unmodified Program or a work based
+on the Program.
+
+ To "propagate" a work means to do anything with it that, without
+permission, would make you directly or secondarily liable for
+infringement under applicable copyright law, except executing it on a
+computer or modifying a private copy. Propagation includes copying,
+distribution (with or without modification), making available to the
+public, and in some countries other activities as well.
+
+ To "convey" a work means any kind of propagation that enables other
+parties to make or receive copies. Mere interaction with a user through
+a computer network, with no transfer of a copy, is not conveying.
+
+ An interactive user interface displays "Appropriate Legal Notices"
+to the extent that it includes a convenient and prominently visible
+feature that (1) displays an appropriate copyright notice, and (2)
+tells the user that there is no warranty for the work (except to the
+extent that warranties are provided), that licensees may convey the
+work under this License, and how to view a copy of this License. If
+the interface presents a list of user commands or options, such as a
+menu, a prominent item in the list meets this criterion.
+
+ 1. Source Code.
+
+ The "source code" for a work means the preferred form of the work
+for making modifications to it. "Object code" means any non-source
+form of a work.
+
+ A "Standard Interface" means an interface that either is an official
+standard defined by a recognized standards body, or, in the case of
+interfaces specified for a particular programming language, one that
+is widely used among developers working in that language.
+
+ The "System Libraries" of an executable work include anything, other
+than the work as a whole, that (a) is included in the normal form of
+packaging a Major Component, but which is not part of that Major
+Component, and (b) serves only to enable use of the work with that
+Major Component, or to implement a Standard Interface for which an
+implementation is available to the public in source code form. A
+"Major Component", in this context, means a major essential component
+(kernel, window system, and so on) of the specific operating system
+(if any) on which the executable work runs, or a compiler used to
+produce the work, or an object code interpreter used to run it.
+
+ The "Corresponding Source" for a work in object code form means all
+the source code needed to generate, install, and (for an executable
+work) run the object code and to modify the work, including scripts to
+control those activities. However, it does not include the work's
+System Libraries, or general-purpose tools or generally available free
+programs which are used unmodified in performing those activities but
+which are not part of the work. For example, Corresponding Source
+includes interface definition files associated with source files for
+the work, and the source code for shared libraries and dynamically
+linked subprograms that the work is specifically designed to require,
+such as by intimate data communication or control flow between those
+subprograms and other parts of the work.
+
+ The Corresponding Source need not include anything that users
+can regenerate automatically from other parts of the Corresponding
+Source.
+
+ The Corresponding Source for a work in source code form is that
+same work.
+
+ 2. Basic Permissions.
+
+ All rights granted under this License are granted for the term of
+copyright on the Program, and are irrevocable provided the stated
+conditions are met. This License explicitly affirms your unlimited
+permission to run the unmodified Program. The output from running a
+covered work is covered by this License only if the output, given its
+content, constitutes a covered work. This License acknowledges your
+rights of fair use or other equivalent, as provided by copyright law.
+
+ You may make, run and propagate covered works that you do not
+convey, without conditions so long as your license otherwise remains
+in force. You may convey covered works to others for the sole purpose
+of having them make modifications exclusively for you, or provide you
+with facilities for running those works, provided that you comply with
+the terms of this License in conveying all material for which you do
+not control copyright. Those thus making or running the covered works
+for you must do so exclusively on your behalf, under your direction
+and control, on terms that prohibit them from making any copies of
+your copyrighted material outside their relationship with you.
+
+ Conveying under any other circumstances is permitted solely under
+the conditions stated below. Sublicensing is not allowed; section 10
+makes it unnecessary.
+
+ 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
+
+ No covered work shall be deemed part of an effective technological
+measure under any applicable law fulfilling obligations under article
+11 of the WIPO copyright treaty adopted on 20 December 1996, or
+similar laws prohibiting or restricting circumvention of such
+measures.
+
+ When you convey a covered work, you waive any legal power to forbid
+circumvention of technological measures to the extent such circumvention
+is effected by exercising rights under this License with respect to
+the covered work, and you disclaim any intention to limit operation or
+modification of the work as a means of enforcing, against the work's
+users, your or third parties' legal rights to forbid circumvention of
+technological measures.
+
+ 4. Conveying Verbatim Copies.
+
+ You may convey verbatim copies of the Program's source code as you
+receive it, in any medium, provided that you conspicuously and
+appropriately publish on each copy an appropriate copyright notice;
+keep intact all notices stating that this License and any
+non-permissive terms added in accord with section 7 apply to the code;
+keep intact all notices of the absence of any warranty; and give all
+recipients a copy of this License along with the Program.
+
+ You may charge any price or no price for each copy that you convey,
+and you may offer support or warranty protection for a fee.
+
+ 5. Conveying Modified Source Versions.
+
+ You may convey a work based on the Program, or the modifications to
+produce it from the Program, in the form of source code under the
+terms of section 4, provided that you also meet all of these conditions:
+
+ a) The work must carry prominent notices stating that you modified
+ it, and giving a relevant date.
+
+ b) The work must carry prominent notices stating that it is
+ released under this License and any conditions added under section
+ 7. This requirement modifies the requirement in section 4 to
+ "keep intact all notices".
+
+ c) You must license the entire work, as a whole, under this
+ License to anyone who comes into possession of a copy. This
+ License will therefore apply, along with any applicable section 7
+ additional terms, to the whole of the work, and all its parts,
+ regardless of how they are packaged. This License gives no
+ permission to license the work in any other way, but it does not
+ invalidate such permission if you have separately received it.
+
+ d) If the work has interactive user interfaces, each must display
+ Appropriate Legal Notices; however, if the Program has interactive
+ interfaces that do not display Appropriate Legal Notices, your
+ work need not make them do so.
+
+ A compilation of a covered work with other separate and independent
+works, which are not by their nature extensions of the covered work,
+and which are not combined with it such as to form a larger program,
+in or on a volume of a storage or distribution medium, is called an
+"aggregate" if the compilation and its resulting copyright are not
+used to limit the access or legal rights of the compilation's users
+beyond what the individual works permit. Inclusion of a covered work
+in an aggregate does not cause this License to apply to the other
+parts of the aggregate.
+
+ 6. Conveying Non-Source Forms.
+
+ You may convey a covered work in object code form under the terms
+of sections 4 and 5, provided that you also convey the
+machine-readable Corresponding Source under the terms of this License,
+in one of these ways:
+
+ a) Convey the object code in, or embodied in, a physical product
+ (including a physical distribution medium), accompanied by the
+ Corresponding Source fixed on a durable physical medium
+ customarily used for software interchange.
+
+ b) Convey the object code in, or embodied in, a physical product
+ (including a physical distribution medium), accompanied by a
+ written offer, valid for at least three years and valid for as
+ long as you offer spare parts or customer support for that product
+ model, to give anyone who possesses the object code either (1) a
+ copy of the Corresponding Source for all the software in the
+ product that is covered by this License, on a durable physical
+ medium customarily used for software interchange, for a price no
+ more than your reasonable cost of physically performing this
+ conveying of source, or (2) access to copy the
+ Corresponding Source from a network server at no charge.
+
+ c) Convey individual copies of the object code with a copy of the
+ written offer to provide the Corresponding Source. This
+ alternative is allowed only occasionally and noncommercially, and
+ only if you received the object code with such an offer, in accord
+ with subsection 6b.
+
+ d) Convey the object code by offering access from a designated
+ place (gratis or for a charge), and offer equivalent access to the
+ Corresponding Source in the same way through the same place at no
+ further charge. You need not require recipients to copy the
+ Corresponding Source along with the object code. If the place to
+ copy the object code is a network server, the Corresponding Source
+ may be on a different server (operated by you or a third party)
+ that supports equivalent copying facilities, provided you maintain
+ clear directions next to the object code saying where to find the
+ Corresponding Source. Regardless of what server hosts the
+ Corresponding Source, you remain obligated to ensure that it is
+ available for as long as needed to satisfy these requirements.
+
+ e) Convey the object code using peer-to-peer transmission, provided
+ you inform other peers where the object code and Corresponding
+ Source of the work are being offered to the general public at no
+ charge under subsection 6d.
+
+ A separable portion of the object code, whose source code is excluded
+from the Corresponding Source as a System Library, need not be
+included in conveying the object code work.
+
+ A "User Product" is either (1) a "consumer product", which means any
+tangible personal property which is normally used for personal, family,
+or household purposes, or (2) anything designed or sold for incorporation
+into a dwelling. In determining whether a product is a consumer product,
+doubtful cases shall be resolved in favor of coverage. For a particular
+product received by a particular user, "normally used" refers to a
+typical or common use of that class of product, regardless of the status
+of the particular user or of the way in which the particular user
+actually uses, or expects or is expected to use, the product. A product
+is a consumer product regardless of whether the product has substantial
+commercial, industrial or non-consumer uses, unless such uses represent
+the only significant mode of use of the product.
+
+ "Installation Information" for a User Product means any methods,
+procedures, authorization keys, or other information required to install
+and execute modified versions of a covered work in that User Product from
+a modified version of its Corresponding Source. The information must
+suffice to ensure that the continued functioning of the modified object
+code is in no case prevented or interfered with solely because
+modification has been made.
+
+ If you convey an object code work under this section in, or with, or
+specifically for use in, a User Product, and the conveying occurs as
+part of a transaction in which the right of possession and use of the
+User Product is transferred to the recipient in perpetuity or for a
+fixed term (regardless of how the transaction is characterized), the
+Corresponding Source conveyed under this section must be accompanied
+by the Installation Information. But this requirement does not apply
+if neither you nor any third party retains the ability to install
+modified object code on the User Product (for example, the work has
+been installed in ROM).
+
+ The requirement to provide Installation Information does not include a
+requirement to continue to provide support service, warranty, or updates
+for a work that has been modified or installed by the recipient, or for
+the User Product in which it has been modified or installed. Access to a
+network may be denied when the modification itself materially and
+adversely affects the operation of the network or violates the rules and
+protocols for communication across the network.
+
+ Corresponding Source conveyed, and Installation Information provided,
+in accord with this section must be in a format that is publicly
+documented (and with an implementation available to the public in
+source code form), and must require no special password or key for
+unpacking, reading or copying.
+
+ 7. Additional Terms.
+
+ "Additional permissions" are terms that supplement the terms of this
+License by making exceptions from one or more of its conditions.
+Additional permissions that are applicable to the entire Program shall
+be treated as though they were included in this License, to the extent
+that they are valid under applicable law. If additional permissions
+apply only to part of the Program, that part may be used separately
+under those permissions, but the entire Program remains governed by
+this License without regard to the additional permissions.
+
+ When you convey a copy of a covered work, you may at your option
+remove any additional permissions from that copy, or from any part of
+it. (Additional permissions may be written to require their own
+removal in certain cases when you modify the work.) You may place
+additional permissions on material, added by you to a covered work,
+for which you have or can give appropriate copyright permission.
+
+ Notwithstanding any other provision of this License, for material you
+add to a covered work, you may (if authorized by the copyright holders of
+that material) supplement the terms of this License with terms:
+
+ a) Disclaiming warranty or limiting liability differently from the
+ terms of sections 15 and 16 of this License; or
+
+ b) Requiring preservation of specified reasonable legal notices or
+ author attributions in that material or in the Appropriate Legal
+ Notices displayed by works containing it; or
+
+ c) Prohibiting misrepresentation of the origin of that material, or
+ requiring that modified versions of such material be marked in
+ reasonable ways as different from the original version; or
+
+ d) Limiting the use for publicity purposes of names of licensors or
+ authors of the material; or
+
+ e) Declining to grant rights under trademark law for use of some
+ trade names, trademarks, or service marks; or
+
+ f) Requiring indemnification of licensors and authors of that
+ material by anyone who conveys the material (or modified versions of
+ it) with contractual assumptions of liability to the recipient, for
+ any liability that these contractual assumptions directly impose on
+ those licensors and authors.
+
+ All other non-permissive additional terms are considered "further
+restrictions" within the meaning of section 10. If the Program as you
+received it, or any part of it, contains a notice stating that it is
+governed by this License along with a term that is a further
+restriction, you may remove that term. If a license document contains
+a further restriction but permits relicensing or conveying under this
+License, you may add to a covered work material governed by the terms
+of that license document, provided that the further restriction does
+not survive such relicensing or conveying.
+
+ If you add terms to a covered work in accord with this section, you
+must place, in the relevant source files, a statement of the
+additional terms that apply to those files, or a notice indicating
+where to find the applicable terms.
+
+ Additional terms, permissive or non-permissive, may be stated in the
+form of a separately written license, or stated as exceptions;
+the above requirements apply either way.
+
+ 8. Termination.
+
+ You may not propagate or modify a covered work except as expressly
+provided under this License. Any attempt otherwise to propagate or
+modify it is void, and will automatically terminate your rights under
+this License (including any patent licenses granted under the third
+paragraph of section 11).
+
+ However, if you cease all violation of this License, then your
+license from a particular copyright holder is reinstated (a)
+provisionally, unless and until the copyright holder explicitly and
+finally terminates your license, and (b) permanently, if the copyright
+holder fails to notify you of the violation by some reasonable means
+prior to 60 days after the cessation.
+
+ Moreover, your license from a particular copyright holder is
+reinstated permanently if the copyright holder notifies you of the
+violation by some reasonable means, this is the first time you have
+received notice of violation of this License (for any work) from that
+copyright holder, and you cure the violation prior to 30 days after
+your receipt of the notice.
+
+ Termination of your rights under this section does not terminate the
+licenses of parties who have received copies or rights from you under
+this License. If your rights have been terminated and not permanently
+reinstated, you do not qualify to receive new licenses for the same
+material under section 10.
+
+ 9. Acceptance Not Required for Having Copies.
+
+ You are not required to accept this License in order to receive or
+run a copy of the Program. Ancillary propagation of a covered work
+occurring solely as a consequence of using peer-to-peer transmission
+to receive a copy likewise does not require acceptance. However,
+nothing other than this License grants you permission to propagate or
+modify any covered work. These actions infringe copyright if you do
+not accept this License. Therefore, by modifying or propagating a
+covered work, you indicate your acceptance of this License to do so.
+
+ 10. Automatic Licensing of Downstream Recipients.
+
+ Each time you convey a covered work, the recipient automatically
+receives a license from the original licensors, to run, modify and
+propagate that work, subject to this License. You are not responsible
+for enforcing compliance by third parties with this License.
+
+ An "entity transaction" is a transaction transferring control of an
+organization, or substantially all assets of one, or subdividing an
+organization, or merging organizations. If propagation of a covered
+work results from an entity transaction, each party to that
+transaction who receives a copy of the work also receives whatever
+licenses to the work the party's predecessor in interest had or could
+give under the previous paragraph, plus a right to possession of the
+Corresponding Source of the work from the predecessor in interest, if
+the predecessor has it or can get it with reasonable efforts.
+
+ You may not impose any further restrictions on the exercise of the
+rights granted or affirmed under this License. For example, you may
+not impose a license fee, royalty, or other charge for exercise of
+rights granted under this License, and you may not initiate litigation
+(including a cross-claim or counterclaim in a lawsuit) alleging that
+any patent claim is infringed by making, using, selling, offering for
+sale, or importing the Program or any portion of it.
+
+ 11. Patents.
+
+ A "contributor" is a copyright holder who authorizes use under this
+License of the Program or a work on which the Program is based. The
+work thus licensed is called the contributor's "contributor version".
+
+ A contributor's "essential patent claims" are all patent claims
+owned or controlled by the contributor, whether already acquired or
+hereafter acquired, that would be infringed by some manner, permitted
+by this License, of making, using, or selling its contributor version,
+but do not include claims that would be infringed only as a
+consequence of further modification of the contributor version. For
+purposes of this definition, "control" includes the right to grant
+patent sublicenses in a manner consistent with the requirements of
+this License.
+
+ Each contributor grants you a non-exclusive, worldwide, royalty-free
+patent license under the contributor's essential patent claims, to
+make, use, sell, offer for sale, import and otherwise run, modify and
+propagate the contents of its contributor version.
+
+ In the following three paragraphs, a "patent license" is any express
+agreement or commitment, however denominated, not to enforce a patent
+(such as an express permission to practice a patent or covenant not to
+sue for patent infringement). To "grant" such a patent license to a
+party means to make such an agreement or commitment not to enforce a
+patent against the party.
+
+ If you convey a covered work, knowingly relying on a patent license,
+and the Corresponding Source of the work is not available for anyone
+to copy, free of charge and under the terms of this License, through a
+publicly available network server or other readily accessible means,
+then you must either (1) cause the Corresponding Source to be so
+available, or (2) arrange to deprive yourself of the benefit of the
+patent license for this particular work, or (3) arrange, in a manner
+consistent with the requirements of this License, to extend the patent
+license to downstream recipients. "Knowingly relying" means you have
+actual knowledge that, but for the patent license, your conveying the
+covered work in a country, or your recipient's use of the covered work
+in a country, would infringe one or more identifiable patents in that
+country that you have reason to believe are valid.
+
+ If, pursuant to or in connection with a single transaction or
+arrangement, you convey, or propagate by procuring conveyance of, a
+covered work, and grant a patent license to some of the parties
+receiving the covered work authorizing them to use, propagate, modify
+or convey a specific copy of the covered work, then the patent license
+you grant is automatically extended to all recipients of the covered
+work and works based on it.
+
+ A patent license is "discriminatory" if it does not include within
+the scope of its coverage, prohibits the exercise of, or is
+conditioned on the non-exercise of one or more of the rights that are
+specifically granted under this License. You may not convey a covered
+work if you are a party to an arrangement with a third party that is
+in the business of distributing software, under which you make payment
+to the third party based on the extent of your activity of conveying
+the work, and under which the third party grants, to any of the
+parties who would receive the covered work from you, a discriminatory
+patent license (a) in connection with copies of the covered work
+conveyed by you (or copies made from those copies), or (b) primarily
+for and in connection with specific products or compilations that
+contain the covered work, unless you entered into that arrangement,
+or that patent license was granted, prior to 28 March 2007.
+
+ Nothing in this License shall be construed as excluding or limiting
+any implied license or other defenses to infringement that may
+otherwise be available to you under applicable patent law.
+
+ 12. No Surrender of Others' Freedom.
+
+ If conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License. If you cannot convey a
+covered work so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you may
+not convey it at all. For example, if you agree to terms that obligate you
+to collect a royalty for further conveying from those to whom you convey
+the Program, the only way you could satisfy both those terms and this
+License would be to refrain entirely from conveying the Program.
+
+ 13. Use with the GNU Affero General Public License.
+
+ Notwithstanding any other provision of this License, you have
+permission to link or combine any covered work with a work licensed
+under version 3 of the GNU Affero General Public License into a single
+combined work, and to convey the resulting work. The terms of this
+License will continue to apply to the part which is the covered work,
+but the special requirements of the GNU Affero General Public License,
+section 13, concerning interaction through a network will apply to the
+combination as such.
+
+ 14. Revised Versions of this License.
+
+ The Free Software Foundation may publish revised and/or new versions of
+the GNU General Public License from time to time. Such new versions will
+be similar in spirit to the present version, but may differ in detail to
+address new problems or concerns.
+
+ Each version is given a distinguishing version number. If the
+Program specifies that a certain numbered version of the GNU General
+Public License "or any later version" applies to it, you have the
+option of following the terms and conditions either of that numbered
+version or of any later version published by the Free Software
+Foundation. If the Program does not specify a version number of the
+GNU General Public License, you may choose any version ever published
+by the Free Software Foundation.
+
+ If the Program specifies that a proxy can decide which future
+versions of the GNU General Public License can be used, that proxy's
+public statement of acceptance of a version permanently authorizes you
+to choose that version for the Program.
+
+ Later license versions may give you additional or different
+permissions. However, no additional obligations are imposed on any
+author or copyright holder as a result of your choosing to follow a
+later version.
+
+ 15. Disclaimer of Warranty.
+
+ THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
+APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
+HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
+OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
+THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
+IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
+ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
+
+ 16. Limitation of Liability.
+
+ IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
+THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
+GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
+USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
+DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
+PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
+EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGES.
+
+ 17. Interpretation of Sections 15 and 16.
+
+ If the disclaimer of warranty and limitation of liability provided
+above cannot be given local legal effect according to their terms,
+reviewing courts shall apply local law that most closely approximates
+an absolute waiver of all civil liability in connection with the
+Program, unless a warranty or assumption of liability accompanies a
+copy of the Program in return for a fee.
+
+ END OF TERMS AND CONDITIONS
+
+ How to Apply These Terms to Your New Programs
+
+ If you develop a new program, and you want it to be of the greatest
+possible use to the public, the best way to achieve this is to make it
+free software which everyone can redistribute and change under these terms.
+
+ To do so, attach the following notices to the program. It is safest
+to attach them to the start of each source file to most effectively
+state the exclusion of warranty; and each file should have at least
+the "copyright" line and a pointer to where the full notice is found.
+
+
+ Copyright (C)
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+
+Also add information on how to contact you by electronic and paper mail.
+
+ If the program does terminal interaction, make it output a short
+notice like this when it starts in an interactive mode:
+
+ Copyright (C)
+ This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
+ This is free software, and you are welcome to redistribute it
+ under certain conditions; type `show c' for details.
+
+The hypothetical commands `show w' and `show c' should show the appropriate
+parts of the General Public License. Of course, your program's commands
+might be different; for a GUI interface, you would use an "about box".
+
+ You should also get your employer (if you work as a programmer) or school,
+if any, to sign a "copyright disclaimer" for the program, if necessary.
+For more information on this, and how to apply and follow the GNU GPL, see
+.
+
+ The GNU General Public License does not permit incorporating your program
+into proprietary programs. If your program is a subroutine library, you
+may consider it more useful to permit linking proprietary applications with
+the library. If this is what you want to do, use the GNU Lesser General
+Public License instead of this License. But first, please read
+.
\ No newline at end of file
diff --git a/assets/css/admin.css b/assets/css/admin.css
index cf82263..14f4b07 100644
--- a/assets/css/admin.css
+++ b/assets/css/admin.css
@@ -1,22 +1,22 @@
-.robotstxt-smtp-tools .card {
- width: 100%;
- max-width: 100%;
- box-sizing: border-box;
-}
-
-.robotstxt-smtp-tools .robotstxt-smtp-tool-empty {
- margin-top: 1em;
-}
-
-.robotstxt-smtp-tools .robotstxt-smtp-tool-meta {
- margin: 1em 0;
- font-style: italic;
-}
-
-.robotstxt-smtp-tools .robotstxt-smtp-tool-actions {
- margin: 1em 0;
-}
-
-.robotstxt-smtp-tools .robotstxt-smtp-tool-result {
- margin-top: 1.5em;
-}
+.robotstxt-smtp-tools .card {
+ width: 100%;
+ max-width: 100%;
+ box-sizing: border-box;
+}
+
+.robotstxt-smtp-tools .robotstxt-smtp-tool-empty {
+ margin-top: 1em;
+}
+
+.robotstxt-smtp-tools .robotstxt-smtp-tool-meta {
+ margin: 1em 0;
+ font-style: italic;
+}
+
+.robotstxt-smtp-tools .robotstxt-smtp-tool-actions {
+ margin: 1em 0;
+}
+
+.robotstxt-smtp-tools .robotstxt-smtp-tool-result {
+ margin-top: 1.5em;
+}
diff --git a/assets/js/admin.js b/assets/js/admin.js
index 4f380ee..63cb4b2 100644
--- a/assets/js/admin.js
+++ b/assets/js/admin.js
@@ -1,52 +1,52 @@
-/**
- * Admin UI behavior for Robotstxt SMTP settings.
- *
- * @package RobotstxtSMTP
- */
-
-(function () {
- 'use strict';
-
- var initializeAdmin = function () {
- var security = document.getElementById( 'robotstxt_smtp_security' );
- var port = document.getElementById( 'robotstxt_smtp_port' );
-
- if ( ! security || ! port) {
- return;
- }
-
- var defaultPorts = {
- none: 25,
- ssl: 465,
- tls: 587
- };
-
- var previousValue = security.value || 'none';
-
- security.addEventListener(
- 'change',
- function () {
- var newValue = security.value || 'none';
- var previousDefault = Object.prototype.hasOwnProperty.call( defaultPorts, previousValue )
- ? defaultPorts[previousValue]
- : null;
- var newDefault = Object.prototype.hasOwnProperty.call( defaultPorts, newValue )
- ? defaultPorts[newValue]
- : null;
- var currentPort = parseInt( port.value, 10 );
-
- if ( ! Number.isNaN( currentPort ) && null !== previousDefault && currentPort === previousDefault && null !== newDefault) {
- port.value = newDefault;
- }
-
- previousValue = newValue;
- }
- );
- };
-
- if ('loading' !== document.readyState) {
- initializeAdmin();
- } else {
- document.addEventListener( 'DOMContentLoaded', initializeAdmin );
- }
-})();
+/**
+ * Admin UI behavior for Robotstxt SMTP settings.
+ *
+ * @package RobotstxtSMTP
+ */
+
+(function () {
+ 'use strict';
+
+ var initializeAdmin = function () {
+ var security = document.getElementById( 'robotstxt_smtp_security' );
+ var port = document.getElementById( 'robotstxt_smtp_port' );
+
+ if ( ! security || ! port) {
+ return;
+ }
+
+ var defaultPorts = {
+ none: 25,
+ ssl: 465,
+ tls: 587
+ };
+
+ var previousValue = security.value || 'none';
+
+ security.addEventListener(
+ 'change',
+ function () {
+ var newValue = security.value || 'none';
+ var previousDefault = Object.prototype.hasOwnProperty.call( defaultPorts, previousValue )
+ ? defaultPorts[previousValue]
+ : null;
+ var newDefault = Object.prototype.hasOwnProperty.call( defaultPorts, newValue )
+ ? defaultPorts[newValue]
+ : null;
+ var currentPort = parseInt( port.value, 10 );
+
+ if ( ! Number.isNaN( currentPort ) && null !== previousDefault && currentPort === previousDefault && null !== newDefault) {
+ port.value = newDefault;
+ }
+
+ previousValue = newValue;
+ }
+ );
+ };
+
+ if ('loading' !== document.readyState) {
+ initializeAdmin();
+ } else {
+ document.addEventListener( 'DOMContentLoaded', initializeAdmin );
+ }
+})();
diff --git a/changelog.txt b/changelog.txt
index 7e0f46b..9f5bd82 100644
--- a/changelog.txt
+++ b/changelog.txt
@@ -1,19 +1,31 @@
-= 1.2.0 =
-
-* Logged failed email deliveries with status and error details in the log list and detail views.
-* Captured the SMTP debug conversation for each email and surfaced it inside the log detail view.
-* Fixed fatal errors in the SMTP bootstrap by restoring configuration and log cleanup hooks.
-
-= 1.1.0 =
-
-* Added Amazon SES credential fields, regional selection, and live validation helpers that appear when the Amazon SES add-on is active.
-* Introduced the `robotstxt_smtp_sanitized_options` filter so add-ons can adjust sanitized settings before they are stored.
-* Routed SMTP test messages and regular WordPress emails through Amazon SES whenever the add-on supplies valid credentials.
-
-= 1.0.0 =
-
-* Contextual help guidance in every SMTP configuration field.
-* Automatic port updates when selecting an encryption method with standard values.
-* Advanced tools: MX analysis, SPF/DKIM/DMARC validation, extended SMTP diagnostics, and blacklist monitoring.
-* Enhanced logging with automatic cleanup by limit or age.
-* Updated documentation for the 1.0.0 release with WordPress 6.7 and PHP 8.2 support.
+= 2.0.0 =
+
+* Comprehensive security audit and hardening.
+* Enhanced nonce validation across all forms and actions.
+* Improved input sanitization and validation.
+* Enhanced password encryption and migration system.
+* Secure handling of superglobals and transients.
+* Strengthened regex patterns and port number validation.
+* Fixed potential security vulnerabilities in form handling.
+* Added Reply-To email and name configuration fields for custom reply addresses.
+* Added email statistics tracking system with daily counters and visual charts.
+* Added statistics page with Chart.js visualization and multisite support.
+* Added statistics retention settings (configurable from 1 to 365 days).
+* Access control and form handling improvements.
+* WordPress Multisite rate limiting enhancements.
+* Empty password field handling.
+* Code quality improvements throughout the plugin.
+
+= 1.1.0 =
+
+* Added Amazon SES credential fields, regional selection, and live validation helpers that appear when the Amazon SES add-on is active.
+* Introduced the `robotstxt_smtp_sanitized_options` filter so add-ons can adjust sanitized settings before they are stored.
+* Routed SMTP test messages and regular WordPress emails through Amazon SES whenever the add-on supplies valid credentials.
+
+= 1.0.0 =
+
+* Contextual help guidance in every SMTP configuration field.
+* Automatic port updates when selecting an encryption method with standard values.
+* Advanced tools: MX analysis, SPF/DKIM/DMARC validation, extended SMTP diagnostics, and blacklist monitoring.
+* Enhanced logging with automatic cleanup by limit or age.
+* Updated documentation for the 1.0.0 release with WordPress 6.7 and PHP 8.2 support.
diff --git a/includes/class-plugin.php b/includes/class-plugin.php
index 2dbe43b..a3bf3bb 100644
--- a/includes/class-plugin.php
+++ b/includes/class-plugin.php
@@ -1,664 +1,1279 @@
-
- */
- private array $current_debug_log = array();
-
- /**
- * Retrieves the plugin instance.
- *
- * @return Plugin Plugin instance.
- */
- public static function get_instance(): Plugin {
- if ( null === self::$instance ) {
- self::$instance = new self();
- }
-
- return self::$instance;
- }
-
- /**
- * Determines whether the Amazon SES integration plugin is active.
- *
- * @return bool
- */
- public static function is_amazon_ses_integration_active(): bool {
- /**
- * Filters whether the Amazon SES integration should be considered active.
- *
- * @since 1.0.1
- *
- * @param bool $is_active True when the Amazon SES add-on is active.
- */
- return (bool) \apply_filters( 'robotstxt_smtp_amazon_ses_active', false );
- }
-
- /**
- * Sets up the plugin.
- *
- * @return void
- */
- public function run(): void {
- add_action( 'phpmailer_init', array( $this, 'configure_phpmailer' ) );
- add_filter( 'wp_mail_from', array( $this, 'filter_mail_from' ) );
- add_filter( 'wp_mail_from_name', array( $this, 'filter_mail_from_name' ) );
-
- add_action( 'init', array( $this, 'register_log_post_type' ) );
- add_action( 'init', array( $this, 'maybe_schedule_cleanup' ) );
- add_action( 'wp_mail_succeeded', array( $this, 'handle_wp_mail_succeeded' ) );
- add_action( 'wp_mail_failed', array( $this, 'handle_wp_mail_failed' ) );
- add_action( self::CRON_HOOK, array( $this, 'cleanup_logs' ) );
-
- if ( is_admin() ) {
- $this->register_admin();
- }
- }
-
- /**
- * Registers the admin functionality.
- *
- * @return void
- */
- private function register_admin(): void {
- if ( null === $this->settings_page ) {
- $this->settings_page = new Settings_Page();
- }
-
- $this->settings_page->register_hooks();
- }
-
- /**
- * Registers the custom post type used to store email logs.
- *
- * @return void
- */
- public function register_log_post_type(): void {
- register_post_type(
- self::LOG_POST_TYPE,
- array(
- 'labels' => array(
- 'name' => esc_html__( 'SMTP Logs', 'robotstxt-smtp' ),
- 'singular_name' => esc_html__( 'SMTP Log', 'robotstxt-smtp' ),
- ),
- 'public' => false,
- 'show_ui' => false,
- 'show_in_menu' => false,
- 'show_in_nav_menus' => false,
- 'exclude_from_search' => true,
- 'publicly_queryable' => false,
- 'supports' => array( 'title', 'editor' ),
- 'capability_type' => 'post',
- 'map_meta_cap' => true,
- )
- );
- }
-
- /**
- * Schedules or clears the automatic log cleanup task based on settings.
- *
- * @return void
- */
- public function maybe_schedule_cleanup(): void {
- $logging = $this->get_logging_settings();
-
- if ( ! $logging['enabled'] ) {
- wp_clear_scheduled_hook( self::CRON_HOOK );
- return;
- }
-
- if ( false === wp_next_scheduled( self::CRON_HOOK ) ) {
- wp_schedule_event( time() + HOUR_IN_SECONDS, 'daily', self::CRON_HOOK );
- }
- }
-
- /**
- * Filters the "From" email address used by WordPress.
- *
- * @param string $original_email Original email address provided by WordPress.
- *
- * @return string
- */
- public function filter_mail_from( string $original_email ): string {
- $settings = $this->get_mailer_settings();
- $from_email = isset( $settings['from_email'] ) ? sanitize_email( $settings['from_email'] ) : '';
-
- if ( empty( $from_email ) ) {
- return sanitize_email( $original_email );
- }
-
- return $from_email;
- }
-
- /**
- * Filters the "From" name used by WordPress.
- *
- * @param string $original_name Original name provided by WordPress.
- *
- * @return string
- */
- public function filter_mail_from_name( string $original_name ): string {
- $settings = $this->get_mailer_settings();
- $from_name = isset( $settings['from_name'] ) ? sanitize_text_field( $settings['from_name'] ) : '';
-
- if ( '' === $from_name ) {
- return sanitize_text_field( $original_name );
- }
-
- return $from_name;
- }
-
- /**
- * Retrieves the stored mailer settings merged with defaults.
- *
- * @return array
- */
- private function get_mailer_settings(): array {
- $defaults = Settings_Page::get_default_settings();
-
- if ( Settings_Page::is_network_mode_enabled() ) {
- $settings = get_site_option( Settings_Page::NETWORK_OPTION_NAME, array() );
- } else {
- $settings = get_option( Settings_Page::OPTION_NAME, array() );
- }
-
- if ( ! is_array( $settings ) ) {
- $settings = array();
- }
-
- $settings = wp_parse_args( $settings, $defaults );
-
- /**
- * Filters the SMTP settings before they are consumed by the mailer.
- *
- * @since 1.1.1
- *
- * @param array $settings Sanitized settings merged with defaults.
- */
- return (array) \apply_filters( 'robotstxt_smtp_mailer_settings', $settings );
- }
-
- /**
- * Configures PHPMailer to use the stored SMTP settings.
- *
- * @param PHPMailer $phpmailer Mailer instance.
- *
- * @return void
- */
- public function configure_phpmailer( PHPMailer $phpmailer ): void {
- if ( self::is_amazon_ses_integration_active() ) {
- return;
- }
-
- $this->current_debug_log = array();
-
- $settings = $this->get_mailer_settings();
-
- if ( empty( $settings['host'] ) ) {
- return;
- }
-
- $phpmailer->isSMTP();
-
- // phpcs:disable WordPress.NamingConventions.ValidVariableName.UsedPropertyNotSnakeCase
- $phpmailer->Host = $settings['host'];
- $phpmailer->Port = (int) $settings['port'];
- $phpmailer->SMTPAuth = ! empty( $settings['username'] ) || ! empty( $settings['password'] );
- $phpmailer->Username = $phpmailer->SMTPAuth ? $settings['username'] : '';
- $phpmailer->Password = $phpmailer->SMTPAuth ? $settings['password'] : '';
- $phpmailer->SMTPAutoTLS = false;
- $phpmailer->SMTPSecure = '';
- // phpcs:enable WordPress.NamingConventions.ValidVariableName.UsedPropertyNotSnakeCase
-
- if ( 'ssl' === $settings['security'] ) {
- // phpcs:ignore WordPress.NamingConventions.ValidVariableName.UsedPropertyNotSnakeCase
- $phpmailer->SMTPSecure = PHPMailer::ENCRYPTION_SMTPS;
- } elseif ( 'tls' === $settings['security'] ) {
- // phpcs:disable WordPress.NamingConventions.ValidVariableName.UsedPropertyNotSnakeCase
- $phpmailer->SMTPSecure = PHPMailer::ENCRYPTION_STARTTLS;
- $phpmailer->SMTPAutoTLS = true;
- // phpcs:enable WordPress.NamingConventions.ValidVariableName.UsedPropertyNotSnakeCase
- }
-
- $this->register_debug_logger( $phpmailer );
- }
-
- /**
- * Enables SMTP debug logging for the current email.
- *
- * @param PHPMailer $phpmailer Mailer instance.
- *
- * @return void
- */
- private function register_debug_logger( PHPMailer $phpmailer ): void {
- $logging = $this->get_logging_settings();
-
- if ( ! $logging['enabled'] ) {
- return;
- }
-
- // phpcs:disable WordPress.NamingConventions.ValidVariableName.UsedPropertyNotSnakeCase
- $phpmailer->SMTPDebug = SMTP::DEBUG_SERVER;
- $phpmailer->Debugoutput = function ( string $message, int $level ): void {
- $this->current_debug_log[] = '[' . $level . '] ' . $message;
- };
- // phpcs:enable WordPress.NamingConventions.ValidVariableName.UsedPropertyNotSnakeCase
- }
-
-
- /**
- * Stores the email data when WordPress reports a successful delivery.
- *
- * @param array $mail_data Email data provided by wp_mail.
- *
- * @return void
- */
- public function handle_wp_mail_succeeded( array $mail_data ): void {
- $logging = $this->get_logging_settings();
-
- if ( ! $logging['enabled'] ) {
- return;
- }
-
- $settings = $this->get_mailer_settings();
-
- $subject = isset( $mail_data['subject'] ) ? sanitize_text_field( (string) $mail_data['subject'] ) : '';
- $message = isset( $mail_data['message'] ) ? (string) $mail_data['message'] : '';
- $headers = $this->normalize_headers( $mail_data['headers'] ?? array() );
- $to = $this->normalize_recipients( $mail_data['to'] ?? array() );
- $from = $this->determine_from_header( $headers, $settings );
-
- $post_id = wp_insert_post(
- array(
- 'post_type' => self::LOG_POST_TYPE,
- 'post_status' => 'publish',
- 'post_title' => $subject,
- 'post_content' => $message,
- 'post_date' => current_time( 'mysql' ),
- ),
- true
- );
-
- if ( is_wp_error( $post_id ) || 0 === $post_id ) {
- return;
- }
-
- update_post_meta( $post_id, '_robotstxt_smtp_to', implode( ', ', $to ) );
- update_post_meta( $post_id, '_robotstxt_smtp_from', $from );
- update_post_meta( $post_id, '_robotstxt_smtp_headers', implode( "\n", $headers ) );
- update_post_meta( $post_id, '_robotstxt_smtp_status', 'sent' );
- update_post_meta( $post_id, '_robotstxt_smtp_error', '' );
-
- if ( isset( $mail_data['attachments'] ) ) {
- update_post_meta( $post_id, '_robotstxt_smtp_attachments', maybe_serialize( $mail_data['attachments'] ) );
- }
-
- $debug_log = $this->get_sanitized_debug_log();
-
- if ( $debug_log ) {
- update_post_meta( $post_id, '_robotstxt_smtp_debug_log', maybe_serialize( $debug_log ) );
- }
-
- if ( 'count' === $logging['mode'] ) {
- $this->cleanup_logs_by_count( $logging['count'] );
- return;
- }
-
- $this->cleanup_logs_by_days( $logging['days'] );
- }
-
- /**
- * Stores the email data when WordPress reports a failed delivery.
- *
- * @param WP_Error $error Error object reported by wp_mail.
- *
- * @return void
- */
- public function handle_wp_mail_failed( WP_Error $error ): void {
- $logging = $this->get_logging_settings();
-
- if ( ! $logging['enabled'] ) {
- return;
- }
-
- $settings = $this->get_mailer_settings();
- $data = $error->get_error_data();
-
- if ( ! is_array( $data ) ) {
- $data = array();
- }
-
- $subject = isset( $data['subject'] ) ? sanitize_text_field( (string) $data['subject'] ) : '';
- $message = isset( $data['message'] ) ? (string) $data['message'] : '';
- $headers = $this->normalize_headers( $data['headers'] ?? array() );
- $to = $this->normalize_recipients( $data['to'] ?? array() );
- $from = $this->determine_from_header( $headers, $settings );
- $error_msg = sanitize_text_field( $error->get_error_message() );
-
- $post_id = wp_insert_post(
- array(
- 'post_type' => self::LOG_POST_TYPE,
- 'post_status' => 'publish',
- 'post_title' => $subject,
- 'post_content' => $message,
- 'post_date' => current_time( 'mysql' ),
- ),
- true
- );
-
- if ( is_wp_error( $post_id ) || 0 === $post_id ) {
- return;
- }
-
- update_post_meta( $post_id, '_robotstxt_smtp_to', implode( ', ', $to ) );
- update_post_meta( $post_id, '_robotstxt_smtp_from', $from );
- update_post_meta( $post_id, '_robotstxt_smtp_headers', implode( "\n", $headers ) );
- update_post_meta( $post_id, '_robotstxt_smtp_status', 'error' );
- update_post_meta( $post_id, '_robotstxt_smtp_error', $error_msg );
-
- if ( isset( $data['attachments'] ) ) {
- update_post_meta( $post_id, '_robotstxt_smtp_attachments', maybe_serialize( $data['attachments'] ) );
- }
-
- $debug_log = $this->get_sanitized_debug_log();
-
- if ( $debug_log ) {
- update_post_meta( $post_id, '_robotstxt_smtp_debug_log', maybe_serialize( $debug_log ) );
- }
-
- if ( 'count' === $logging['mode'] ) {
- $this->cleanup_logs_by_count( $logging['count'] );
- return;
- }
-
- $this->cleanup_logs_by_days( $logging['days'] );
- }
- /**
- * Retrieves the sanitized SMTP debug output captured for the current email.
- *
- * @return array
- */
- private function get_sanitized_debug_log(): array {
- if ( empty( $this->current_debug_log ) ) {
- return array();
- }
-
- $sanitized = array_map(
- static function ( $entry ): string {
- return sanitize_textarea_field( (string) $entry );
- },
- $this->current_debug_log
- );
-
- $sanitized = array_filter(
- $sanitized,
- static function ( string $line ): bool {
- return '' !== trim( $line );
- }
- );
-
- return array_values( $sanitized );
- }
-
- /**
- * Performs log cleanup when triggered by cron.
- *
- * @return void
- */
- public function cleanup_logs(): void {
- $logging = $this->get_logging_settings();
-
- if ( ! $logging['enabled'] ) {
- return;
- }
-
- if ( 'count' === $logging['mode'] ) {
- $this->cleanup_logs_by_count( $logging['count'] );
- return;
- }
-
- $this->cleanup_logs_by_days( $logging['days'] );
- }
-
- /**
- * Deletes all stored logs.
- *
- * @return void
- */
- public function clear_all_logs(): void {
- do {
- $posts = get_posts(
- array(
- 'post_type' => self::LOG_POST_TYPE,
- 'post_status' => 'any',
- 'fields' => 'ids',
- 'posts_per_page' => 100,
- 'orderby' => 'ID',
- 'order' => 'ASC',
- )
- );
-
- foreach ( $posts as $post_id ) {
- wp_delete_post( (int) $post_id, true );
- }
- } while ( ! empty( $posts ) );
- }
-
- /**
- * Cleans up logs by enforcing a maximum number of stored records.
- *
- * @param int $limit Maximum number of logs to keep.
- *
- * @return void
- */
- private function cleanup_logs_by_count( int $limit ): void {
- if ( $limit <= 0 ) {
- $this->clear_all_logs();
- return;
- }
-
- $logs_to_delete = get_posts(
- array(
- 'post_type' => self::LOG_POST_TYPE,
- 'post_status' => 'any',
- 'fields' => 'ids',
- 'orderby' => 'date',
- 'order' => 'DESC',
- 'posts_per_page' => -1,
- 'offset' => $limit,
- 'no_found_rows' => true,
- )
- );
-
- foreach ( $logs_to_delete as $post_id ) {
- wp_delete_post( (int) $post_id, true );
- }
- }
-
- /**
- * Cleans up logs based on the maximum number of days to retain them.
- *
- * @param int $days Number of days to keep.
- *
- * @return void
- */
- private function cleanup_logs_by_days( int $days ): void {
- if ( $days <= 0 ) {
- $this->clear_all_logs();
- return;
- }
-
- $cutoff = time() - ( $days * DAY_IN_SECONDS );
-
- $logs_to_delete = get_posts(
- array(
- 'post_type' => self::LOG_POST_TYPE,
- 'post_status' => 'any',
- 'fields' => 'ids',
- 'date_query' => array(
- array(
- 'column' => 'post_date_gmt',
- 'before' => gmdate( 'Y-m-d H:i:s', $cutoff ),
- ),
- ),
- 'posts_per_page' => -1,
- 'no_found_rows' => true,
- )
- );
-
- foreach ( $logs_to_delete as $post_id ) {
- wp_delete_post( (int) $post_id, true );
- }
- }
-
- /**
- * Normalizes the headers array into a list of strings.
- *
- * @param mixed $headers Headers provided by wp_mail.
- *
- * @return array
- */
- private function normalize_headers( $headers ): array {
- if ( empty( $headers ) ) {
- return array();
- }
-
- if ( is_string( $headers ) ) {
- $headers = preg_split( "/\r\n|\r|\n/", $headers );
- }
-
- if ( ! is_array( $headers ) ) {
- return array();
- }
-
- $normalized = array();
-
- foreach ( $headers as $header ) {
- $line = trim( (string) $header );
-
- if ( '' !== $line ) {
- $normalized[] = $line;
- }
- }
-
- return $normalized;
- }
-
- /**
- * Normalizes the recipient list into an array of strings.
- *
- * @param mixed $recipients Recipient information from wp_mail.
- *
- * @return array
- */
- private function normalize_recipients( $recipients ): array {
- if ( empty( $recipients ) ) {
- return array();
- }
-
- if ( is_string( $recipients ) ) {
- $recipients = explode( ',', $recipients );
- }
-
- if ( ! is_array( $recipients ) ) {
- return array();
- }
-
- $normalized = array();
-
- foreach ( $recipients as $recipient ) {
- $normalized[] = sanitize_text_field( trim( (string) $recipient ) );
- }
-
- return array_filter( $normalized );
- }
-
- /**
- * Determines the "From" header for the logged message.
- *
- * @param array $headers Normalized header list.
- * @param array $settings Plugin settings.
- *
- * @return string
- */
- private function determine_from_header( array $headers, array $settings ): string {
- foreach ( $headers as $header ) {
- if ( 0 === stripos( $header, 'from:' ) ) {
- return sanitize_text_field( trim( substr( $header, 5 ) ) );
- }
- }
-
- $from_email = isset( $settings['from_email'] ) ? sanitize_email( $settings['from_email'] ) : '';
- $from_name = isset( $settings['from_name'] ) ? sanitize_text_field( $settings['from_name'] ) : '';
-
- if ( $from_email && $from_name ) {
- return $from_name . ' <' . $from_email . '>';
- }
-
- if ( $from_email ) {
- return $from_email;
- }
-
- return get_bloginfo( 'name', 'display' );
- }
-
- /**
- * Retrieves the logging-related settings from the option store.
- *
- * @return array
- */
- private function get_logging_settings(): array {
- $settings = $this->get_mailer_settings();
-
- return array(
- 'enabled' => ! empty( $settings['logs_enabled'] ),
- 'mode' => in_array( $settings['logs_retention_mode'], array( 'count', 'days' ), true )
- ? $settings['logs_retention_mode']
- : 'count',
- 'count' => isset( $settings['logs_retention_count'] ) ? (int) $settings['logs_retention_count'] : 0,
- 'days' => isset( $settings['logs_retention_days'] ) ? (int) $settings['logs_retention_days'] : 0,
- );
- }
-}
+
+ */
+ private array $current_debug_log = array();
+
+ /**
+ * Holds rate limit error if checking failed.
+ *
+ * @since 1.2.1
+ *
+ * @var WP_Error|null
+ */
+ private ?WP_Error $rate_limit_error = null;
+
+
+
+ /**
+ * Retrieves the plugin instance.
+ *
+ * @return Plugin Plugin instance.
+ */
+ public static function get_instance(): Plugin {
+ if ( null === self::$instance ) {
+ self::$instance = new self();
+ }
+
+ return self::$instance;
+ }
+
+ /**
+ * Determines whether the Amazon SES integration plugin is active.
+ *
+ * @return bool
+ */
+ public static function is_amazon_ses_integration_active(): bool {
+ /**
+ * Filters whether the Amazon SES integration should be considered active.
+ *
+ * @since 1.0.1
+ *
+ * @param bool $is_active True when the Amazon SES add-on is active.
+ */
+ return (bool) \apply_filters( 'robotstxt_smtp_amazon_ses_active', false );
+ }
+
+ /**
+ * Sets up the plugin.
+ *
+ * @return void
+ */
+ public function run(): void {
+ add_action( 'phpmailer_init', array( $this, 'configure_phpmailer' ) );
+ add_filter( 'pre_wp_mail', array( $this, 'pre_wp_mail_rate_limit_check' ), 1 );
+ add_action( 'phpmailer_init', array( $this, 'enforce_rate_limit_in_phpmailer' ), 5 );
+ add_filter( 'wp_mail_from', array( $this, 'filter_mail_from' ) );
+ add_filter( 'wp_mail_from_name', array( $this, 'filter_mail_from_name' ) );
+ add_action( 'phpmailer_init', array( $this, 'configure_reply_to' ), 20 );
+
+ add_action( 'init', array( $this, 'register_log_post_type' ) );
+ add_action( 'init', array( $this, 'maybe_schedule_cleanup' ) );
+ add_action( 'init', array( $this, 'maybe_schedule_stats_cleanup' ) );
+ add_action( 'wp_mail_succeeded', array( $this, 'handle_wp_mail_succeeded' ) );
+ add_action( 'wp_mail_failed', array( $this, 'handle_wp_mail_failed' ) );
+ add_action( self::CRON_HOOK, array( $this, 'cleanup_logs' ) );
+ add_action( self::STATS_CRON_HOOK, array( $this, 'cleanup_stats' ) );
+
+ // Initialize statistics table.
+ Statistics::get_instance();
+
+ if ( is_admin() ) {
+ add_action( 'admin_init', array( $this, 'migrate_plaintext_credentials' ) );
+ add_action( 'admin_init', array( $this, 'handle_encryption_notice_dismissal' ) );
+ add_action( 'admin_notices', array( $this, 'display_encryption_unavailable_notice' ) );
+ add_action( 'network_admin_notices', array( $this, 'display_encryption_unavailable_notice' ) );
+ $this->register_admin();
+ }
+ }
+
+ /**
+ * Registers the admin functionality.
+ *
+ * @return void
+ */
+ private function register_admin(): void {
+ if ( null === $this->settings_page ) {
+ $this->settings_page = new Settings_Page();
+ }
+
+ $this->settings_page->register_hooks();
+ }
+
+ /**
+ * Registers the custom post type used to store email logs.
+ *
+ * @return void
+ */
+ public function register_log_post_type(): void {
+ register_post_type(
+ self::LOG_POST_TYPE,
+ array(
+ 'labels' => array(
+ 'name' => esc_html__( 'SMTP Logs', 'robotstxt-smtp' ),
+ 'singular_name' => esc_html__( 'SMTP Log', 'robotstxt-smtp' ),
+ ),
+ 'public' => false,
+ 'show_ui' => false,
+ 'show_in_menu' => false,
+ 'show_in_nav_menus' => false,
+ 'exclude_from_search' => true,
+ 'publicly_queryable' => false,
+ 'supports' => array( 'title', 'editor' ),
+ 'capability_type' => 'post',
+ 'map_meta_cap' => true,
+ )
+ );
+ }
+
+ /**
+ * Schedules or clears the automatic log cleanup task based on settings.
+ *
+ * @return void
+ */
+ public function maybe_schedule_cleanup(): void {
+ $logging = $this->get_logging_settings();
+
+ if ( ! $logging['enabled'] ) {
+ wp_clear_scheduled_hook( self::CRON_HOOK );
+ return;
+ }
+
+ if ( false === wp_next_scheduled( self::CRON_HOOK ) ) {
+ wp_schedule_event( time() + HOUR_IN_SECONDS, 'daily', self::CRON_HOOK );
+ }
+ }
+
+ /**
+ * Schedules the automatic statistics cleanup task.
+ *
+ * @return void
+ */
+ public function maybe_schedule_stats_cleanup(): void {
+ if ( false === wp_next_scheduled( self::STATS_CRON_HOOK ) ) {
+ wp_schedule_event( time() + HOUR_IN_SECONDS, 'daily', self::STATS_CRON_HOOK );
+ }
+ }
+
+ /**
+ * Filters the "From" email address used by WordPress.
+ *
+ * @param string $original_email Original email address provided by WordPress.
+ *
+ * @return string
+ */
+ public function filter_mail_from( string $original_email ): string {
+ $settings = $this->get_mailer_settings();
+ $from_email = isset( $settings['from_email'] ) ? sanitize_email( $settings['from_email'] ) : '';
+
+ if ( empty( $from_email ) ) {
+ return sanitize_email( $original_email );
+ }
+
+ return $from_email;
+ }
+
+ /**
+ * Filters the "From" name used by WordPress.
+ *
+ * @param string $original_name Original name provided by WordPress.
+ *
+ * @return string
+ */
+ public function filter_mail_from_name( string $original_name ): string {
+ $settings = $this->get_mailer_settings();
+ $from_name = isset( $settings['from_name'] ) ? sanitize_text_field( $settings['from_name'] ) : '';
+
+ if ( '' === $from_name ) {
+ return sanitize_text_field( $original_name );
+ }
+
+ return $from_name;
+ }
+
+ /**
+ * Configures Reply-To header if configured and not already set.
+ *
+ * This method runs with priority 20 on phpmailer_init to allow
+ * WordPress and other plugins to set Reply-To first. If no Reply-To
+ * exists and the settings include reply_to_email, it will be added.
+ *
+ * @param PHPMailer $phpmailer Mailer instance.
+ *
+ * @return void
+ */
+ public function configure_reply_to( PHPMailer $phpmailer ): void {
+ $settings = $this->get_mailer_settings();
+
+ // Check if reply-to email is configured.
+ $reply_to_email = isset( $settings['reply_to_email'] ) ? sanitize_email( $settings['reply_to_email'] ) : '';
+
+ // If no reply-to email configured, nothing to do.
+ if ( empty( $reply_to_email ) || ! is_email( $reply_to_email ) ) {
+ return;
+ }
+
+ // Check if Reply-To header already exists.
+ // phpcs:ignore WordPress.NamingConventions.ValidVariableName.UsedPropertyNotSnakeCase
+ if ( ! empty( $phpmailer->getReplyToAddresses() ) ) {
+ // Reply-To already set by wp_mail() or another plugin, don't override.
+ return;
+ }
+
+ // Get reply-to name (optional).
+ $reply_to_name = isset( $settings['reply_to_name'] ) ? sanitize_text_field( $settings['reply_to_name'] ) : '';
+
+ // Add the Reply-To header.
+ // phpcs:ignore WordPress.NamingConventions.ValidVariableName.UsedPropertyNotSnakeCase
+ $phpmailer->addReplyTo( $reply_to_email, $reply_to_name );
+ }
+
+ /**
+ * Retrieves the stored mailer settings merged with defaults.
+ *
+ * @return array
+ */
+ private function get_mailer_settings(): array {
+ $defaults = Settings_Page::get_default_settings();
+
+ if ( Settings_Page::is_network_mode_enabled() ) {
+ $settings = get_site_option( Settings_Page::NETWORK_OPTION_NAME, array() );
+ } else {
+ $settings = get_option( Settings_Page::OPTION_NAME, array() );
+ }
+
+ if ( ! is_array( $settings ) ) {
+ $settings = array();
+ }
+
+ $settings = wp_parse_args( $settings, $defaults );
+
+ $settings['password'] = \Robotstxt_SMTP_Encryption::decrypt( $settings['password'] ?? '' );
+ $settings['amazon_ses_access_key'] = \Robotstxt_SMTP_Encryption::decrypt( $settings['amazon_ses_access_key'] ?? '' );
+ $settings['amazon_ses_secret_key'] = \Robotstxt_SMTP_Encryption::decrypt( $settings['amazon_ses_secret_key'] ?? '' );
+
+ if ( ! is_string( $settings['password'] ) ) {
+ $settings['password'] = '';
+ }
+
+ if ( ! is_string( $settings['amazon_ses_access_key'] ) ) {
+ $settings['amazon_ses_access_key'] = '';
+ }
+
+ if ( ! is_string( $settings['amazon_ses_secret_key'] ) ) {
+ $settings['amazon_ses_secret_key'] = '';
+ }
+
+ /**
+ * Filters the SMTP settings before they are consumed by the mailer.
+ *
+ * @since 1.1.1
+ *
+ * @param array $settings Sanitized settings merged with defaults.
+ */
+ return (array) \apply_filters( 'robotstxt_smtp_mailer_settings', $settings );
+ }
+
+ /**
+ * Automatically migrates plaintext credentials to encrypted format.
+ *
+ * This method runs once during admin_init to detect and encrypt any
+ * credentials that were stored in plaintext (from pre-1.2.1 installations).
+ * Uses a transient to prevent repeated checks after migration is complete.
+ *
+ * @since 1.2.2
+ *
+ * @return void
+ */
+ public function migrate_plaintext_credentials(): void {
+ // Check if migration has already been completed.
+ $migration_check_key = 'robotstxt_smtp_credentials_migration_checked';
+ if ( get_transient( $migration_check_key ) ) {
+ return;
+ }
+
+ // Check if encryption is available.
+ if ( ! \Robotstxt_SMTP_Encryption::is_encryption_available() ) {
+ // Set transient to retry in 1 hour if encryption becomes available.
+ set_transient( $migration_check_key, true, HOUR_IN_SECONDS );
+ return;
+ }
+
+ $needs_migration = false;
+ $is_network_mode = Settings_Page::is_network_mode_enabled();
+
+ // Load raw settings without decryption.
+ if ( $is_network_mode ) {
+ $settings = get_site_option( Settings_Page::NETWORK_OPTION_NAME, array() );
+ } else {
+ $settings = get_option( Settings_Page::OPTION_NAME, array() );
+ }
+
+ if ( ! is_array( $settings ) ) {
+ $settings = array();
+ }
+
+ // Check each credential field for plaintext values.
+ $credential_fields = array( 'password', 'amazon_ses_access_key', 'amazon_ses_secret_key' );
+
+ foreach ( $credential_fields as $field ) {
+ if ( ! isset( $settings[ $field ] ) || '' === $settings[ $field ] ) {
+ continue;
+ }
+
+ // If the value is not encrypted and not empty, it needs migration.
+ if ( ! \Robotstxt_SMTP_Encryption::is_encrypted( $settings[ $field ] ) ) {
+ $needs_migration = true;
+ $settings[ $field ] = \Robotstxt_SMTP_Encryption::encrypt( $settings[ $field ] );
+ }
+ }
+
+ // Save migrated credentials if any were found.
+ if ( $needs_migration ) {
+ if ( $is_network_mode ) {
+ update_site_option( Settings_Page::NETWORK_OPTION_NAME, $settings );
+ } else {
+ update_option( Settings_Page::OPTION_NAME, $settings );
+ }
+ }
+
+ // Set transient to prevent future checks (valid for 30 days).
+ // After 30 days, it will check again in case new plaintext credentials were added.
+ set_transient( $migration_check_key, true, 30 * DAY_IN_SECONDS );
+ }
+
+ /**
+ * Displays an admin notice when encryption is unavailable.
+ *
+ * Shows a warning in the WordPress admin when encryption cannot be enabled,
+ * explaining what's missing and how to fix it. Only displays on plugin settings
+ * pages and can be dismissed for 7 days.
+ *
+ * @since 1.2.2
+ *
+ * @return void
+ */
+ public function display_encryption_unavailable_notice(): void {
+ // Only show on plugin settings pages.
+ $screen = get_current_screen();
+ if ( null === $screen || false === strpos( $screen->id, 'robotstxt-smtp' ) ) {
+ return;
+ }
+
+ // Check if encryption is available.
+ if ( \Robotstxt_SMTP_Encryption::is_encryption_available() ) {
+ return;
+ }
+
+ // Check if notice has been dismissed.
+ $dismissed_key = 'robotstxt_smtp_encryption_notice_dismissed';
+ if ( get_transient( $dismissed_key ) ) {
+ return;
+ }
+
+ // Check if there are any stored credentials that need encryption.
+ $is_network_mode = Settings_Page::is_network_mode_enabled();
+ if ( $is_network_mode ) {
+ $settings = get_site_option( Settings_Page::NETWORK_OPTION_NAME, array() );
+ } else {
+ $settings = get_option( Settings_Page::OPTION_NAME, array() );
+ }
+
+ if ( ! is_array( $settings ) ) {
+ $settings = array();
+ }
+
+ // Check if there are any credentials stored.
+ $has_credentials = false;
+ $credential_fields = array( 'password', 'amazon_ses_access_key', 'amazon_ses_secret_key' );
+ foreach ( $credential_fields as $field ) {
+ if ( ! empty( $settings[ $field ] ) ) {
+ $has_credentials = true;
+ break;
+ }
+ }
+
+ // Only show notice if there are credentials to protect.
+ if ( ! $has_credentials ) {
+ return;
+ }
+
+ // Determine what's missing.
+ $missing_requirements = array();
+
+ if ( ! extension_loaded( 'openssl' ) ) {
+ $missing_requirements[] = __( 'OpenSSL PHP extension is not loaded', 'robotstxt-smtp' );
+ } elseif ( ! in_array( 'aes-256-gcm', openssl_get_cipher_methods(), true ) ) {
+ $missing_requirements[] = __( 'AES-256-GCM cipher is not supported by OpenSSL', 'robotstxt-smtp' );
+ }
+
+ if ( ! defined( 'AUTH_KEY' ) || '' === AUTH_KEY ) {
+ $missing_requirements[] = __( 'AUTH_KEY is not defined in wp-config.php', 'robotstxt-smtp' );
+ }
+
+ if ( ! defined( 'AUTH_SALT' ) || '' === AUTH_SALT ) {
+ $missing_requirements[] = __( 'AUTH_SALT is not defined in wp-config.php', 'robotstxt-smtp' );
+ }
+
+ if ( empty( $missing_requirements ) ) {
+ // Encryption should be available but check failed - don't show notice.
+ return;
+ }
+
+ // Generate dismiss URL.
+ $dismiss_url = add_query_arg(
+ array(
+ 'robotstxt_smtp_dismiss_encryption_notice' => '1',
+ '_wpnonce' => wp_create_nonce( 'robotstxt_smtp_dismiss_encryption_notice' ),
+ )
+ );
+
+ ?>
+
+
+
+
+ $expected_codes Expected success codes.
- *
- * @return array
- */
- public function execute_command( string $name, string $command_string, array $expected_codes = array( 250 ) ): array {
- $this->last_command_timed_out = false;
- $this->reset_error_state();
-
- $expected = ! empty( $expected_codes ) ? array_map( 'intval', $expected_codes ) : array( 250 );
-
- $success = parent::sendCommand( $name, $command_string, $expected );
-
- if ( ! $success ) {
- $this->last_command_timed_out = $this->error_indicates_timeout( parent::getError() );
- }
-
- return array(
- 'success' => $success,
- 'reply' => $this->getLastReply(),
- 'timed_out' => $this->last_command_timed_out,
- );
- }
-
- /**
- * Indicates whether the last command timed out.
- *
- * @return bool
- */
- public function did_last_command_timeout(): bool {
- return $this->last_command_timed_out;
- }
-
- /**
- * Initiates STARTTLS while tracking timeout state.
- *
- * @return bool
- */
- public function startTLS(): bool {
- $this->last_command_timed_out = false;
- $this->reset_error_state();
-
- $result = parent::startTLS();
-
- if ( ! $result ) {
- $this->last_command_timed_out = $this->error_indicates_timeout( parent::getError() );
- }
-
- return $result;
- }
-
- /**
- * Clears the stored error state.
- */
- private function reset_error_state(): void {
- parent::setError( '' );
- }
-
- /**
- * Determines whether an error array represents a timeout.
- *
- * @param array $error Error details.
- *
- * @return bool
- */
- private function error_indicates_timeout( array $error ): bool {
- foreach ( array( 'error', 'detail', 'smtp_code_ex' ) as $key ) {
- if ( empty( $error[ $key ] ) ) {
- continue;
- }
-
- $value = (string) $error[ $key ];
-
- if ( false !== stripos( $value, 'timed out' ) || false !== stripos( $value, 'timed-out' ) ) {
- return true;
- }
- }
-
- return false;
- }
-}
+ $expected_codes Expected success codes.
+ *
+ * @return array
+ */
+ public function execute_command( string $name, string $command_string, array $expected_codes = array( 250 ) ): array {
+ $this->last_command_timed_out = false;
+ $this->reset_error_state();
+
+ $expected = ! empty( $expected_codes ) ? array_map( 'intval', $expected_codes ) : array( 250 );
+
+ $success = parent::sendCommand( $name, $command_string, $expected );
+
+ if ( ! $success ) {
+ $this->last_command_timed_out = $this->error_indicates_timeout( parent::getError() );
+ }
+
+ return array(
+ 'success' => $success,
+ 'reply' => $this->getLastReply(),
+ 'timed_out' => $this->last_command_timed_out,
+ );
+ }
+
+ /**
+ * Indicates whether the last command timed out.
+ *
+ * @return bool
+ */
+ public function did_last_command_timeout(): bool {
+ return $this->last_command_timed_out;
+ }
+
+ /**
+ * Initiates STARTTLS while tracking timeout state.
+ *
+ * @return bool
+ */
+ public function startTLS(): bool {
+ $this->last_command_timed_out = false;
+ $this->reset_error_state();
+
+ $result = parent::startTLS();
+
+ if ( ! $result ) {
+ $this->last_command_timed_out = $this->error_indicates_timeout( parent::getError() );
+ }
+
+ return $result;
+ }
+
+ /**
+ * Clears the stored error state.
+ */
+ private function reset_error_state(): void {
+ parent::setError( '' );
+ }
+
+ /**
+ * Determines whether an error array represents a timeout.
+ *
+ * @param array $error Error details.
+ *
+ * @return bool
+ */
+ private function error_indicates_timeout( array $error ): bool {
+ foreach ( array( 'error', 'detail', 'smtp_code_ex' ) as $key ) {
+ if ( empty( $error[ $key ] ) ) {
+ continue;
+ }
+
+ $value = (string) $error[ $key ];
+
+ if ( false !== stripos( $value, 'timed out' ) || false !== stripos( $value, 'timed-out' ) ) {
+ return true;
+ }
+ }
+
+ return false;
+ }
+}
diff --git a/includes/class-statistics.php b/includes/class-statistics.php
new file mode 100644
index 0000000..db9d116
--- /dev/null
+++ b/includes/class-statistics.php
@@ -0,0 +1,287 @@
+maybe_create_table();
+ }
+
+ /**
+ * Gets the full table name with WordPress prefix.
+ *
+ * @return string
+ */
+ public static function get_table_name(): string {
+ global $wpdb;
+ return $wpdb->base_prefix . self::TABLE_NAME;
+ }
+
+ /**
+ * Creates the statistics table if it doesn't exist.
+ *
+ * @return void
+ */
+ private function maybe_create_table(): void {
+ $installed_version = get_site_option( self::DB_VERSION_OPTION, '0' );
+
+ if ( version_compare( $installed_version, self::DB_VERSION, '>=' ) ) {
+ return;
+ }
+
+ global $wpdb;
+ $table_name = self::get_table_name();
+ $charset_collate = $wpdb->get_charset_collate();
+
+ $sql = "CREATE TABLE {$table_name} (
+ id bigint(20) unsigned NOT NULL AUTO_INCREMENT,
+ blog_id bigint(20) unsigned NOT NULL DEFAULT 1,
+ date date NOT NULL,
+ emails_sent bigint(20) unsigned NOT NULL DEFAULT 0,
+ PRIMARY KEY (id),
+ UNIQUE KEY blog_date (blog_id, date),
+ KEY date_idx (date),
+ KEY blog_id_idx (blog_id)
+ ) {$charset_collate};";
+
+ require_once ABSPATH . 'wp-admin/includes/upgrade.php';
+ dbDelta( $sql );
+
+ update_site_option( self::DB_VERSION_OPTION, self::DB_VERSION );
+ }
+
+ /**
+ * Increments the email counter for today.
+ *
+ * @param int|null $blog_id Blog ID (defaults to current blog).
+ *
+ * @return bool True on success, false on failure.
+ */
+ public function increment_today( ?int $blog_id = null ): bool {
+ global $wpdb;
+
+ if ( null === $blog_id ) {
+ $blog_id = get_current_blog_id();
+ }
+
+ $table_name = self::get_table_name();
+ $today = current_time( 'Y-m-d' );
+
+ // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching
+ $result = $wpdb->query(
+ $wpdb->prepare(
+ "INSERT INTO {$table_name} (blog_id, date, emails_sent)
+ VALUES (%d, %s, 1)
+ ON DUPLICATE KEY UPDATE emails_sent = emails_sent + 1",
+ $blog_id,
+ $today
+ )
+ );
+
+ return false !== $result;
+ }
+
+ /**
+ * Gets statistics for a specific date range.
+ *
+ * @param string $start_date Start date (Y-m-d format).
+ * @param string $end_date End date (Y-m-d format).
+ * @param int|null $blog_id Blog ID (null for all sites).
+ *
+ * @return array Array of statistics objects.
+ */
+ public function get_stats( string $start_date, string $end_date, ?int $blog_id = null ): array {
+ global $wpdb;
+
+ $table_name = self::get_table_name();
+
+ if ( null !== $blog_id ) {
+ // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching
+ $results = $wpdb->get_results(
+ $wpdb->prepare(
+ "SELECT blog_id, date, emails_sent
+ FROM {$table_name}
+ WHERE blog_id = %d
+ AND date BETWEEN %s AND %s
+ ORDER BY date ASC",
+ $blog_id,
+ $start_date,
+ $end_date
+ )
+ );
+ } else {
+ // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching
+ $results = $wpdb->get_results(
+ $wpdb->prepare(
+ "SELECT blog_id, date, emails_sent
+ FROM {$table_name}
+ WHERE date BETWEEN %s AND %s
+ ORDER BY date ASC, blog_id ASC",
+ $start_date,
+ $end_date
+ )
+ );
+ }
+
+ return is_array( $results ) ? $results : array();
+ }
+
+ /**
+ * Gets total emails sent for a date range.
+ *
+ * @param string $start_date Start date (Y-m-d format).
+ * @param string $end_date End date (Y-m-d format).
+ * @param int|null $blog_id Blog ID (null for all sites).
+ *
+ * @return int Total emails sent.
+ */
+ public function get_total( string $start_date, string $end_date, ?int $blog_id = null ): int {
+ global $wpdb;
+
+ $table_name = self::get_table_name();
+
+ if ( null !== $blog_id ) {
+ // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching
+ $total = $wpdb->get_var(
+ $wpdb->prepare(
+ "SELECT SUM(emails_sent)
+ FROM {$table_name}
+ WHERE blog_id = %d
+ AND date BETWEEN %s AND %s",
+ $blog_id,
+ $start_date,
+ $end_date
+ )
+ );
+ } else {
+ // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching
+ $total = $wpdb->get_var(
+ $wpdb->prepare(
+ "SELECT SUM(emails_sent)
+ FROM {$table_name}
+ WHERE date BETWEEN %s AND %s",
+ $start_date,
+ $end_date
+ )
+ );
+ }
+
+ return absint( $total );
+ }
+
+ /**
+ * Gets statistics aggregated by blog for multisite.
+ *
+ * @param string $start_date Start date (Y-m-d format).
+ * @param string $end_date End date (Y-m-d format).
+ *
+ * @return array Array with blog_id and total_emails.
+ */
+ public function get_stats_by_blog( string $start_date, string $end_date ): array {
+ global $wpdb;
+
+ $table_name = self::get_table_name();
+
+ // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching
+ $results = $wpdb->get_results(
+ $wpdb->prepare(
+ "SELECT blog_id, SUM(emails_sent) as total_emails
+ FROM {$table_name}
+ WHERE date BETWEEN %s AND %s
+ GROUP BY blog_id
+ ORDER BY total_emails DESC",
+ $start_date,
+ $end_date
+ )
+ );
+
+ return is_array( $results ) ? $results : array();
+ }
+
+ /**
+ * Deletes statistics older than specified days.
+ *
+ * @param int $days Number of days to retain.
+ *
+ * @return int Number of rows deleted.
+ */
+ public function cleanup_old_stats( int $days ): int {
+ global $wpdb;
+
+ $table_name = self::get_table_name();
+ $cutoff_date = gmdate( 'Y-m-d', strtotime( "-{$days} days" ) );
+
+ // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching
+ $deleted = $wpdb->query(
+ $wpdb->prepare(
+ "DELETE FROM {$table_name} WHERE date < %s",
+ $cutoff_date
+ )
+ );
+
+ return absint( $deleted );
+ }
+}
diff --git a/languages/robotstxt-smtp-ca.mo b/languages/robotstxt-smtp-ca.mo
new file mode 100644
index 0000000000000000000000000000000000000000..fda437aec7adef5d6d7af3a7f77213ff53454df4
GIT binary patch
literal 33316
zcmcJY37lnBedjMbG>fv!B3>Gr?uM$Ox}h5=1gY+>UZkois;XI4y!GC#s!P9(w{%y7
zNz`$P3b+KLanulv3JEO&Ge*%kiBB_bql`L6lc;09zyCRRc~#ZW5b{2p
z{=NI|y=VEK|9;LXzH!{aZw&aXI3Ng42R9uN1b6Vga-4n*g1es)1c!lt;_+VaD6Svy
z*B|ltHy%F=9?JbM`RlKPYq_yb_!Q9uE$Jli((BJ@{tuLhy5-`hPHkeHM5u_;hd$
zcmucrRQqoOp9j7RybC;#&fEsR3EU1Ie+F%W)1ca`f?L3sfY*bc1g`|oqLItNI{0kx
zz2Ft#_rVbCC9RhWKD=50$=zp((qVuhwo__^+4EPpM
zbiWsT8rTJo1;60$e;X7Xe+JHhSD)?LdD!D8K)wGZP<-R~JmgAajv{?lL?{0b<(znq7k4qgqa
zooP_d-2xs0{vN1)z8qA4?gaJxo55qjdqKVTAyA6-Q{YbUg%>z_eFoI?e+z2d{|Fur
z{t#5X2he%dyA0I$PVmz#ZY52}CXg6jV|@G|f@
zpz8S@Q2ls0sOR1QYTR!FB~K6d`yT-Nx&An)_kQZ}SD?mu&_(Df@GwyI41l8JB_O6C
zxEz$-xE>Tg?gq!fkAdpXi3q_gI0;?{eh7pF!3meR-?xDbEqDOb^WO!fzgM7?)ovM-
z9)AtUtHCEgR7!9F!bB6nN>Kg336xyi0bT{3!b?8}6OgG6uBURfdk07p!AHUE;IBc+
z+m$rB5qyKkFM;QBeJaAQ`y=3L@ODtYzaP8;{3eKs50-PG`bWSy@K%ri0AA1a=x`9A
zDuQ=|djIp_D)2Y{_j5Kly)gko`rs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U1)-IzZpH0^&
z+`fJ9*`+$*G2h6vxAbDqUUB2iePoE7Kd=u85@SEy?M=3Py#4~2H#s;L;^>y`QlchX$k!e{
z``eT1N3SUQoj#d5uoZmY2e`_oP_ryMT}7-@E;Lq1`CmiBS+orkK0bA;HrW9!Gm9F2
z&q+pQcNUyvbR_Ue6&ThmSNDEt#)kUuY)(oli{((XE^udr(p>b!Meyh~je3P?GUV3H
zbwQDFvo`^+KhUWth8wp2V#(ogjV{`NbNEla+uYLi
z7$|OGYrY&T^GP@T4S8a0FW_(nExKe7Td~M4^qhr(4J8m9fn;2y_-yNqQ8<(2FHz+Fn>3k}aKcovW%3Dd3Az5oIR2H}W(Yl?M6!T#kEM?i7#w%{~x`venWh-r2
znUfE?!s~U1Buzi1?F3hALk9HC#MU2~bj~>kf#4WuEc0uO&ZIaC&xuK&yI<0N!=}zU
zD>tI)>rv12E#KoGOm_E*lbH3wWSYEl{;^CF08Qbk=2sVNntPw;6s0>v>9m3j);?Yx
zWw>qogY*SKa#2#jVOgLOiCS2tG$}M)Xy;(i9Y#8F2uq97gXU;;Ka5p(2`2q5TC$hs
LrLA~sPg4Fn{gZ\n"
+"Language-Team: Catalan\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+"X-Generator: Manual\n"
+
+#: includes/class-plugin.php:165 includes/class-settings-page.php:381
+#: includes/class-settings-page.php:446 includes/class-settings-page.php:2691
+msgid "SMTP Logs"
+msgstr "Registres SMTP"
+
+#: includes/class-plugin.php:166
+msgid "SMTP Log"
+msgstr "Registre SMTP"
+
+#: includes/class-plugin.php:457
+msgid "OpenSSL PHP extension is not loaded"
+msgstr "L'extensió PHP OpenSSL no està carregada"
+
+#: includes/class-plugin.php:459
+msgid "AES-256-GCM cipher is not supported by OpenSSL"
+msgstr "El xifratge AES-256-GCM no està suportat per OpenSSL"
+
+#: includes/class-plugin.php:463
+msgid "AUTH_KEY is not defined in wp-config.php"
+msgstr "AUTH_KEY no està definida a wp-config.php"
+
+#: includes/class-plugin.php:467
+msgid "AUTH_SALT is not defined in wp-config.php"
+msgstr "AUTH_SALT no està definida a wp-config.php"
+
+#: includes/class-plugin.php:486
+msgid "ROBOTSTXT SMTP: Credential Encryption Unavailable"
+msgstr "ROBOTSTXT SMTP: Xifratge de credencials no disponible"
+
+#: includes/class-plugin.php:489
+msgid ""
+"Your SMTP credentials are currently stored without encryption because the "
+"following requirements are not met:"
+msgstr ""
+"Les teves credencials SMTP actualment s'emmagatzemen sense xifrar perquè no es compleixen "
+"els següents requisits:"
+
+#. translators: %s: Link to WordPress security keys documentation
+#: includes/class-plugin.php:500
+#, php-format
+msgid ""
+"To enable credential encryption, please ensure OpenSSL is installed and %s "
+"are defined in your wp-config.php file."
+msgstr ""
+"Per activar el xifratge de credencials, assegura't que OpenSSL estigui instal·lat i %s "
+"estiguin definides al teu arxiu wp-config.php."
+
+#: includes/class-plugin.php:501
+msgid "WordPress authentication keys"
+msgstr "claus d'autenticació de WordPress"
+
+#: includes/class-plugin.php:507
+msgid "Dismiss for 7 days"
+msgstr "Descartar durant 7 dies"
+
+#. translators: %d: rate limit per second
+#: includes/class-plugin.php:1147
+#, php-format
+msgid "Rate limit exceeded: Maximum %d emails per second."
+msgstr "Límit de taxa excedit: Màxim %d emails per segon."
+
+#. translators: %d: rate limit per hour
+#: includes/class-plugin.php:1163
+#, php-format
+msgid "Rate limit exceeded: Maximum %d emails per hour."
+msgstr "Límit de taxa excedit: Màxim %d emails per hora."
+
+#. translators: %d: rate limit per day
+#: includes/class-plugin.php:1179
+#, php-format
+msgid "Rate limit exceeded: Maximum %d emails per 24 hours."
+msgstr "Límit de taxa excedit: Màxim %d emails per 24 hores."
+
+#: includes/class-settings-page.php:246
+msgid "You do not have permission to access this page."
+msgstr "No tens permisos per accedir a aquesta pàgina."
+
+#. Plugin Name of the plugin/theme
+#: includes/class-settings-page.php:344 includes/class-settings-page.php:354
+#: includes/class-settings-page.php:409 includes/class-settings-page.php:419
+#: includes/class-settings-page.php:1081 includes/class-settings-page.php:1106
+msgid "SMTP (by ROBOTSTXT)"
+msgstr "SMTP (by ROBOTSTXT)"
+
+#: includes/class-settings-page.php:345 includes/class-settings-page.php:410
+msgid "SMTP"
+msgstr "SMTP"
+
+#: includes/class-settings-page.php:355 includes/class-settings-page.php:420
+msgid "Settings"
+msgstr "Configuració"
+
+#: includes/class-settings-page.php:363 includes/class-settings-page.php:428
+#: includes/class-settings-page.php:1277
+msgid "SMTP Test"
+msgstr "Prova SMTP"
+
+#: includes/class-settings-page.php:364 includes/class-settings-page.php:429
+msgid "Test"
+msgstr "Prova"
+
+#: includes/class-settings-page.php:372 includes/class-settings-page.php:437
+#: includes/class-settings-page.php:1344
+msgid "SMTP Tools"
+msgstr "Eines SMTP"
+
+#: includes/class-settings-page.php:373 includes/class-settings-page.php:438
+msgid "Tools"
+msgstr "Eines"
+
+#: includes/class-settings-page.php:382 includes/class-settings-page.php:447
+msgid "Logs"
+msgstr "Registres"
+
+#: includes/class-settings-page.php:390 includes/class-settings-page.php:455
+#: includes/class-settings-page.php:5809
+msgid "Email Statistics"
+msgstr "Estadístiques d'email"
+
+#: includes/class-settings-page.php:391 includes/class-settings-page.php:456
+msgid "Statistics"
+msgstr "Estadístiques"
+
+#: includes/class-settings-page.php:496
+msgid "SMTP Server Configuration"
+msgstr "Configuració del servidor SMTP"
+
+#: includes/class-settings-page.php:505 includes/class-settings-page.php:1174
+msgid "Email Log Settings"
+msgstr "Configuració de registres d'email"
+
+#: includes/class-settings-page.php:514
+msgid "Statistics Settings"
+msgstr "Configuració d'estadístiques"
+
+#: includes/class-settings-page.php:523 includes/class-settings-page.php:1181
+msgid "Rate Limiting"
+msgstr "Limitació de taxa"
+
+#: includes/class-settings-page.php:640
+msgid "Emails per second"
+msgstr "Emails per segon"
+
+#: includes/class-settings-page.php:646
+msgid "Emails per hour"
+msgstr "Emails per hora"
+
+#: includes/class-settings-page.php:652
+msgid "Emails per day (24 hours)"
+msgstr "Emails per dia (24 hores)"
+
+#: includes/class-settings-page.php:670
+msgid ""
+"Rate limits are automatically configured from your Amazon SES account quotas."
+msgstr ""
+"Els límits de taxa es configuren automàticament des de les quotes del teu compte d'Amazon SES."
+
+#. translators: %s: Time elapsed since quotas were fetched
+#: includes/class-settings-page.php:685
+#, php-format
+msgid "Last updated from Amazon SES: %s ago"
+msgstr "Última actualització des d'Amazon SES: fa %s"
+
+#: includes/class-settings-page.php:690
+msgid "Quotas not yet fetched from Amazon SES."
+msgstr "Quotes encara no obtingudes des d'Amazon SES."
+
+#: includes/class-settings-page.php:715
+msgid "Refresh Quotas Now"
+msgstr "Actualitzar quotes ara"
+
+#: includes/class-settings-page.php:723
+msgid ""
+"Configure rate limits to control how many emails can be sent per time "
+"period. Set to 0 for unlimited."
+msgstr ""
+"Configura límits de taxa per controlar quants emails es poden enviar per període de temps. "
+"Estableix a 0 per il·limitat."
+
+#: includes/class-settings-page.php:747 includes/class-settings-page.php:798
+#: includes/class-settings-page.php:848
+msgid "Unlimited"
+msgstr "Il·limitat"
+
+#: includes/class-settings-page.php:749
+msgid "Automatically set from Amazon SES MaxSendRate quota."
+msgstr "Establert automàticament des de la quota MaxSendRate d'Amazon SES."
+
+#: includes/class-settings-page.php:754 includes/class-settings-page.php:805
+#: includes/class-settings-page.php:855
+msgid "Not available"
+msgstr "No disponible"
+
+#: includes/class-settings-page.php:756 includes/class-settings-page.php:807
+#: includes/class-settings-page.php:857
+msgid "Unable to fetch quota from Amazon SES. Check IAM permissions."
+msgstr "No es pot obtenir la quota des d'Amazon SES. Verifica els permisos IAM."
+
+#: includes/class-settings-page.php:773
+msgid "Maximum emails per second. 0 = unlimited."
+msgstr "Màxim d'emails per segon. 0 = il·limitat."
+
+#: includes/class-settings-page.php:800
+msgid ""
+"Automatically calculated as 90% of maximum throughput (MaxSendRate × 3600 × "
+"0.9)."
+msgstr ""
+"Calculat automàticament com el 90% del rendiment màxim (MaxSendRate × 3600 × "
+"0.9)."
+
+#: includes/class-settings-page.php:824
+msgid "Maximum emails per hour (rolling window). 0 = unlimited."
+msgstr "Màxim d'emails per hora (finestra mòbil). 0 = il·limitat."
+
+#: includes/class-settings-page.php:850
+msgid "Automatically set from Amazon SES Max24HourSend quota."
+msgstr "Establert automàticament des de la quota Max24HourSend d'Amazon SES."
+
+#: includes/class-settings-page.php:874
+msgid ""
+"Maximum emails that can be sent per 24-hour period (rolling window). 0 = "
+"unlimited."
+msgstr ""
+"Màxim d'emails que es poden enviar per període de 24 hores (finestra mòbil). 0 = "
+"il·limitat."
+
+#: includes/class-settings-page.php:891 includes/class-settings-page.php:1687
+msgid "Host"
+msgstr "Servidor"
+
+#: includes/class-settings-page.php:897
+msgid "Username"
+msgstr "Nom d'usuari"
+
+#: includes/class-settings-page.php:903
+msgid "Password"
+msgstr "Contrasenya"
+
+#: includes/class-settings-page.php:909
+msgid "From Email"
+msgstr "Email remitent"
+
+#: includes/class-settings-page.php:915
+msgid "From Name"
+msgstr "Nom remitent"
+
+#: includes/class-settings-page.php:921
+msgid "Reply-To Email"
+msgstr "Email de resposta"
+
+#: includes/class-settings-page.php:927
+msgid "Reply-To Name"
+msgstr "Nom de resposta"
+
+#: includes/class-settings-page.php:933
+msgid "Security Type"
+msgstr "Tipus de seguretat"
+
+#: includes/class-settings-page.php:939
+msgid "Port"
+msgstr "Port"
+
+#: includes/class-settings-page.php:967
+msgid "Enable logging"
+msgstr "Activar registre"
+
+#: includes/class-settings-page.php:973
+msgid "Retention mode"
+msgstr "Mode de retenció"
+
+#: includes/class-settings-page.php:978
+msgid "Maximum stored emails"
+msgstr "Màxim d'emails emmagatzemats"
+
+#: includes/class-settings-page.php:984 includes/class-settings-page.php:1000
+msgid "Retention in days"
+msgstr "Retenció en dies"
+
+#: includes/class-settings-page.php:1043 includes/class-settings-page.php:1159
+msgid ""
+"Amazon SES integration is active. To configure SMTP manually, deactivate the "
+"Amazon SES add-on."
+msgstr ""
+"La integració d'Amazon SES està activa. Per configurar SMTP manualment, desactiva el "
+"complement d'Amazon SES."
+
+#: includes/class-settings-page.php:1049
+msgid "Configure the SMTP server used to deliver outgoing emails."
+msgstr "Configura el servidor SMTP utilitzat per lliurar emails sortints."
+
+#: includes/class-settings-page.php:1058
+msgid "Control how email delivery logs are stored and pruned."
+msgstr "Controla com s'emmagatzemen i netegen els registres de lliurament d'email."
+
+#: includes/class-settings-page.php:1067
+msgid "Configure how long email statistics are retained in the database."
+msgstr "Configura quant de temps es retenen les estadístiques d'email a la base de dades."
+
+#: includes/class-settings-page.php:1086 includes/class-settings-page.php:1189
+msgid "Save Changes"
+msgstr "Desar canvis"
+
+#: includes/class-settings-page.php:1121
+msgid "Settings saved."
+msgstr "Configuració desada."
+
+#: includes/class-settings-page.php:1130
+msgid "Configuration scope"
+msgstr "Àmbit de configuració"
+
+#: includes/class-settings-page.php:1131
+msgid ""
+"Choose whether to manage the SMTP credentials globally or per individual "
+"site."
+msgstr ""
+"Tria si gestionar les credencials SMTP globalment o per lloc individual."
+
+#: includes/class-settings-page.php:1135
+msgid "Mode"
+msgstr "Mode"
+
+#: includes/class-settings-page.php:1140
+msgid "Global network configuration"
+msgstr "Configuració global de xarxa"
+
+#: includes/class-settings-page.php:1145
+msgid "Configure each site individually"
+msgstr "Configurar cada lloc individualment"
+
+#: includes/class-settings-page.php:1148
+msgid ""
+"When configured globally, all sites in the network will reuse the settings "
+"below."
+msgstr ""
+"Quan es configura globalment, tots els llocs de la xarxa reutilitzaran la configuració "
+"de sota."
+
+#: includes/class-settings-page.php:1156
+msgid "Global SMTP settings"
+msgstr "Configuració SMTP global"
+
+#: includes/class-settings-page.php:1164
+msgid ""
+"These credentials are stored for later use but are only applied when the "
+"global configuration mode is enabled."
+msgstr ""
+"Aquestes credencials s'emmagatzemen per a ús posterior però només s'apliquen quan el "
+"mode de configuració global està activat."
+
+#: includes/class-settings-page.php:1204
+msgid "Network settings are only available on multisite installations."
+msgstr "La configuració de xarxa només està disponible en instal·lacions multilloc."
+
+#: includes/class-settings-page.php:1213 includes/class-settings-page.php:3392
+#: includes/class-settings-page.php:5267
+msgid "The link you followed has expired."
+msgstr "L'enllaç que has seguit ha caducat."
+
+#: includes/class-settings-page.php:1280
+msgid ""
+"The network configuration is currently disabled. Tests will use the site-"
+"specific settings stored below."
+msgstr ""
+"La configuració de xarxa està actualment desactivada. Les proves usaran la configuració "
+"específica del lloc emmagatzemada a sota."
+
+#: includes/class-settings-page.php:1319
+msgid "Automatic MX Lookup"
+msgstr "Cerca automàtica de MX"
+
+#: includes/class-settings-page.php:1320
+msgid ""
+"Detects the domain from the configured sender address, retrieves its MX "
+"records, and compares them with the SMTP host."
+msgstr ""
+"Detecta el domini des de l'adreça del remitent configurada, obté els seus registres MX "
+"i els compara amb el servidor SMTP."
+
+#: includes/class-settings-page.php:1324
+msgid "SPF, DKIM, and DMARC Validation"
+msgstr "Validació de SPF, DKIM i DMARC"
+
+#: includes/class-settings-page.php:1325
+msgid ""
+"Checks common DNS TXT records for the sender domain to help you verify email "
+"authentication."
+msgstr ""
+"Verifica registres TXT DNS comuns per al domini del remitent per ajudar-te a verificar "
+"l'autenticació d'email."
+
+#: includes/class-settings-page.php:1329
+msgid "Extended SMTP Diagnostics"
+msgstr "Diagnòstics SMTP estesos"
+
+#: includes/class-settings-page.php:1330
+msgid ""
+"Reuses the configured SMTP connection to inspect the server greeting, TLS "
+"support, available authentication mechanisms, and EHLO/HELO response codes."
+msgstr ""
+"Reutilitza la connexió SMTP configurada per inspeccionar la salutació del servidor, suport TLS, "
+"mecanismes d'autenticació disponibles i codis de resposta EHLO/HELO."
+
+#: includes/class-settings-page.php:1334
+msgid "Blacklist Lookup"
+msgstr "Cerca en llistes negres"
+
+#: includes/class-settings-page.php:1335
+msgid ""
+"Checks the SMTP host IP address against well-known DNS-based reputation "
+"lists. Use the feature responsibly and respect each provider's terms of use."
+msgstr ""
+"Verifica l'adreça IP del servidor SMTP contra llistes de reputació basades en DNS conegudes. "
+"Usa la funció responsablement i respecta els termes d'ús de cada proveïdor."
+
+#: includes/class-settings-page.php:1348
+msgid ""
+"The network configuration is currently disabled. Tools will use the site-"
+"specific settings stored below."
+msgstr ""
+"La configuració de xarxa està actualment desactivada. Les eines usaran la configuració "
+"específica del lloc emmagatzemada a sota."
+
+#. translators: %s: Human-readable timestamp of the last check.
+#: includes/class-settings-page.php:1382
+#, php-format
+msgid "Last checked: %s"
+msgstr "Última comprovació: %s"
+
+#: includes/class-settings-page.php:1391
+msgid "Run checks again"
+msgstr "Executar comprovacions de nou"
+
+#: includes/class-settings-page.php:1400
+msgid "There are no results yet. Click the button below to run this check."
+msgstr "Encara no hi ha resultats. Fes clic al botó de sota per executar aquesta comprovació."
+
+#: includes/class-settings-page.php:1405
+msgid "Run checks"
+msgstr "Executar comprovacions"
+
+#: includes/class-settings-page.php:1649
+msgid ""
+"Configure a \"From Email\" address in the settings to analyze the MX records."
+msgstr ""
+"Configura una adreça \"Email remitent\" a la configuració per analitzar els registres MX."
+
+#: includes/class-settings-page.php:1655
+msgid "Domain:"
+msgstr "Domini:"
+
+#: includes/class-settings-page.php:1658
+msgid "Configured SMTP host:"
+msgstr "Servidor SMTP configurat:"
+
+#: includes/class-settings-page.php:1659
+msgid "Not configured"
+msgstr "No configurat"
+
+#: includes/class-settings-page.php:1663
+msgid "The MX lookup could not be completed:"
+msgstr "La cerca MX no s'ha pogut completar:"
+
+#. translators: %s: Domain name extracted from the sender email address.
+#: includes/class-settings-page.php:1676
+#, php-format
+msgid "No MX records were found for %s."
+msgstr "No s'han trobat registres MX per a %s."
+
+#: includes/class-settings-page.php:1686
+msgid "Priority"
+msgstr "Prioritat"
+
+#: includes/class-settings-page.php:1688
+msgid "Resolves"
+msgstr "Resol"
+
+#: includes/class-settings-page.php:1689
+msgid "Matches SMTP host"
+msgstr "Coincideix amb servidor SMTP"
+
+#: includes/class-settings-page.php:1700 includes/class-settings-page.php:1713
+msgid "Yes"
+msgstr "Sí"
+
+#: includes/class-settings-page.php:1702 includes/class-settings-page.php:1715
+msgid "No"
+msgstr "No"
+
+#: includes/class-settings-page.php:1704
+msgid "Unknown"
+msgstr "Desconegut"
+
+#: includes/class-settings-page.php:1735
+msgid "Some MX records could not be resolved to an A or AAAA record:"
+msgstr "Alguns registres MX no s'han pogut resoldre a un registre A o AAAA:"
+
+#. translators: %s: Configured SMTP host.
+#: includes/class-settings-page.php:1751
+#, php-format
+msgid ""
+"At least one MX record points to %s, which matches the configured SMTP host."
+msgstr ""
+"Almenys un registre MX apunta a %s, que coincideix amb el servidor SMTP configurat."
+
+#. translators: %s: Configured SMTP host.
+#: includes/class-settings-page.php:1763
+#, php-format
+msgid "None of the MX records point to %s, which is the configured SMTP host."
+msgstr "Cap dels registres MX apunta a %s, que és el servidor SMTP configurat."
+
+#: includes/class-settings-page.php:1772
+msgid "Configure an SMTP host to compare it against the MX records."
+msgstr "Configura un servidor SMTP per comparar-lo contra els registres MX."
+
+#: includes/class-settings-page.php:1805
+msgid "Configure an SMTP host in the settings to run the diagnostics."
+msgstr "Configura un servidor SMTP a la configuració per executar els diagnòstics."
+
+#: includes/class-settings-page.php:1839
+msgid "Server:"
+msgstr "Servidor:"
+
+#: includes/class-settings-page.php:1842
+msgid "Configured security:"
+msgstr "Seguretat configurada:"
+
+#: includes/class-settings-page.php:1848
+msgid "Server banner:"
+msgstr "Banner del servidor:"
+
+#. translators: %s: SMTP server response code.
+#: includes/class-settings-page.php:1856
+#, php-format
+msgid "code %s"
+msgstr "codi %s"
+
+#: includes/class-settings-page.php:1866
+msgid "TLS status"
+msgstr "Estat TLS"
+
+#: includes/class-settings-page.php:1871
+msgid "The connection uses implicit TLS (SMTPS)."
+msgstr "La connexió usa TLS implícit (SMTPS)."
+
+#: includes/class-settings-page.php:1873
+msgid "The STARTTLS negotiation succeeded and the connection is encrypted."
+msgstr "La negociació STARTTLS ha tingut èxit i la connexió està xifrada."
+
+#: includes/class-settings-page.php:1875
+msgid "The server accepted the TLS negotiation."
+msgstr "El servidor ha acceptat la negociació TLS."
+
+#: includes/class-settings-page.php:1878
+msgid "TLS is not active for this connection."
+msgstr "TLS no està actiu per a aquesta connexió."
+
+#: includes/class-settings-page.php:1885
+msgid "STARTTLS response:"
+msgstr "Resposta STARTTLS:"
+
+#: includes/class-settings-page.php:1899
+msgid "Authentication mechanisms"
+msgstr "Mecanismes d'autenticació"
+
+#: includes/class-settings-page.php:1907
+msgid "The server did not announce authentication mechanisms."
+msgstr "El servidor no ha anunciat mecanismes d'autenticació."
+
+#: includes/class-settings-page.php:1910
+msgid "EHLO response"
+msgstr "Resposta EHLO"
+
+#: includes/class-settings-page.php:1913 includes/class-settings-page.php:1929
+#: includes/class-settings-page.php:1944
+msgid "Status code:"
+msgstr "Codi d'estat:"
+
+#: includes/class-settings-page.php:1926
+msgid "EHLO after STARTTLS"
+msgstr "EHLO després de STARTTLS"
+
+#: includes/class-settings-page.php:1941
+msgid "HELO response"
+msgstr "Resposta HELO"
+
+#: includes/class-settings-page.php:1959
+msgid "View raw transcript"
+msgstr "Veure transcripció completa"
+
+#: includes/class-settings-page.php:2029
+msgid "A valid SMTP host is required to run diagnostics."
+msgstr "Es requereix un servidor SMTP vàlid per executar els diagnòstics."
+
+#: includes/class-settings-page.php:2085
+msgid "Unknown error"
+msgstr "Error desconegut"
+
+#. translators: 1: Error message. 2: Error code.
+#: includes/class-settings-page.php:2090
+#, php-format
+msgid "Connection failed: %1$s (%2$d)."
+msgstr "Ha fallat la connexió: %1$s (%2$d)."
+
+#: includes/class-settings-page.php:2111
+msgid "The server greeting returned an unexpected status code."
+msgstr "La salutació del servidor ha retornat un codi d'estat inesperat."
+
+#: includes/class-settings-page.php:2125
+msgid "The EHLO response could not be parsed."
+msgstr "No s'ha pogut analitzar la resposta EHLO."
+
+#: includes/class-settings-page.php:2127
+msgid "The server did not accept the EHLO command."
+msgstr "El servidor no ha acceptat la comanda EHLO."
+
+#: includes/class-settings-page.php:2132
+msgid "The server did not advertise STARTTLS support."
+msgstr "El servidor no ha anunciat suport per a STARTTLS."
+
+#: includes/class-settings-page.php:2151
+msgid "The TLS negotiation failed after STARTTLS."
+msgstr "La negociació TLS ha fallat després de STARTTLS."
+
+#: includes/class-settings-page.php:2157
+msgid ""
+"The server supports STARTTLS. Enable TLS in the configuration to protect the "
+"connection."
+msgstr ""
+"El servidor suporta STARTTLS. Activa TLS a la configuració per protegir la "
+"connexió."
+
+#: includes/class-settings-page.php:2161
+msgid "No authentication mechanisms were advertised by the server."
+msgstr "El servidor no ha anunciat mecanismes d'autenticació."
+
+#: includes/class-settings-page.php:2172
+msgid "The legacy HELO command did not return a successful status code."
+msgstr "La comanda HELO heretada no ha retornat un codi d'estat exitós."
+
+#: includes/class-settings-page.php:2180
+msgid "The connection is not encrypted. Credentials may travel in plain text."
+msgstr "La connexió no està xifrada. Les credencials poden viatjar en text pla."
+
+#: includes/class-settings-page.php:2356
+msgid ""
+"Configure a \"From Email\" address in the settings to analyze SPF, DKIM, and "
+"DMARC records."
+msgstr ""
+"Configura una adreça \"Email remitent\" a la configuració per analitzar registres SPF, DKIM "
+"i DMARC."
+
+#: includes/class-settings-page.php:2374
+msgid "SPF"
+msgstr "SPF"
+
+#: includes/class-settings-page.php:2386
+msgid "No SPF record was found for the sender domain."
+msgstr "No s'ha trobat registre SPF per al domini del remitent."
+
+#: includes/class-settings-page.php:2410
+msgid "DKIM"
+msgstr "DKIM"
+
+#: includes/class-settings-page.php:2422
+msgid "A DKIM record was found for the default selector."
+msgstr "S'ha trobat un registre DKIM per al selector per defecte."
+
+#: includes/class-settings-page.php:2429
+msgid ""
+"No DKIM record was found for the default selector. Confirm the selector "
+"provided by your email service and publish the corresponding TXT record."
+msgstr ""
+"No s'ha trobat registre DKIM per al selector per defecte. Confirma el selector "
+"proporcionat pel teu servei d'email i publica el registre TXT corresponent."
+
+#: includes/class-settings-page.php:2433
+msgid "DMARC"
+msgstr "DMARC"
+
+#: includes/class-settings-page.php:2445
+msgid "No DMARC record was found for the sender domain."
+msgstr "No s'ha trobat registre DMARC per al domini del remitent."
+
+#. translators: %s: DMARC policy value.
+#: includes/class-settings-page.php:2455
+#, php-format
+msgid "Published policy: %s"
+msgstr "Política publicada: %s"
+
+#: includes/class-settings-page.php:2472
+msgid "The DMARC policy enforces protection for the domain."
+msgstr "La política DMARC aplica protecció per al domini."
+
+#: includes/class-settings-page.php:2515
+msgid ""
+"IPv6 addresses are currently not checked because most DNSBL providers only "
+"publish IPv4 data. Verify IPv6 reputation manually with your email service."
+msgstr ""
+"Les adreces IPv6 actualment no es verifiquen perquè la majoria de proveïdors DNSBL només "
+"publiquen dades IPv4. Verifica la reputació IPv6 manualment amb el teu servei d'email."
+
+#: includes/class-settings-page.php:2523
+msgid ""
+"The SMTP host did not resolve to any IPv4 addresses. Configure a valid host "
+"or allow DNS lookups on the server to perform blacklist checks."
+msgstr ""
+"El servidor SMTP no ha resolt a cap adreça IPv4. Configura un servidor vàlid "
+"o permet cerques DNS al servidor per realitzar comprovacions de llistes negres."
+
+#. translators: %s: IP address used for the blacklist lookup.
+#: includes/class-settings-page.php:2533
+#, php-format
+msgid "IP address: %s"
+msgstr "Adreça IP: %s"
+
+#: includes/class-settings-page.php:2552
+msgid "Provider"
+msgstr "Proveïdor"
+
+#: includes/class-settings-page.php:2553 includes/class-settings-page.php:3115
+#: includes/class-settings-page.php:3290
+msgid "Status"
+msgstr "Estat"
+
+#: includes/class-settings-page.php:2554
+msgid "Impact"
+msgstr "Impacte"
+
+#: includes/class-settings-page.php:2555
+msgid "Details"
+msgstr "Detalls"
+
+#: includes/class-settings-page.php:2556
+msgid "Removal guidance"
+msgstr "Guia d'eliminació"
+
+#: includes/class-settings-page.php:2569
+msgid "Unavailable"
+msgstr "No disponible"
+
+#: includes/class-settings-page.php:2571
+msgid "Listed"
+msgstr "Llistat"
+
+#: includes/class-settings-page.php:2573
+msgid "Not listed"
+msgstr "No llistat"
+
+#: includes/class-settings-page.php:2584
+msgid "Response:"
+msgstr "Resposta:"
+
+#: includes/class-settings-page.php:2596
+msgid "No additional TXT details were returned by the provider."
+msgstr "El proveïdor no ha retornat detalls TXT addicionals."
+
+#: includes/class-settings-page.php:2599
+msgid "The IP address is not currently listed by this provider."
+msgstr "L'adreça IP no està actualment llistada per aquest proveïdor."
+
+#: includes/class-settings-page.php:2608
+msgid "Open removal request page"
+msgstr "Obrir pàgina de sol·licitud d'eliminació"
+
+#: includes/class-settings-page.php:2695
+msgid "The link you followed has expired. Please try again."
+msgstr "L'enllaç que has seguit ha caducat. Si us plau, intenta de nou."
+
+#: includes/class-settings-page.php:2701
+msgid "All log entries were removed."
+msgstr "S'han eliminat totes les entrades de registre."
+
+#: includes/class-settings-page.php:2707
+msgid ""
+"Log entries are stored per site. The table below reflects the currently "
+"selected site."
+msgstr ""
+"Les entrades de registre s'emmagatzemen per lloc. La taula de sota reflecteix el lloc "
+"actualment seleccionat."
+
+#: includes/class-settings-page.php:2713
+msgid ""
+"Logging is currently disabled. Enable it in the settings page to store new "
+"emails."
+msgstr ""
+"El registre està actualment desactivat. Activa'l a la pàgina de configuració per emmagatzemar nous "
+"emails."
+
+#: includes/class-settings-page.php:3054
+msgid "From date"
+msgstr "Des de data"
+
+#: includes/class-settings-page.php:3058
+msgid "To date"
+msgstr "Fins a data"
+
+#: includes/class-settings-page.php:3062 includes/class-settings-page.php:3118
+#: includes/class-settings-page.php:3306
+msgid "Subject"
+msgstr "Assumpte"
+
+#: includes/class-settings-page.php:3066 includes/class-settings-page.php:3117
+#: includes/class-settings-page.php:3302
+msgid "To"
+msgstr "Per a"
+
+#: includes/class-settings-page.php:3070
+msgid "Results per page"
+msgstr "Resultats per pàgina"
+
+#: includes/class-settings-page.php:3078
+msgid "Apply filters"
+msgstr "Aplicar filtres"
+
+#: includes/class-settings-page.php:3081
+msgid "Reset"
+msgstr "Restablir"
+
+#: includes/class-settings-page.php:3092
+msgid "Are you sure you want to delete all log entries?"
+msgstr "Estàs segur que vols eliminar totes les entrades de registre?"
+
+#: includes/class-settings-page.php:3094
+msgid "Clear Logs"
+msgstr "Netejar registres"
+
+#: includes/class-settings-page.php:3107
+msgid "No email logs have been stored yet."
+msgstr "Encara no s'han emmagatzemat registres d'email."
+
+#: includes/class-settings-page.php:3114 includes/class-settings-page.php:3286
+msgid "Date"
+msgstr "Data"
+
+#: includes/class-settings-page.php:3116 includes/class-settings-page.php:3298
+msgid "From"
+msgstr "De"
+
+#: includes/class-settings-page.php:3119
+msgid "Actions"
+msgstr "Accions"
+
+#: includes/class-settings-page.php:3127 includes/class-settings-page.php:3209
+msgid "(No subject)"
+msgstr "(Sense assumpte)"
+
+#: includes/class-settings-page.php:3157
+msgid "View details"
+msgstr "Veure detalls"
+
+#: includes/class-settings-page.php:3172
+msgid "«"
+msgstr "«"
+
+#: includes/class-settings-page.php:3173
+msgid "»"
+msgstr "»"
+
+#: includes/class-settings-page.php:3198
+msgid "The requested log entry could not be found."
+msgstr "No s'ha pogut trobar l'entrada de registre sol·licitada."
+
+#: includes/class-settings-page.php:3281
+msgid "Back to list"
+msgstr "Tornar al llistat"
+
+#: includes/class-settings-page.php:3310
+msgid "Error message"
+msgstr "Missatge d'error"
+
+#: includes/class-settings-page.php:3316
+msgid "No error recorded."
+msgstr "No s'ha registrat cap error."
+
+#: includes/class-settings-page.php:3324
+msgid "Headers"
+msgstr "Capçaleres"
+
+#: includes/class-settings-page.php:3325
+msgid "No headers stored for this email."
+msgstr "No s'han emmagatzemat capçaleres per a aquest email."
+
+#: includes/class-settings-page.php:3327
+msgid "Attachments"
+msgstr "Adjunts"
+
+#: includes/class-settings-page.php:3335
+msgid "No attachments were logged for this email."
+msgstr "No s'han registrat adjunts per a aquest email."
+
+#: includes/class-settings-page.php:3338
+msgid "Message content"
+msgstr "Contingut del missatge"
+
+#: includes/class-settings-page.php:3342
+msgid "This email did not include any content."
+msgstr "Aquest email no incloïa cap contingut."
+
+#: includes/class-settings-page.php:3345
+msgid "SMTP debug log"
+msgstr "Registre de depuració SMTP"
+
+#: includes/class-settings-page.php:3348
+msgid "Show SMTP conversation"
+msgstr "Mostrar conversa SMTP"
+
+#: includes/class-settings-page.php:3352
+msgid "No SMTP debug output was stored for this email."
+msgstr "No s'ha emmagatzemat sortida de depuració SMTP per a aquest email."
+
+#: includes/class-settings-page.php:3370
+msgid "Failed"
+msgstr "Fallat"
+
+#: includes/class-settings-page.php:3377
+msgid "Sent"
+msgstr "Enviat"
+
+#. translators: 1: Example SMTP host. 2: Example SMTP host.
+#: includes/class-settings-page.php:3445
+#, php-format
+msgid ""
+"Use the fully qualified address of your SMTP server, for example %1$s or "
+"%2$s."
+msgstr ""
+"Usa l'adreça completa del teu servidor SMTP, per exemple %1$s o "
+"%2$s."
+
+#: includes/class-settings-page.php:3470
+msgid ""
+"Usually this is the full email address or dedicated SMTP user provided by "
+"your email service."
+msgstr ""
+"Usualment aquesta és l'adreça d'email completa o l'usuari SMTP dedicat proporcionat pel "
+"teu servei d'email."
+
+#: includes/class-settings-page.php:3482
+msgid "Leave empty to keep the current password."
+msgstr "Deixar buit per mantenir la contrasenya actual."
+
+#: includes/class-settings-page.php:3493
+msgid ""
+"Enter the password or app-specific password for the SMTP user. Leave empty "
+"to retain the existing value."
+msgstr ""
+"Introdueix la contrasenya o contrasenya específica d'aplicació per a l'usuari SMTP. Deixa buit "
+"per mantenir el valor existent."
+
+#: includes/class-settings-page.php:3513
+msgid ""
+"This address will be used as the default sender for emails sent by "
+"WordPress, for example notifications@example.com."
+msgstr ""
+"Aquesta adreça s'usarà com a remitent per defecte per a emails enviats per "
+"WordPress, per exemple notificacions@example.com."
+
+#: includes/class-settings-page.php:3532
+msgid ""
+"Recipients will see this name alongside the email address, such as \"Support "
+"Team\" or the site title."
+msgstr ""
+"Els destinataris veuran aquest nom al costat de l'adreça d'email, com ara \"Equip de "
+"suport\" o el títol del lloc."
+
+#: includes/class-settings-page.php:3552
+msgid ""
+"Optional. Email address where replies should be sent. If empty, replies will "
+"go to the From Email address."
+msgstr ""
+"Opcional. Adreça d'email on han d'enviar-se les respostes. Si està buit, les respostes aniran "
+"a l'adreça Email remitent."
+
+#: includes/class-settings-page.php:3571
+msgid ""
+"Optional. Name that will appear with the Reply-To address. If empty, the "
+"From Name will be used."
+msgstr ""
+"Opcional. Nom que apareixerà amb l'adreça de resposta. Si està buit, s'usarà el "
+"Nom remitent."
+
+#: includes/class-settings-page.php:3589
+msgid ""
+"Choose the encryption method recommended by your provider. The default ports "
+"are 25 for None, 465 for SSL, and 587 for TLS."
+msgstr ""
+"Tria el mètode de xifratge recomanat pel teu proveïdor. Els ports per defecte "
+"són 25 per a Cap, 465 per a SSL i 587 per a TLS."
+
+#: includes/class-settings-page.php:3610
+msgid ""
+"Set the port required by your SMTP server. Common values are 25 (None), 465 "
+"(SSL), and 587 (TLS)."
+msgstr ""
+"Estableix el port requerit pel teu servidor SMTP. Els valors comuns són 25 (Cap), 465 "
+"(SSL) i 587 (TLS)."
+
+#: includes/class-settings-page.php:3630
+msgid "Store a copy of every sent email in the logs."
+msgstr "Emmagatzemar una còpia de cada email enviat als registres."
+
+#: includes/class-settings-page.php:3632
+msgid ""
+"Logged emails are saved as private posts under SMTP Logs so you can review "
+"the content or clear them at any time."
+msgstr ""
+"Els emails registrats es desen com a entrades privades a Registres SMTP perquè puguis revisar "
+"el contingut o netejar-los en qualsevol moment."
+
+#: includes/class-settings-page.php:3653
+msgid "Limit by number of emails"
+msgstr "Limitar per nombre d'emails"
+
+#: includes/class-settings-page.php:3663
+msgid "Limit by age (in days)"
+msgstr "Limitar per antiguitat (en dies)"
+
+#: includes/class-settings-page.php:3666
+msgid ""
+"Select how the log cleaner should decide which entries to remove: by keeping "
+"a fixed number or by removing items older than a number of days."
+msgstr ""
+"Selecciona com el netejador de registres ha de decidir quines entrades eliminar: mantenint "
+"un nombre fix o eliminant elements més antics que un nombre de dies."
+
+#: includes/class-settings-page.php:3686
+msgid ""
+"Maximum number of emails to keep when using the count-based retention mode."
+msgstr ""
+"Nombre màxim d'emails a mantenir quan s'usa el mode de retenció basat en recompte."
+
+#: includes/class-settings-page.php:3706
+msgid ""
+"Number of days to keep log entries when using the time-based retention mode."
+msgstr ""
+"Nombre de dies per mantenir entrades de registre quan s'usa el mode de retenció basat en temps."
+
+#: includes/class-settings-page.php:3727
+msgid ""
+"Number of days to keep email statistics. Statistics older than this will be "
+"automatically deleted daily. Minimum: 1 day, Maximum: 365 days."
+msgstr ""
+"Nombre de dies per mantenir estadístiques d'email. Les estadístiques més antigues que això "
+"s'eliminaran automàticament diàriament. Mínim: 1 dia, Màxim: 365 dies."
+
+#: includes/class-settings-page.php:3848
+msgid ""
+"The \"From Email\" address is not valid. Please provide a valid email "
+"address."
+msgstr ""
+"L'adreça \"Email remitent\" no és vàlida. Si us plau, proporciona una adreça d'email "
+"vàlida."
+
+#: includes/class-settings-page.php:3865
+msgid ""
+"The \"Reply-To Email\" address is not valid. Please provide a valid email "
+"address."
+msgstr ""
+"L'adreça \"Email de resposta\" no és vàlida. Si us plau, proporciona una adreça d'email "
+"vàlida."
+
+#: includes/class-settings-page.php:3885
+msgid ""
+"The AWS Access Key format is invalid. It should start with AKIA followed by "
+"16 alphanumeric characters."
+msgstr ""
+"El format de la clau d'accés AWS és invàlid. Ha de començar amb AKIA seguit de "
+"16 caràcters alfanumèrics."
+
+#: includes/class-settings-page.php:3900
+msgid ""
+"The AWS Secret Key format is invalid. It should be 40 characters of base64-"
+"encoded data."
+msgstr ""
+"El format de la clau secreta AWS és invàlid. Ha de ser de 40 caràcters codificats en "
+"base64."
+
+#. translators: %d: Invalid port number entered by user
+#: includes/class-settings-page.php:3948
+#, php-format
+msgid ""
+"The port number \"%d\" is invalid. Port must be between 1 and 65535. Using "
+"default port 25."
+msgstr ""
+"El número de port \"%d\" és invàlid. El port ha d'estar entre 1 i 65535. Usant "
+"port per defecte 25."
+
+#. translators: %s: IP address
+#: includes/class-settings-page.php:4102
+#, php-format
+msgid ""
+"The SMTP hostname resolves to a private IP address (%s) which is not allowed "
+"for security reasons. If you need to connect to a local SMTP server in "
+"development, add this to wp-config.php: "
+"define( 'ROBOTSTXT_SMTP_ALLOW_PRIVATE_IPS', true );"
+msgstr ""
+"El nom del servidor SMTP resol a una adreça IP privada (%s) que no està permesa "
+"per raons de seguretat. Si necessites connectar-te a un servidor SMTP local en "
+"desenvolupament, afegeix això a wp-config.php: "
+"define( 'ROBOTSTXT_SMTP_ALLOW_PRIVATE_IPS', true );"
+
+#: includes/class-settings-page.php:4292
+msgid "The sender domain could not be determined."
+msgstr "No s'ha pogut determinar el domini del remitent."
+
+#: includes/class-settings-page.php:4298 includes/class-settings-page.php:4588
+#: includes/class-settings-page.php:4988 includes/class-settings-page.php:5037
+msgid ""
+"DNS lookups are not available because the DNS functions are disabled on this "
+"server."
+msgstr ""
+"Les cerques DNS no estan disponibles perquè les funcions DNS estan desactivades en aquest "
+"servidor."
+
+#: includes/class-settings-page.php:4329
+msgid ""
+"Blacklist lookups are not available because the DNS functions are disabled "
+"on this server."
+msgstr ""
+"Les cerques en llistes negres no estan disponibles perquè les funcions DNS estan desactivades "
+"en aquest servidor."
+
+#: includes/class-settings-page.php:4374
+msgid "Spamhaus ZEN"
+msgstr "Spamhaus ZEN"
+
+#: includes/class-settings-page.php:4376
+msgid ""
+"High — major inbox providers rely on Spamhaus and a listing can block most "
+"traffic."
+msgstr ""
+"Alt — els principals proveïdors de safates d'entrada confien en Spamhaus i una inclusió pot bloquejar la majoria del "
+"trànsit."
+
+#: includes/class-settings-page.php:4378
+msgid ""
+"Investigate and resolve the root cause, then use the Spamhaus Blocklist "
+"Removal Center to request delisting."
+msgstr ""
+"Investiga i resol la causa arrel, després usa el Centre d'eliminació de llistes de bloqueig de Spamhaus "
+"per sol·licitar l'eliminació."
+
+#: includes/class-settings-page.php:4382
+msgid "SpamCop"
+msgstr "SpamCop"
+
+#: includes/class-settings-page.php:4384
+msgid ""
+"Medium — many shared hosts and spam filters consult SpamCop when scoring "
+"messages."
+msgstr ""
+"Mitjà — molts hosts compartits i filtres de spam consulten SpamCop en puntuar "
+"missatges."
+
+#: includes/class-settings-page.php:4386
+msgid ""
+"Ensure no unsolicited traffic is sent and follow the SpamCop blocklist "
+"removal instructions."
+msgstr ""
+"Assegura't que no s'enviï trànsit no sol·licitat i segueix les instruccions d'eliminació de la llista de bloqueig de "
+"SpamCop."
+
+#: includes/class-settings-page.php:4390
+msgid "Barracuda Reputation Block List"
+msgstr "Llista de bloqueig de reputació Barracuda"
+
+#: includes/class-settings-page.php:4392
+msgid ""
+"Medium — Barracuda appliances and some hosted filters can defer or reject "
+"messages."
+msgstr ""
+"Mitjà — els dispositius Barracuda i alguns filtres allotjats poden diferir o rebutjar "
+"missatges."
+
+#: includes/class-settings-page.php:4394
+msgid ""
+"Review the Barracuda reputation lookup and submit a delisting request after "
+"addressing any spam complaints."
+msgstr ""
+"Revisa la cerca de reputació de Barracuda i envia una sol·licitud d'eliminació després "
+"d'abordar qualsevol queixa de spam."
+
+#: includes/class-settings-page.php:4502
+msgid "The IP address could not be normalized for the DNSBL lookup."
+msgstr "L'adreça IP no s'ha pogut normalitzar per a la cerca DNSBL."
+
+#. translators: %s: DNSBL provider name.
+#. translators: %s: Domain queried for the DKIM record lookup.
+#. translators: %s: Domain queried for the DMARC record lookup.
+#: includes/class-settings-page.php:4513 includes/class-settings-page.php:4998
+#: includes/class-settings-page.php:5047
+#, php-format
+msgid "The DNS lookup for %s failed. Please try again later."
+msgstr "La cerca DNS per a %s ha fallat. Si us plau, intenta-ho de nou més tard."
+
+#: includes/class-settings-page.php:4584
+msgid ""
+"Unable to determine whether the SMTP host is authorized in the SPF record."
+msgstr ""
+"No es pot determinar si el servidor SMTP està autoritzat al registre SPF."
+
+#: includes/class-settings-page.php:4596
+msgid "The DNS lookup for TXT records failed. Please try again later."
+msgstr "La cerca DNS de registres TXT ha fallat. Si us plau, intenta-ho de nou més tard."
+
+#: includes/class-settings-page.php:4614
+msgid "The domain does not publish an SPF record."
+msgstr "El domini no publica un registre SPF."
+
+#: includes/class-settings-page.php:4621
+msgid "Configure an SMTP host to verify its presence in the SPF record."
+msgstr "Configura un servidor SMTP per verificar la seva presència al registre SPF."
+
+#. translators: %s: Included SPF domain.
+#: includes/class-settings-page.php:4677
+#, php-format
+msgid "The SPF record includes %s, which matches the configured SMTP host."
+msgstr "El registre SPF inclou %s, que coincideix amb el servidor SMTP configurat."
+
+#. translators: %s: Hostname authorized via the SPF "a" mechanism.
+#: includes/class-settings-page.php:4690 includes/class-settings-page.php:4701
+#, php-format
+msgid "The SPF record authorizes %s via the \"a\" mechanism."
+msgstr "El registre SPF autoritza %s a través del mecanisme \"a\"."
+
+#. translators: %s: Hostname authorized via the SPF "mx" mechanism.
+#: includes/class-settings-page.php:4714 includes/class-settings-page.php:4724
+#, php-format
+msgid "The SPF record authorizes %s via the \"mx\" mechanism."
+msgstr "El registre SPF autoritza %s a través del mecanisme \"mx\"."
+
+#. translators: %1$s: IP address. %2$s: SPF mechanism.
+#: includes/class-settings-page.php:4739 includes/class-settings-page.php:4760
+#, php-format
+msgid "The SPF record authorizes the SMTP host IP %1$s via %2$s."
+msgstr "El registre SPF autoritza la IP del servidor SMTP %1$s a través de %2$s."
+
+#: includes/class-settings-page.php:4779
+msgid ""
+"The SMTP host was not found in the SPF record. Add it to avoid delivery "
+"issues."
+msgstr ""
+"El servidor SMTP no s'ha trobat al registre SPF. Afegeix-lo per evitar problemes de lliurament."
+
+#: includes/class-settings-page.php:4782
+msgid ""
+"The SPF record contains IP ranges, but the SMTP host IP could not be "
+"resolved."
+msgstr ""
+"El registre SPF conté rangs d'IP, però la IP del servidor SMTP no s'ha pogut "
+"resoldre."
+
+#: includes/class-settings-page.php:4785
+msgid "The SPF record does not explicitly reference the configured SMTP host."
+msgstr "El registre SPF no fa referència explícitament al servidor SMTP configurat."
+
+#: includes/class-settings-page.php:5075
+msgid ""
+"The DMARC policy is set to \"p=none\". Increase it to \"p=quarantine\" or "
+"\"p=reject\" to protect the domain."
+msgstr ""
+"La política DMARC està establerta a \"p=none\". Augmenta-la a \"p=quarantine\" o "
+"\"p=reject\" per protegir el domini."
+
+#: includes/class-settings-page.php:5077
+msgid ""
+"Consider moving the DMARC policy to \"p=reject\" once you have validated "
+"that legitimate messages pass authentication."
+msgstr ""
+"Considera moure la política DMARC a \"p=reject\" un cop hagis validat "
+"que els missatges legítims passen l'autenticació."
+
+#: includes/class-settings-page.php:5105
+msgid ""
+"MX lookups are not available because the DNS functions are disabled on this "
+"server."
+msgstr ""
+"Les cerques MX no estan disponibles perquè les funcions DNS estan desactivades en aquest "
+"servidor."
+
+#: includes/class-settings-page.php:5113
+msgid "The DNS lookup for MX records failed. Please try again later."
+msgstr "La cerca DNS de registres MX ha fallat. Si us plau, intenta-ho de nou més tard."
+
+#: includes/class-settings-page.php:5251
+msgid "None"
+msgstr "Cap"
+
+#: includes/class-settings-page.php:5252
+msgid "SSL"
+msgstr "SSL"
+
+#: includes/class-settings-page.php:5253
+msgid "TLS"
+msgstr "TLS"
+
+#: includes/class-settings-page.php:5410
+msgid "A valid recipient email address is required."
+msgstr "Es requereix una adreça d'email de destinatari vàlida."
+
+#: includes/class-settings-page.php:5435
+msgid "ROBOTSTXT SMTP Test Email"
+msgstr "Email de prova ROBOTSTXT SMTP"
+
+#. translators: %s: Site name.
+#: includes/class-settings-page.php:5438
+#, php-format
+msgid "This is a test email sent from %s using the ROBOTSTXT SMTP settings."
+msgstr "Aquest és un email de prova enviat des de %s usant la configuració de ROBOTSTXT SMTP."
+
+#: includes/class-settings-page.php:5478
+msgid "The test email could not be sent."
+msgstr "No s'ha pogut enviar l'email de prova."
+
+#: includes/class-settings-page.php:5553
+msgid "The SMTP configuration appears to be working correctly."
+msgstr "La configuració SMTP sembla estar funcionant correctament."
+
+#: includes/class-settings-page.php:5554
+msgid "The SMTP configuration could not be verified."
+msgstr "No s'ha pogut verificar la configuració SMTP."
+
+#: includes/class-settings-page.php:5556
+msgid "Test email sent successfully."
+msgstr "Email de prova enviat correctament."
+
+#: includes/class-settings-page.php:5556
+msgid "Test email failed to send."
+msgstr "Ha fallat l'enviament de l'email de prova."
+
+#. translators: %s: Recipient email address.
+#: includes/class-settings-page.php:5566
+#, php-format
+msgid "Recipient: %s"
+msgstr "Destinatari: %s"
+
+#. translators: %s: Timestamp of the test.
+#: includes/class-settings-page.php:5577
+#, php-format
+msgid "Timestamp: %s"
+msgstr "Marca de temps: %s"
+
+#: includes/class-settings-page.php:5588
+msgid "Error details"
+msgstr "Detalls de l'error"
+
+#: includes/class-settings-page.php:5594
+msgid "Settings used"
+msgstr "Configuració utilitzada"
+
+#: includes/class-settings-page.php:5600
+msgid "Email payload"
+msgstr "Contingut de l'email"
+
+#: includes/class-settings-page.php:5606
+msgid "SMTP debug output"
+msgstr "Sortida de depuració SMTP"
+
+#: includes/class-settings-page.php:5659 includes/class-settings-page.php:5684
+msgid "Send Test Email"
+msgstr "Enviar email de prova"
+
+#: includes/class-settings-page.php:5668
+msgid "Recipient email address"
+msgstr "Adreça d'email del destinatari"
+
+#: includes/class-settings-page.php:5679
+msgid "Leave blank to send the test email to your account email address."
+msgstr "Deixar en blanc per enviar l'email de prova a l'adreça d'email del teu compte."
+
+#: includes/class-settings-page.php:5814
+msgid "Show last:"
+msgstr "Mostrar últims:"
+
+#: includes/class-settings-page.php:5816
+msgid "7 days"
+msgstr "7 dies"
+
+#: includes/class-settings-page.php:5817
+msgid "14 days"
+msgstr "14 dies"
+
+#: includes/class-settings-page.php:5818
+msgid "30 days"
+msgstr "30 dies"
+
+#: includes/class-settings-page.php:5819
+msgid "60 days"
+msgstr "60 dies"
+
+#: includes/class-settings-page.php:5820
+msgid "90 days"
+msgstr "90 dies"
+
+#: includes/class-settings-page.php:5822
+msgid "Update"
+msgstr "Actualitzar"
+
+#: includes/class-settings-page.php:5827
+msgid "Summary"
+msgstr "Resum"
+
+#: includes/class-settings-page.php:5829
+msgid "Total emails sent:"
+msgstr "Total d'emails enviats:"
+
+#. translators: 1: start date, 2: end date
+#: includes/class-settings-page.php:5836
+#, php-format
+msgid "Period: %1$s to %2$s"
+msgstr "Període: %1$s a %2$s"
+
+#: includes/class-settings-page.php:5845
+msgid "Emails Sent Per Day"
+msgstr "Emails enviats per dia"
+
+#: includes/class-settings-page.php:5853
+msgid "Emails by Site"
+msgstr "Emails per lloc"
+
+#: includes/class-settings-page.php:5857
+msgid "Blog ID"
+msgstr "ID del lloc"
+
+#: includes/class-settings-page.php:5858
+msgid "Site Name"
+msgstr "Nom del lloc"
+
+#: includes/class-settings-page.php:5859 includes/class-settings-page.php:5898
+msgid "Emails Sent"
+msgstr "Emails enviats"
+
+#. translators: %s: plugin name.
+#: robotstxt-smtp.php:108
+#, php-format
+msgid "The %s plugin requires the PHPMailer library to be available."
+msgstr "El plugin %s requereix que la biblioteca PHPMailer estigui disponible."
+
+#: robotstxt-smtp.php:109
+msgid "ROBOTSTXT SMTP"
+msgstr "ROBOTSTXT SMTP"
+
+#: robotstxt-updater.php:362
+msgid "Security check failed"
+msgstr "Ha fallat la comprovació de seguretat"
+
+#: robotstxt-updater.php:367
+msgid "You do not have sufficient permissions to access this page."
+msgstr "No tens permisos suficients per accedir a aquesta pàgina."
+
+#. Plugin URI of the plugin/theme
+msgid "https://git.robotstxt.es/ROBOTSTXT/robotstxt-smtp"
+msgstr "https://git.robotstxt.es/ROBOTSTXT/robotstxt-smtp"
+
+#. Description of the plugin/theme
+msgid "Configure WordPress to send emails through SMTP with detailed controls."
+msgstr "Configura WordPress per enviar emails a través d'SMTP amb controls detallats."
+
+#. Author of the plugin/theme
+msgid "ROBOTSTXT"
+msgstr "ROBOTSTXT"
+
+#. Author URI of the plugin/theme
+msgid "https://www.robotstxt.es/"
+msgstr "https://www.robotstxt.es/"
diff --git a/languages/robotstxt-smtp-es_ES.mo b/languages/robotstxt-smtp-es_ES.mo
new file mode 100644
index 0000000000000000000000000000000000000000..32c2f6756f003882d30559aaf2802017012407e6
GIT binary patch
literal 33741
zcmcJX3!Gh7UGI0HrI5bgFDSdAX%d*3CZQ?qgcc^rw24j9Av5U`Lrmym+$p6b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