{"id":15035696,"url":"https://github.com/phpmailer/phpmailer","last_synced_at":"2026-10-18T20:41:29.340Z","repository":{"id":1614511,"uuid":"2253830","full_name":"PHPMailer/PHPMailer","owner":"PHPMailer","description":"The classic email sending library for PHP","archived":false,"fork":false,"pushed_at":"2026-10-06T05:53:03.000Z","size":32392,"stargazers_count":22309,"open_issues_count":26,"forks_count":9778,"subscribers_count":865,"default_branch":"master","last_synced_at":"2026-10-13T03:41:26.480Z","etag":null,"topics":["attachment","email","hacktoberfest","php","php-library","phpmailer","smtp","tls-support","xoauth2"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"raszi/node-tmp","license":"lgpl-2.1","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PHPMailer.png","metadata":{"files":{"readme":"README.md","changelog":"changelog.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":"Synchro","patreon":"marcusbointon","tidelift":"packagist/phpmailer/phpmailer","custom":"https://marcus.bointon.com/donations/"}},"created_at":"2011-08-23T07:57:17.000Z","updated_at":"2026-10-12T22:23:24.000Z","dependencies_parsed_at":"2023-07-05T18:01:38.256Z","dependency_job_id":"b0cce896-afab-4fe6-a100-2cf570661bf0","html_url":"https://github.com/PHPMailer/PHPMailer","commit_stats":{"total_commits":1869,"total_committers":293,"mean_commits":6.378839590443686,"dds":"0.37667201712145537","last_synced_commit":"611235697c399a2f15137e994892c4126cab6948"},"previous_names":[],"tags_count":92,"template":false,"template_full_name":null,"purl":"pkg:github/PHPMailer/PHPMailer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PHPMailer%2FPHPMailer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PHPMailer%2FPHPMailer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PHPMailer%2FPHPMailer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PHPMailer%2FPHPMailer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PHPMailer","download_url":"https://codeload.github.com/PHPMailer/PHPMailer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PHPMailer%2FPHPMailer/sbom","scorecard":{"id":106822,"data":{"date":"2025-08-12T22:38:32Z","repo":{"name":"github.com/PHPMailer/PHPMailer","commit":"800919c6a41d3bc4e87406725531ebe06b5546b4"},"scorecard":{"version":"v5.0.0","commit":"ea7e27ed41b76ab879c862fa0ca4cc9c61764ee4"},"score":6.8,"checks":[{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/ea7e27ed41b76ab879c862fa0ca4cc9c61764ee4/docs/checks.md#binary-artifacts"}},{"name":"Branch-Protection","score":3,"reason":"branch protection is not maximal on development and all release branches","details":["Info: 'allow deletion' disabled on branch 'master'","Info: 'force pushes' disabled on branch 'master'","Warn: branch 'master' does not require approvers","Warn: codeowners review is not required on branch 'master'","Warn: no status checks found to merge onto branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/ea7e27ed41b76ab879c862fa0ca4cc9c61764ee4/docs/checks.md#branch-protection"}},{"name":"CI-Tests","score":8,"reason":"4 out of 5 merged PRs checked by a CI test -- score normalized to 8","details":null,"documentation":{"short":"Determines if the project runs tests before pull requests are merged.","url":"https://github.com/ossf/scorecard/blob/ea7e27ed41b76ab879c862fa0ca4cc9c61764ee4/docs/checks.md#ci-tests"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/ea7e27ed41b76ab879c862fa0ca4cc9c61764ee4/docs/checks.md#cii-best-practices"}},{"name":"Code-Review","score":4,"reason":"Found 4/10 approved changesets -- score normalized to 4","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/ea7e27ed41b76ab879c862fa0ca4cc9c61764ee4/docs/checks.md#code-review"}},{"name":"Contributors","score":10,"reason":"project has 27 contributing companies or organizations","details":["Info: WordPress-Coding-Standards contributor org/company found, eventum contributor org/company found, file contributor org/company found, paratestphp contributor org/company found, decomplexity associates contributor org/company found, PHPCompatibility contributor org/company found, beanshell contributor org/company found, synchromedia ltd (@synchromediauk) contributor org/company found, apache contributor org/company found, marssa contributor org/company found, popartdesign contributor org/company found, psr7-sessions contributor org/company found, less contributor org/company found, ekspress-grupp contributor org/company found, PHPMailer contributor org/company found, todogroup contributor org/company found, PHPCSStandards contributor org/company found, advies en zo contributor org/company found, dubbele.com contributor org/company found, pld-linux contributor org/company found, smarty-gettext contributor org/company found, tracboat contributor org/company found, confinet contributor org/company found, Smartmessages contributor org/company found, WordPress contributor org/company found, sniphpets contributor org/company found, PopArtDesign contributor org/company found, "],"documentation":{"short":"Determines if the project has a set of contributors from multiple organizations (e.g., companies).","url":"https://github.com/ossf/scorecard/blob/ea7e27ed41b76ab879c862fa0ca4cc9c61764ee4/docs/checks.md#contributors"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/ea7e27ed41b76ab879c862fa0ca4cc9c61764ee4/docs/checks.md#dangerous-workflow"}},{"name":"Dependency-Update-Tool","score":10,"reason":"update tool detected","details":["Info: detected update tool: Dependabot: :0"],"documentation":{"short":"Determines if the project uses a dependency update tool.","url":"https://github.com/ossf/scorecard/blob/ea7e27ed41b76ab879c862fa0ca4cc9c61764ee4/docs/checks.md#dependency-update-tool"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/ea7e27ed41b76ab879c862fa0ca4cc9c61764ee4/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: GNU Lesser General Public License v2.1: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/ea7e27ed41b76ab879c862fa0ca4cc9c61764ee4/docs/checks.md#license"}},{"name":"Maintained","score":10,"reason":"16 commit(s) and 13 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/ea7e27ed41b76ab879c862fa0ca4cc9c61764ee4/docs/checks.md#maintained"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/ea7e27ed41b76ab879c862fa0ca4cc9c61764ee4/docs/checks.md#packaging"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/ea7e27ed41b76ab879c862fa0ca4cc9c61764ee4/docs/checks.md#pinned-dependencies"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 25 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/ea7e27ed41b76ab879c862fa0ca4cc9c61764ee4/docs/checks.md#sast"}},{"name":"Security-Policy","score":10,"reason":"security policy file detected","details":["Info: security policy file detected: SECURITY.md:1","Info: Found linked content: SECURITY.md:1","Info: Found disclosure, vulnerability, and/or timelines in security policy: SECURITY.md:1","Info: Found text in security policy: SECURITY.md:1"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/ea7e27ed41b76ab879c862fa0ca4cc9c61764ee4/docs/checks.md#security-policy"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/ea7e27ed41b76ab879c862fa0ca4cc9c61764ee4/docs/checks.md#signed-releases"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/ea7e27ed41b76ab879c862fa0ca4cc9c61764ee4/docs/checks.md#token-permissions"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/ea7e27ed41b76ab879c862fa0ca4cc9c61764ee4/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-15T11:15:14.559Z","repository_id":1614511,"created_at":"2025-08-15T11:15:14.559Z","updated_at":"2025-08-15T11:15:14.559Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":344872684,"owners_count":38341216,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-10-03T21:59:58.778Z","status":"online","status_checked_at":"2026-10-18T02:00:06.448Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["attachment","email","hacktoberfest","php","php-library","phpmailer","smtp","tls-support","xoauth2"],"created_at":"2024-09-24T20:29:12.533Z","updated_at":"2026-10-18T20:41:29.332Z","avatar_url":"https://github.com/PHPMailer.png","language":"PHP","funding_links":["https://github.com/sponsors/Synchro","https://patreon.com/marcusbointon","https://tidelift.com/funding/github/packagist/phpmailer/phpmailer","https://marcus.bointon.com/donations/","https://tidelift.com/subscription/pkg/packagist-phpmailer-phpmailer?utm_source=packagist-phpmailer-phpmailer\u0026utm_medium=referral\u0026utm_campaign=enterprise\u0026utm_term=repo"],"categories":[],"sub_categories":[],"readme":"[![SWUbanner](https://raw.githubusercontent.com/vshymanskyy/StandWithUkraine/main/banner2-direct.svg)](https://supportukrainenow.org/)\n\n![PHPMailer](https://raw.github.com/PHPMailer/PHPMailer/master/examples/images/phpmailer.png)\n\n# PHPMailer – A full-featured email creation and transfer class for PHP\n\n[![Test status](https://github.com/PHPMailer/PHPMailer/workflows/Tests/badge.svg)](https://github.com/PHPMailer/PHPMailer/actions)\n[![codecov.io](https://codecov.io/gh/PHPMailer/PHPMailer/branch/master/graph/badge.svg?token=iORZpwmYmM)](https://codecov.io/gh/PHPMailer/PHPMailer)\n[![Latest Stable Version](https://img.shields.io/packagist/v/phpmailer/phpmailer?label=stable)](https://packagist.org/packages/phpmailer/phpmailer)\n[![Total Downloads](https://img.shields.io/packagist/dt/phpmailer/phpmailer)](https://packagist.org/packages/phpmailer/phpmailer)\n[![License](https://img.shields.io/github/license/PHPMailer/PHPMailer)](https://packagist.org/packages/phpmailer/phpmailer)\n[![API Docs](https://github.com/phpmailer/phpmailer/workflows/Docs/badge.svg)](https://phpmailer.github.io/PHPMailer/)\n[![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/PHPMailer/PHPMailer/badge)](https://api.securityscorecards.dev/projects/github.com/PHPMailer/PHPMailer)\n\n## Features\n- Probably the world's most popular code for sending email from PHP!\n- Used by many open-source projects: WordPress, Drupal, 1CRM, SugarCRM, Yii, Joomla! and many more\n- Integrated SMTP support – send without a local mail server\n- Send emails with multiple To, CC, BCC, and Reply-to addresses\n- Multipart/alternative emails for mail clients that do not read HTML email\n- Add attachments, including inline\n- Support for UTF-8 content and 8bit, base64, binary, and quoted-printable encodings\n- Full UTF-8 support when using servers that support `SMTPUTF8`.\n- Support for iCal events in multiparts and attachments\n- SMTP authentication with `LOGIN`, `PLAIN`, `CRAM-MD5`, and `XOAUTH2` mechanisms over SMTPS and SMTP+STARTTLS transports\n- Validates email addresses automatically\n- Protects against header injection attacks\n- Error messages in over 50 languages!\n- DKIM and S/MIME signing support\n- Compatible with PHP 5.5 and later, including PHP 8.5\n- Namespaced to prevent name clashes\n- Much more!\n\n## Why you might need it\nMany PHP developers need to send email from their code. The only PHP function that supports this directly is [`mail()`](https://www.php.net/manual/en/function.mail.php). However, it does not provide any assistance for making use of popular features such as authentication, HTML messages, and attachments.\n\nFormatting email correctly is surprisingly difficult. There are myriad overlapping (and conflicting) standards, requiring tight adherence to horribly complicated formatting and encoding rules – the vast majority of code that you'll find online that uses the `mail()` function directly is just plain wrong, if not unsafe!\n\nThe PHP `mail()` function usually sends via a local mail server, typically fronted by a `sendmail` binary on Linux, BSD, and macOS platforms, however, Windows usually doesn't include a local mail server; PHPMailer's integrated SMTP client allows email sending on all platforms without needing a local mail server. Be aware though, that the `mail()` function should be avoided when possible; it's both faster and [safer](https://exploitbox.io/paper/Pwning-PHP-Mail-Function-For-Fun-And-RCE.html) to use SMTP to localhost.\n\n*Please* don't be tempted to do it yourself – if you don't use PHPMailer, there are many other excellent libraries that\nyou should look at before rolling your own. Try [Symfony Mailer](https://symfony.com/doc/current/mailer.html), [Laminas/Mail](https://docs.laminas.dev/laminas-mail/), [ZetaComponents](https://github.com/zetacomponents/Mail), etc.\n\n## License\nThis software is distributed under the [LGPL 2.1](https://www.gnu.org/licenses/old-licenses/lgpl-2.1.html) license, along with the [GPL Cooperation Commitment](https://gplcc.github.io/gplcc/). Please read [LICENSE](https://github.com/PHPMailer/PHPMailer/blob/master/LICENSE) for information on the software availability and distribution.\n\n## Installation \u0026 loading\nPHPMailer is available on [Packagist](https://packagist.org/packages/phpmailer/phpmailer) (using semantic versioning), and installation via [Composer](https://getcomposer.org) is the recommended way to install PHPMailer. Just add this line to your `composer.json` file:\n\n```json\n\"phpmailer/phpmailer\": \"^7.0.0\"\n```\n\nor run\n\n```sh\ncomposer require phpmailer/phpmailer\n```\n\nNote that the `vendor` folder and the `vendor/autoload.php` script are generated by Composer; they are not part of PHPMailer.\n\nIf you want to use XOAUTH2 authentication, you will also need to add a dependency on the `league/oauth2-client` and appropriate service adapters package in your `composer.json`, or take a look at\nby @decomplexity's [SendOauth2 wrapper](https://github.com/decomplexity/SendOauth2), especially if you're using Microsoft services.\n\nAlternatively, if you're not using Composer, you\ncan [download PHPMailer as a zip file](https://github.com/PHPMailer/PHPMailer/archive/master.zip), (note that docs and examples are not included in the zip file), then copy the contents of the PHPMailer folder into one of the `include_path` directories specified in your PHP configuration and load each class file manually:\n\n```php\n\u003c?php\nuse PHPMailer\\PHPMailer\\PHPMailer;\nuse PHPMailer\\PHPMailer\\Exception;\n\nrequire 'path/to/PHPMailer/src/Exception.php';\nrequire 'path/to/PHPMailer/src/PHPMailer.php';\nrequire 'path/to/PHPMailer/src/SMTP.php';\n```\n\nIf you're not using the `SMTP` class explicitly (you're probably not), you don't need a `use` line for it. Even if you're not using exceptions, you do still need to load the `Exception` class as it is used internally.\n\n## Legacy versions\nPHPMailer 5.2 (which is compatible with PHP 5.0 — 7.0) is no longer supported, even for security updates. You will find the latest version of 5.2 in the [5.2-stable branch](https://github.com/PHPMailer/PHPMailer/tree/5.2-stable). If you're using PHP 5.5 or later (which you should be), upgrade to a later release.\n\n### Upgrading from 5.2\nThe biggest changes are that source files are now in the `src/` folder, and PHPMailer now declares the namespace `PHPMailer\\PHPMailer`. This has several important effects – [read the upgrade guide](https://github.com/PHPMailer/PHPMailer/tree/master/UPGRADING.md) for more details.\n\n### Minimal installation\nWhile installing the entire package manually or with Composer is simple, convenient, and reliable, you may want to include only vital files in your project. At the very least you will need [src/PHPMailer.php](https://github.com/PHPMailer/PHPMailer/tree/master/src/PHPMailer.php). If you're using SMTP, you'll need [src/SMTP.php](https://github.com/PHPMailer/PHPMailer/tree/master/src/SMTP.php), and if you're using POP-before SMTP (*very* unlikely!), you'll need [src/POP3.php](https://github.com/PHPMailer/PHPMailer/tree/master/src/POP3.php). You can skip the [language](https://github.com/PHPMailer/PHPMailer/tree/master/language/) folder if you're not showing errors to users and can make do with English-only errors. If you're using XOAUTH2 you will need [src/OAuth.php](https://github.com/PHPMailer/PHPMailer/tree/master/src/OAuth.php) as well as the Composer dependencies for the services you wish to authenticate with. Really, it's much easier to use Composer!\n\n## A Simple Example\n\n```php\n\u003c?php\n//Import PHPMailer classes into the global namespace\n//These must be at the top of your script, not inside a function\nuse PHPMailer\\PHPMailer\\PHPMailer;\nuse PHPMailer\\PHPMailer\\SMTP;\nuse PHPMailer\\PHPMailer\\Exception;\n\n//Load Composer's autoloader (created by composer, not included with PHPMailer)\nrequire 'vendor/autoload.php';\n\n//Create an instance; passing `true` enables exceptions\n$mail = new PHPMailer(true);\n\ntry {\n    //Server settings\n    $mail-\u003eSMTPDebug = SMTP::DEBUG_SERVER;                      //Enable verbose debug output\n    $mail-\u003eisSMTP();                                            //Send using SMTP\n    $mail-\u003eHost       = 'smtp.example.com';                     //Set the SMTP server to send through\n    $mail-\u003eSMTPAuth   = true;                                   //Enable SMTP authentication\n    $mail-\u003eUsername   = 'user@example.com';                     //SMTP username\n    $mail-\u003ePassword   = 'secret';                               //SMTP password\n    $mail-\u003eSMTPSecure = PHPMailer::ENCRYPTION_SMTPS;            //Enable implicit TLS encryption\n    $mail-\u003ePort       = 465;                                    //TCP port to connect to; use 587 if you have set `SMTPSecure = PHPMailer::ENCRYPTION_STARTTLS`\n\n    //Recipients\n    $mail-\u003esetFrom('from@example.com', 'Mailer');\n    $mail-\u003eaddAddress('joe@example.net', 'Joe User');     //Add a recipient\n    $mail-\u003eaddAddress('ellen@example.com');               //Name is optional\n    $mail-\u003eaddReplyTo('info@example.com', 'Information');\n    $mail-\u003eaddCC('cc@example.com');\n    $mail-\u003eaddBCC('bcc@example.com');\n\n    //Attachments\n    $mail-\u003eaddAttachment('/var/tmp/file.tar.gz');         //Add attachments\n    $mail-\u003eaddAttachment('/tmp/image.jpg', 'new.jpg');    //Optional name\n\n    //Content\n    $mail-\u003eisHTML(true);                                  //Set email format to HTML\n    $mail-\u003eSubject = 'Here is the subject';\n    $mail-\u003eBody    = 'This is the HTML message body \u003cb\u003ein bold!\u003c/b\u003e';\n    $mail-\u003eAltBody = 'This is the body in plain text for non-HTML mail clients';\n\n    $mail-\u003esend();\n    echo 'Message has been sent';\n} catch (Exception $e) {\n    echo \"Message could not be sent. Mailer Error: {$mail-\u003eErrorInfo}\";\n}\n```\n\nYou'll find plenty to play with in the [examples](https://github.com/PHPMailer/PHPMailer/tree/master/examples) folder, which covers many common scenarios including sending through Gmail, building contact forms, sending to mailing lists, and more.\n\nIf you are re-using the instance (e.g. when sending to a mailing list), you may need to clear the recipient list to avoid sending duplicate messages. See [the mailing list example](https://github.com/PHPMailer/PHPMailer/blob/master/examples/mailing_list.phps) for further guidance.\n\nThat's it. You should now be ready to use PHPMailer!\n\n## Localization\nPHPMailer defaults to English, but in the [language](https://github.com/PHPMailer/PHPMailer/tree/master/language/) folder, you'll find many translations for PHPMailer error messages that you may encounter. Their filenames contain [ISO 639-1](https://en.wikipedia.org/wiki/ISO_639-1) language code for the translations, for example `fr` for French. To specify a language, you need to tell PHPMailer which one to use, like this:\n\n```php\n//To load the French version\n$mail-\u003esetLanguage('fr', '/optional/path/to/language/directory/');\n```\n\nWe welcome corrections and new languages – if you're looking for corrections, run the [Language/TranslationCompletenessTest.php](https://github.com/PHPMailer/PHPMailer/blob/master/test/Language/TranslationCompletenessTest.php) script in the tests folder and it will show any missing translations.\n\n## Documentation\nStart reading at the [GitHub wiki](https://github.com/PHPMailer/PHPMailer/wiki). If you're having trouble, head for [the troubleshooting guide](https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting) as it's frequently updated.\n\nExamples of how to use PHPMailer for common scenarios can be found in the [examples](https://github.com/PHPMailer/PHPMailer/tree/master/examples) folder. If you're looking for a good starting point, we recommend you start with [the Gmail example](https://github.com/PHPMailer/PHPMailer/tree/master/examples/gmail.phps).\n\nTo reduce PHPMailer's deployed code footprint, examples are not included if you load PHPMailer via Composer or via [GitHub's zip file download](https://github.com/PHPMailer/PHPMailer/archive/master.zip), so you'll need to either clone the git repository or use the above links to get to the examples directly.\n\nComplete generated API documentation is [available online](https://phpmailer.github.io/PHPMailer/).\n\nYou can generate complete API-level documentation by running `phpdoc` in the top-level folder, and documentation will appear in the `docs` folder, though you'll need to have [PHPDocumentor](https://www.phpdoc.org) installed. You may find [the unit tests](https://github.com/PHPMailer/PHPMailer/blob/master/test/PHPMailer/PHPMailerTest.php) a good reference for how to do various operations such as encryption.\n\nIf the documentation doesn't cover what you need, search the [many questions on Stack Overflow](https://stackoverflow.com/questions/tagged/phpmailer), and before you ask a question about \"SMTP Error: Could not connect to SMTP host.\", [read the troubleshooting guide](https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting).\n\n## Tests\n[PHPMailer tests](https://github.com/PHPMailer/PHPMailer/tree/master/test/) use PHPUnit 9, with [a polyfill](https://github.com/Yoast/PHPUnit-Polyfills) to let 9-style tests run on older PHPUnit and PHP versions.\n\n[![Test status](https://github.com/PHPMailer/PHPMailer/workflows/Tests/badge.svg)](https://github.com/PHPMailer/PHPMailer/actions)\n\nIf this isn't passing, is there something you can do to help?\n\n## Security\nPlease disclose any vulnerabilities found responsibly – report security issues to the maintainers privately.\n\nSee [SECURITY](https://github.com/PHPMailer/PHPMailer/tree/master/SECURITY.md) and [PHPMailer's security advisories on GitHub](https://github.com/PHPMailer/PHPMailer/security). \n\n## Contributing\nPlease submit bug reports, suggestions, and pull requests to the [GitHub issue tracker](https://github.com/PHPMailer/PHPMailer/issues).\n\nWe're particularly interested in fixing edge cases, expanding test coverage, and updating translations.\n\nIf you found a mistake in the docs, or want to add something, go ahead and amend the wiki – anyone can edit it.\n\nIf you have git clones from prior to the move to the PHPMailer GitHub organisation, you'll need to update any remote URLs referencing the old GitHub location with a command like this from within your clone:\n\n```sh\ngit remote set-url upstream https://github.com/PHPMailer/PHPMailer.git\n```\n\nPlease *don't* use the SourceForge or Google Code projects any more; they are obsolete and no longer maintained.\n\n## Sponsorship\nDevelopment time and resources for PHPMailer are provided by [Smartmessages.net](https://info.smartmessages.net/), the world's only privacy-first email marketing system.\n\n\u003ca href=\"https://info.smartmessages.net/\"\u003e\u003cimg src=\"https://www.smartmessages.net/img/smartmessages-logo.svg\" width=\"550\" alt=\"Smartmessages.net privacy-first email marketing logo\"\u003e\u003c/a\u003e\n\nDonations are very welcome, whether in beer 🍺, T-shirts 👕, or cold, hard cash 💰. Sponsorship through GitHub is a simple and convenient way to say \"thank you\" to PHPMailer's maintainers and contributors – just click the \"Sponsor\" button [on the project page](https://github.com/PHPMailer/PHPMailer). If your company uses PHPMailer, consider taking part in Tidelift's enterprise support programme.\n\n## PHPMailer For Enterprise\n\nAvailable as part of the Tidelift Subscription.\n\nThe maintainers of PHPMailer and thousands of other packages are working with Tidelift to deliver commercial\nsupport and maintenance for the open-source packages you use to build your applications. Save time, reduce risk, and\nimprove code health, while paying the maintainers of the exact packages you\nuse. [Learn more.](https://tidelift.com/subscription/pkg/packagist-phpmailer-phpmailer?utm_source=packagist-phpmailer-phpmailer\u0026utm_medium=referral\u0026utm_campaign=enterprise\u0026utm_term=repo)\n\n## Changelog\nSee [changelog](changelog.md).\n\n## History\n- PHPMailer was originally written in 2001 by Brent R. Matzelle as a [SourceForge project](https://sourceforge.net/projects/phpmailer/).\n- [Marcus Bointon](https://github.com/Synchro) (`coolbru` on SF) and Andy Prevost (`codeworxtech`) took over the project in 2004.\n- Became an Apache incubator project on Google Code in 2010, managed by Jim Jagielski.\n- Marcus created [his fork on GitHub](https://github.com/Synchro/PHPMailer) in 2008.\n- Jim and Marcus decide to join forces and use GitHub as the canonical and official repo for PHPMailer in 2013.\n- PHPMailer moves to [the PHPMailer organisation](https://github.com/PHPMailer) on GitHub in 2013.\n\n### What's changed since moving from SourceForge?\n- Official successor to the SourceForge and Google Code projects.\n- Test suite.\n- Continuous integration with GitHub Actions.\n- Composer support.\n- Public development.\n- Additional languages and language strings.\n- CRAM-MD5 authentication support.\n- Preserves full repo history of authors, commits, and branches from the original SourceForge project.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphpmailer%2Fphpmailer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphpmailer%2Fphpmailer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphpmailer%2Fphpmailer/lists"}