create-berna-stencil 1.0.8 → 1.0.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eleventy.js +3 -1
- package/.env.example +8 -0
- package/.gitignore +2 -1
- package/README.md +1 -5
- package/bin/create.js +2 -1
- package/package.json +71 -70
- package/src/.htaccess +18 -0
- package/src/api/.htaccess +12 -0
- package/src/api/composer.json +6 -0
- package/src/api/composer.lock +574 -0
- package/src/api/endpoints/protected/secret.php +16 -0
- package/src/api/endpoints/protected/send-mail.php +75 -0
- package/src/api/endpoints/public/ping.php +16 -0
- package/src/api/index.php +95 -0
- package/src/api/init.php +43 -0
- package/src/api/modules/Response.php +37 -0
- package/src/api/vendor/autoload.php +22 -0
- package/src/api/vendor/composer/ClassLoader.php +579 -0
- package/src/api/vendor/composer/InstalledVersions.php +396 -0
- package/src/api/vendor/composer/LICENSE +21 -0
- package/src/api/vendor/composer/autoload_classmap.php +15 -0
- package/src/api/vendor/composer/autoload_files.php +12 -0
- package/src/api/vendor/composer/autoload_namespaces.php +9 -0
- package/src/api/vendor/composer/autoload_psr4.php +16 -0
- package/src/api/vendor/composer/autoload_real.php +50 -0
- package/src/api/vendor/composer/autoload_static.php +86 -0
- package/src/api/vendor/composer/installed.json +582 -0
- package/src/api/vendor/composer/installed.php +86 -0
- package/src/api/vendor/composer/platform_check.php +25 -0
- package/src/api/vendor/graham-campbell/result-type/.gitattributes +9 -0
- package/src/api/vendor/graham-campbell/result-type/.github/CODE_OF_CONDUCT.md +132 -0
- package/src/api/vendor/graham-campbell/result-type/.github/CONTRIBUTING.md +31 -0
- package/src/api/vendor/graham-campbell/result-type/.github/FUNDING.yml +2 -0
- package/src/api/vendor/graham-campbell/result-type/.github/SECURITY.md +14 -0
- package/src/api/vendor/graham-campbell/result-type/.github/workflows/stale.yml +11 -0
- package/src/api/vendor/graham-campbell/result-type/.github/workflows/tests.yml +40 -0
- package/src/api/vendor/graham-campbell/result-type/CHANGELOG.md +53 -0
- package/src/api/vendor/graham-campbell/result-type/LICENSE +21 -0
- package/src/api/vendor/graham-campbell/result-type/README.md +42 -0
- package/src/api/vendor/graham-campbell/result-type/composer.json +33 -0
- package/src/api/vendor/graham-campbell/result-type/phpunit.xml.dist +13 -0
- package/src/api/vendor/graham-campbell/result-type/src/Error.php +121 -0
- package/src/api/vendor/graham-campbell/result-type/src/Result.php +69 -0
- package/src/api/vendor/graham-campbell/result-type/src/Success.php +120 -0
- package/src/api/vendor/graham-campbell/result-type/tests/ResultTest.php +95 -0
- package/src/api/vendor/phpmailer/phpmailer/.codecov.yml +21 -0
- package/src/api/vendor/phpmailer/phpmailer/.editorconfig +15 -0
- package/src/api/vendor/phpmailer/phpmailer/.gitattributes +17 -0
- package/src/api/vendor/phpmailer/phpmailer/.github/FUNDING.yml +6 -0
- package/src/api/vendor/phpmailer/phpmailer/.github/ISSUE_TEMPLATE/bug_report.md +23 -0
- package/src/api/vendor/phpmailer/phpmailer/.github/actions/build-docs/Dockerfile +15 -0
- package/src/api/vendor/phpmailer/phpmailer/.github/actions/build-docs/entrypoint.sh +5 -0
- package/src/api/vendor/phpmailer/phpmailer/.github/dependabot.yml +21 -0
- package/src/api/vendor/phpmailer/phpmailer/.github/workflows/docs.yaml +30 -0
- package/src/api/vendor/phpmailer/phpmailer/.github/workflows/scorecards.yml +61 -0
- package/src/api/vendor/phpmailer/phpmailer/.github/workflows/tests.yml +237 -0
- package/src/api/vendor/phpmailer/phpmailer/.phan/config.php +41 -0
- package/src/api/vendor/phpmailer/phpmailer/COMMITMENT +46 -0
- package/src/api/vendor/phpmailer/phpmailer/LICENSE +502 -0
- package/src/api/vendor/phpmailer/phpmailer/README.md +232 -0
- package/src/api/vendor/phpmailer/phpmailer/SECURITY.md +37 -0
- package/src/api/vendor/phpmailer/phpmailer/SMTPUTF8.md +48 -0
- package/src/api/vendor/phpmailer/phpmailer/UPGRADING.md +125 -0
- package/src/api/vendor/phpmailer/phpmailer/VERSION +1 -0
- package/src/api/vendor/phpmailer/phpmailer/changelog.md +1122 -0
- package/src/api/vendor/phpmailer/phpmailer/composer.json +84 -0
- package/src/api/vendor/phpmailer/phpmailer/docs/README.md +9 -0
- package/src/api/vendor/phpmailer/phpmailer/examples/DKIM_gen_keys.phps +81 -0
- package/src/api/vendor/phpmailer/phpmailer/examples/DKIM_sign.phps +46 -0
- package/src/api/vendor/phpmailer/phpmailer/examples/README.md +96 -0
- package/src/api/vendor/phpmailer/phpmailer/examples/azure_xoauth2.phps +126 -0
- package/src/api/vendor/phpmailer/phpmailer/examples/callback.phps +76 -0
- package/src/api/vendor/phpmailer/phpmailer/examples/contactform-ajax.phps +146 -0
- package/src/api/vendor/phpmailer/phpmailer/examples/contactform.phps +95 -0
- package/src/api/vendor/phpmailer/phpmailer/examples/contents.html +17 -0
- package/src/api/vendor/phpmailer/phpmailer/examples/contentsutf8.html +23 -0
- package/src/api/vendor/phpmailer/phpmailer/examples/exceptions.phps +40 -0
- package/src/api/vendor/phpmailer/phpmailer/examples/extending.phps +72 -0
- package/src/api/vendor/phpmailer/phpmailer/examples/gmail.phps +106 -0
- package/src/api/vendor/phpmailer/phpmailer/examples/gmail_xoauth.phps +121 -0
- package/src/api/vendor/phpmailer/phpmailer/examples/images/PHPMailer card logo.afdesign +0 -0
- package/src/api/vendor/phpmailer/phpmailer/examples/images/PHPMailer card logo.png +0 -0
- package/src/api/vendor/phpmailer/phpmailer/examples/images/PHPMailer card logo.svg +209 -0
- package/src/api/vendor/phpmailer/phpmailer/examples/images/phpmailer.png +0 -0
- package/src/api/vendor/phpmailer/phpmailer/examples/images/phpmailer_mini.png +0 -0
- package/src/api/vendor/phpmailer/phpmailer/examples/mail.phps +35 -0
- package/src/api/vendor/phpmailer/phpmailer/examples/mailing_list.phps +96 -0
- package/src/api/vendor/phpmailer/phpmailer/examples/pop_before_smtp.phps +60 -0
- package/src/api/vendor/phpmailer/phpmailer/examples/send_file_upload.phps +60 -0
- package/src/api/vendor/phpmailer/phpmailer/examples/send_multiple_file_upload.phps +60 -0
- package/src/api/vendor/phpmailer/phpmailer/examples/sendmail.phps +37 -0
- package/src/api/vendor/phpmailer/phpmailer/examples/sendoauth2.phps +100 -0
- package/src/api/vendor/phpmailer/phpmailer/examples/simple_contact_form.phps +102 -0
- package/src/api/vendor/phpmailer/phpmailer/examples/smime_signed_mail.phps +99 -0
- package/src/api/vendor/phpmailer/phpmailer/examples/smtp.phps +62 -0
- package/src/api/vendor/phpmailer/phpmailer/examples/smtp_check.phps +60 -0
- package/src/api/vendor/phpmailer/phpmailer/examples/smtp_low_memory.phps +117 -0
- package/src/api/vendor/phpmailer/phpmailer/examples/smtp_no_auth.phps +53 -0
- package/src/api/vendor/phpmailer/phpmailer/examples/ssl_options.phps +81 -0
- package/src/api/vendor/phpmailer/phpmailer/get_oauth_token.php +182 -0
- package/src/api/vendor/phpmailer/phpmailer/language/phpmailer.lang-af.php +26 -0
- package/src/api/vendor/phpmailer/phpmailer/language/phpmailer.lang-ar.php +27 -0
- package/src/api/vendor/phpmailer/phpmailer/language/phpmailer.lang-as.php +35 -0
- package/src/api/vendor/phpmailer/phpmailer/language/phpmailer.lang-az.php +27 -0
- package/src/api/vendor/phpmailer/phpmailer/language/phpmailer.lang-ba.php +27 -0
- package/src/api/vendor/phpmailer/phpmailer/language/phpmailer.lang-be.php +27 -0
- package/src/api/vendor/phpmailer/phpmailer/language/phpmailer.lang-bg.php +27 -0
- package/src/api/vendor/phpmailer/phpmailer/language/phpmailer.lang-bn.php +35 -0
- package/src/api/vendor/phpmailer/phpmailer/language/phpmailer.lang-ca.php +27 -0
- package/src/api/vendor/phpmailer/phpmailer/language/phpmailer.lang-cs.php +28 -0
- package/src/api/vendor/phpmailer/phpmailer/language/phpmailer.lang-da.php +39 -0
- package/src/api/vendor/phpmailer/phpmailer/language/phpmailer.lang-de.php +28 -0
- package/src/api/vendor/phpmailer/phpmailer/language/phpmailer.lang-el.php +33 -0
- package/src/api/vendor/phpmailer/phpmailer/language/phpmailer.lang-eo.php +37 -0
- package/src/api/vendor/phpmailer/phpmailer/language/phpmailer.lang-es.php +38 -0
- package/src/api/vendor/phpmailer/phpmailer/language/phpmailer.lang-et.php +28 -0
- package/src/api/vendor/phpmailer/phpmailer/language/phpmailer.lang-fa.php +28 -0
- package/src/api/vendor/phpmailer/phpmailer/language/phpmailer.lang-fi.php +27 -0
- package/src/api/vendor/phpmailer/phpmailer/language/phpmailer.lang-fo.php +27 -0
- package/src/api/vendor/phpmailer/phpmailer/language/phpmailer.lang-fr.php +36 -0
- package/src/api/vendor/phpmailer/phpmailer/language/phpmailer.lang-gl.php +27 -0
- package/src/api/vendor/phpmailer/phpmailer/language/phpmailer.lang-he.php +27 -0
- package/src/api/vendor/phpmailer/phpmailer/language/phpmailer.lang-hi.php +35 -0
- package/src/api/vendor/phpmailer/phpmailer/language/phpmailer.lang-hr.php +27 -0
- package/src/api/vendor/phpmailer/phpmailer/language/phpmailer.lang-hu.php +27 -0
- package/src/api/vendor/phpmailer/phpmailer/language/phpmailer.lang-hy.php +27 -0
- package/src/api/vendor/phpmailer/phpmailer/language/phpmailer.lang-id.php +31 -0
- package/src/api/vendor/phpmailer/phpmailer/language/phpmailer.lang-it.php +28 -0
- package/src/api/vendor/phpmailer/phpmailer/language/phpmailer.lang-ja.php +37 -0
- package/src/api/vendor/phpmailer/phpmailer/language/phpmailer.lang-ka.php +27 -0
- package/src/api/vendor/phpmailer/phpmailer/language/phpmailer.lang-ko.php +27 -0
- package/src/api/vendor/phpmailer/phpmailer/language/phpmailer.lang-ku.php +27 -0
- package/src/api/vendor/phpmailer/phpmailer/language/phpmailer.lang-lt.php +27 -0
- package/src/api/vendor/phpmailer/phpmailer/language/phpmailer.lang-lv.php +27 -0
- package/src/api/vendor/phpmailer/phpmailer/language/phpmailer.lang-mg.php +27 -0
- package/src/api/vendor/phpmailer/phpmailer/language/phpmailer.lang-mn.php +27 -0
- package/src/api/vendor/phpmailer/phpmailer/language/phpmailer.lang-ms.php +27 -0
- package/src/api/vendor/phpmailer/phpmailer/language/phpmailer.lang-nb.php +37 -0
- package/src/api/vendor/phpmailer/phpmailer/language/phpmailer.lang-nl.php +38 -0
- package/src/api/vendor/phpmailer/phpmailer/language/phpmailer.lang-pl.php +33 -0
- package/src/api/vendor/phpmailer/phpmailer/language/phpmailer.lang-pt.php +34 -0
- package/src/api/vendor/phpmailer/phpmailer/language/phpmailer.lang-pt_br.php +38 -0
- package/src/api/vendor/phpmailer/phpmailer/language/phpmailer.lang-ro.php +33 -0
- package/src/api/vendor/phpmailer/phpmailer/language/phpmailer.lang-ru.php +36 -0
- package/src/api/vendor/phpmailer/phpmailer/language/phpmailer.lang-si.php +34 -0
- package/src/api/vendor/phpmailer/phpmailer/language/phpmailer.lang-sk.php +30 -0
- package/src/api/vendor/phpmailer/phpmailer/language/phpmailer.lang-sl.php +36 -0
- package/src/api/vendor/phpmailer/phpmailer/language/phpmailer.lang-sr.php +28 -0
- package/src/api/vendor/phpmailer/phpmailer/language/phpmailer.lang-sr_latn.php +28 -0
- package/src/api/vendor/phpmailer/phpmailer/language/phpmailer.lang-sv.php +27 -0
- package/src/api/vendor/phpmailer/phpmailer/language/phpmailer.lang-tl.php +28 -0
- package/src/api/vendor/phpmailer/phpmailer/language/phpmailer.lang-tr.php +38 -0
- package/src/api/vendor/phpmailer/phpmailer/language/phpmailer.lang-uk.php +28 -0
- package/src/api/vendor/phpmailer/phpmailer/language/phpmailer.lang-ur.php +30 -0
- package/src/api/vendor/phpmailer/phpmailer/language/phpmailer.lang-vi.php +27 -0
- package/src/api/vendor/phpmailer/phpmailer/language/phpmailer.lang-zh.php +29 -0
- package/src/api/vendor/phpmailer/phpmailer/language/phpmailer.lang-zh_cn.php +36 -0
- package/src/api/vendor/phpmailer/phpmailer/phpcs.xml.dist +52 -0
- package/src/api/vendor/phpmailer/phpmailer/phpdoc.dist.xml +20 -0
- package/src/api/vendor/phpmailer/phpmailer/phpunit.xml.dist +36 -0
- package/src/api/vendor/phpmailer/phpmailer/src/DSNConfigurator.php +245 -0
- package/src/api/vendor/phpmailer/phpmailer/src/Exception.php +40 -0
- package/src/api/vendor/phpmailer/phpmailer/src/OAuth.php +139 -0
- package/src/api/vendor/phpmailer/phpmailer/src/OAuthTokenProvider.php +44 -0
- package/src/api/vendor/phpmailer/phpmailer/src/PHPMailer.php +5525 -0
- package/src/api/vendor/phpmailer/phpmailer/src/POP3.php +470 -0
- package/src/api/vendor/phpmailer/phpmailer/src/SMTP.php +1617 -0
- package/src/api/vendor/phpmailer/phpmailer/test/DebugLogTestListener.php +47 -0
- package/src/api/vendor/phpmailer/phpmailer/test/Fixtures/FileIsAccessibleTest/accessible.txt +1 -0
- package/src/api/vendor/phpmailer/phpmailer/test/Fixtures/FileIsAccessibleTest/inaccessible.txt +1 -0
- package/src/api/vendor/phpmailer/phpmailer/test/Fixtures/LocalizationTest/phpmailer.lang-fr.php +10 -0
- package/src/api/vendor/phpmailer/phpmailer/test/Fixtures/LocalizationTest/phpmailer.lang-nl.php +10 -0
- package/src/api/vendor/phpmailer/phpmailer/test/Fixtures/LocalizationTest/phpmailer.lang-xa_scri_cc.php +9 -0
- package/src/api/vendor/phpmailer/phpmailer/test/Fixtures/LocalizationTest/phpmailer.lang-xb_scri.php +9 -0
- package/src/api/vendor/phpmailer/phpmailer/test/Fixtures/LocalizationTest/phpmailer.lang-xc_cc.php +9 -0
- package/src/api/vendor/phpmailer/phpmailer/test/Fixtures/LocalizationTest/phpmailer.lang-xd_cc.php +9 -0
- package/src/api/vendor/phpmailer/phpmailer/test/Fixtures/LocalizationTest/phpmailer.lang-xd_scri.php +9 -0
- package/src/api/vendor/phpmailer/phpmailer/test/Fixtures/LocalizationTest/phpmailer.lang-xe.php +9 -0
- package/src/api/vendor/phpmailer/phpmailer/test/Fixtures/LocalizationTest/phpmailer.lang-xx.php +9 -0
- package/src/api/vendor/phpmailer/phpmailer/test/Fixtures/LocalizationTest/phpmailer.lang-yy.php +16 -0
- package/src/api/vendor/phpmailer/phpmailer/test/Fixtures/LocalizationTest/phpmailer.lang-yz.php +16 -0
- package/src/api/vendor/phpmailer/phpmailer/test/Fixtures/LocalizationTest/phpmailer.lang-zz.php +20 -0
- package/src/api/vendor/phpmailer/phpmailer/test/Language/TranslationCompletenessTest.php +97 -0
- package/src/api/vendor/phpmailer/phpmailer/test/OAuth/OAuthTest.php +76 -0
- package/src/api/vendor/phpmailer/phpmailer/test/PHPMailer/AddEmbeddedImageTest.php +178 -0
- package/src/api/vendor/phpmailer/phpmailer/test/PHPMailer/AddStringAttachmentTest.php +147 -0
- package/src/api/vendor/phpmailer/phpmailer/test/PHPMailer/AddStringEmbeddedImageTest.php +161 -0
- package/src/api/vendor/phpmailer/phpmailer/test/PHPMailer/AddrFormatTest.php +70 -0
- package/src/api/vendor/phpmailer/phpmailer/test/PHPMailer/AuthCRAMMD5Test.php +48 -0
- package/src/api/vendor/phpmailer/phpmailer/test/PHPMailer/CustomHeaderTest.php +285 -0
- package/src/api/vendor/phpmailer/phpmailer/test/PHPMailer/DKIMTest.php +258 -0
- package/src/api/vendor/phpmailer/phpmailer/test/PHPMailer/DKIMWithoutExceptionsTest.php +46 -0
- package/src/api/vendor/phpmailer/phpmailer/test/PHPMailer/DSNConfiguratorTest.php +221 -0
- package/src/api/vendor/phpmailer/phpmailer/test/PHPMailer/EncodeQTest.php +110 -0
- package/src/api/vendor/phpmailer/phpmailer/test/PHPMailer/EncodeStringTest.php +135 -0
- package/src/api/vendor/phpmailer/phpmailer/test/PHPMailer/FileIsAccessibleTest.php +103 -0
- package/src/api/vendor/phpmailer/phpmailer/test/PHPMailer/FilenameToTypeTest.php +74 -0
- package/src/api/vendor/phpmailer/phpmailer/test/PHPMailer/GenerateIdTest.php +75 -0
- package/src/api/vendor/phpmailer/phpmailer/test/PHPMailer/GetLastMessageIDTest.php +110 -0
- package/src/api/vendor/phpmailer/phpmailer/test/PHPMailer/HasLineLongerThanMaxTest.php +158 -0
- package/src/api/vendor/phpmailer/phpmailer/test/PHPMailer/Html2TextTest.php +231 -0
- package/src/api/vendor/phpmailer/phpmailer/test/PHPMailer/ICalTest.php +126 -0
- package/src/api/vendor/phpmailer/phpmailer/test/PHPMailer/IsPermittedPathTest.php +108 -0
- package/src/api/vendor/phpmailer/phpmailer/test/PHPMailer/IsValidHostTest.php +107 -0
- package/src/api/vendor/phpmailer/phpmailer/test/PHPMailer/LocalizationTest.php +505 -0
- package/src/api/vendor/phpmailer/phpmailer/test/PHPMailer/MailTransportTest.php +261 -0
- package/src/api/vendor/phpmailer/phpmailer/test/PHPMailer/MbPathinfoTest.php +171 -0
- package/src/api/vendor/phpmailer/phpmailer/test/PHPMailer/MimeTypesTest.php +70 -0
- package/src/api/vendor/phpmailer/phpmailer/test/PHPMailer/NormalizeBreaksTest.php +111 -0
- package/src/api/vendor/phpmailer/phpmailer/test/PHPMailer/PHPMailerTest.php +1388 -0
- package/src/api/vendor/phpmailer/phpmailer/test/PHPMailer/ParseAddressesTest.php +321 -0
- package/src/api/vendor/phpmailer/phpmailer/test/PHPMailer/PunyencodeAddressTest.php +141 -0
- package/src/api/vendor/phpmailer/phpmailer/test/PHPMailer/QuotedStringTest.php +70 -0
- package/src/api/vendor/phpmailer/phpmailer/test/PHPMailer/ReplyToGetSetClearTest.php +444 -0
- package/src/api/vendor/phpmailer/phpmailer/test/PHPMailer/SetErrorTest.php +154 -0
- package/src/api/vendor/phpmailer/phpmailer/test/PHPMailer/SetFromTest.php +202 -0
- package/src/api/vendor/phpmailer/phpmailer/test/PHPMailer/SetTest.php +81 -0
- package/src/api/vendor/phpmailer/phpmailer/test/PHPMailer/SetWordWrapTest.php +120 -0
- package/src/api/vendor/phpmailer/phpmailer/test/PHPMailer/Utf8CharBoundaryTest.php +66 -0
- package/src/api/vendor/phpmailer/phpmailer/test/PHPMailer/ValidateAddressCustomValidatorTest.php +116 -0
- package/src/api/vendor/phpmailer/phpmailer/test/PHPMailer/ValidateAddressTest.php +485 -0
- package/src/api/vendor/phpmailer/phpmailer/test/PHPMailer/WrapTextTest.php +125 -0
- package/src/api/vendor/phpmailer/phpmailer/test/PHPMailer/XMailerTest.php +75 -0
- package/src/api/vendor/phpmailer/phpmailer/test/POP3/PopBeforeSmtpTest.php +139 -0
- package/src/api/vendor/phpmailer/phpmailer/test/PreSendTestCase.php +46 -0
- package/src/api/vendor/phpmailer/phpmailer/test/Security/DenialOfServiceVectorsTest.php +52 -0
- package/src/api/vendor/phpmailer/phpmailer/test/SendTestCase.php +126 -0
- package/src/api/vendor/phpmailer/phpmailer/test/TestCase.php +392 -0
- package/src/api/vendor/phpmailer/phpmailer/test/fakepopserver.sh +126 -0
- package/src/api/vendor/phpmailer/phpmailer/test/fakesendmail.sh +22 -0
- package/src/api/vendor/phpmailer/phpmailer/test/runfakepopserver.sh +12 -0
- package/src/api/vendor/phpmailer/phpmailer/test/testbootstrap-dist.php +8 -0
- package/src/api/vendor/phpmailer/phpmailer/test/validators.php +12 -0
- package/src/api/vendor/phpoption/phpoption/.gitattributes +13 -0
- package/src/api/vendor/phpoption/phpoption/.github/CODE_OF_CONDUCT.md +132 -0
- package/src/api/vendor/phpoption/phpoption/.github/CONTRIBUTING.md +30 -0
- package/src/api/vendor/phpoption/phpoption/.github/FUNDING.yml +2 -0
- package/src/api/vendor/phpoption/phpoption/.github/SECURITY.md +14 -0
- package/src/api/vendor/phpoption/phpoption/.github/workflows/static.yml +40 -0
- package/src/api/vendor/phpoption/phpoption/.github/workflows/tests.yml +40 -0
- package/src/api/vendor/phpoption/phpoption/LICENSE +201 -0
- package/src/api/vendor/phpoption/phpoption/Makefile +17 -0
- package/src/api/vendor/phpoption/phpoption/README.md +201 -0
- package/src/api/vendor/phpoption/phpoption/composer.json +50 -0
- package/src/api/vendor/phpoption/phpoption/phpstan-baseline.neon +44 -0
- package/src/api/vendor/phpoption/phpoption/phpstan.neon.dist +7 -0
- package/src/api/vendor/phpoption/phpoption/phpunit.xml.dist +13 -0
- package/src/api/vendor/phpoption/phpoption/src/PhpOption/LazyOption.php +175 -0
- package/src/api/vendor/phpoption/phpoption/src/PhpOption/None.php +136 -0
- package/src/api/vendor/phpoption/phpoption/src/PhpOption/Option.php +434 -0
- package/src/api/vendor/phpoption/phpoption/src/PhpOption/Some.php +169 -0
- package/src/api/vendor/phpoption/phpoption/tests/PhpOption/Tests/EnsureTest.php +72 -0
- package/src/api/vendor/phpoption/phpoption/tests/PhpOption/Tests/LazyOptionTest.php +357 -0
- package/src/api/vendor/phpoption/phpoption/tests/PhpOption/Tests/NoneTest.php +153 -0
- package/src/api/vendor/phpoption/phpoption/tests/PhpOption/Tests/OptionTest.php +166 -0
- package/src/api/vendor/phpoption/phpoption/tests/PhpOption/Tests/SomeTest.php +194 -0
- package/src/api/vendor/phpoption/phpoption/tests/bootstrap.php +8 -0
- package/src/api/vendor/phpoption/phpoption/vendor-bin/phpstan/composer.json +8 -0
- package/src/api/vendor/symfony/polyfill-ctype/Ctype.php +232 -0
- package/src/api/vendor/symfony/polyfill-ctype/LICENSE +19 -0
- package/src/api/vendor/symfony/polyfill-ctype/README.md +12 -0
- package/src/api/vendor/symfony/polyfill-ctype/bootstrap.php +50 -0
- package/src/api/vendor/symfony/polyfill-ctype/bootstrap80.php +46 -0
- package/src/api/vendor/symfony/polyfill-ctype/composer.json +38 -0
- package/src/api/vendor/symfony/polyfill-mbstring/LICENSE +19 -0
- package/src/api/vendor/symfony/polyfill-mbstring/Mbstring.php +1077 -0
- package/src/api/vendor/symfony/polyfill-mbstring/README.md +13 -0
- package/src/api/vendor/symfony/polyfill-mbstring/Resources/unidata/caseFolding.php +119 -0
- package/src/api/vendor/symfony/polyfill-mbstring/Resources/unidata/lowerCase.php +1397 -0
- package/src/api/vendor/symfony/polyfill-mbstring/Resources/unidata/titleCaseRegexp.php +5 -0
- package/src/api/vendor/symfony/polyfill-mbstring/Resources/unidata/upperCase.php +1489 -0
- package/src/api/vendor/symfony/polyfill-mbstring/bootstrap.php +171 -0
- package/src/api/vendor/symfony/polyfill-mbstring/bootstrap80.php +167 -0
- package/src/api/vendor/symfony/polyfill-mbstring/composer.json +39 -0
- package/src/api/vendor/symfony/polyfill-php80/LICENSE +19 -0
- package/src/api/vendor/symfony/polyfill-php80/Php80.php +115 -0
- package/src/api/vendor/symfony/polyfill-php80/PhpToken.php +106 -0
- package/src/api/vendor/symfony/polyfill-php80/README.md +25 -0
- package/src/api/vendor/symfony/polyfill-php80/Resources/stubs/Attribute.php +31 -0
- package/src/api/vendor/symfony/polyfill-php80/Resources/stubs/PhpToken.php +16 -0
- package/src/api/vendor/symfony/polyfill-php80/Resources/stubs/Stringable.php +20 -0
- package/src/api/vendor/symfony/polyfill-php80/Resources/stubs/UnhandledMatchError.php +16 -0
- package/src/api/vendor/symfony/polyfill-php80/Resources/stubs/ValueError.php +16 -0
- package/src/api/vendor/symfony/polyfill-php80/bootstrap.php +42 -0
- package/src/api/vendor/symfony/polyfill-php80/composer.json +37 -0
- package/src/api/vendor/vlucas/phpdotenv/.editorconfig +15 -0
- package/src/api/vendor/vlucas/phpdotenv/.gitattributes +15 -0
- package/src/api/vendor/vlucas/phpdotenv/.github/CODE_OF_CONDUCT.md +132 -0
- package/src/api/vendor/vlucas/phpdotenv/.github/CONTRIBUTING.md +30 -0
- package/src/api/vendor/vlucas/phpdotenv/.github/FUNDING.yml +2 -0
- package/src/api/vendor/vlucas/phpdotenv/.github/SECURITY.md +14 -0
- package/src/api/vendor/vlucas/phpdotenv/.github/workflows/static.yml +40 -0
- package/src/api/vendor/vlucas/phpdotenv/.github/workflows/tests.yml +70 -0
- package/src/api/vendor/vlucas/phpdotenv/LICENSE +30 -0
- package/src/api/vendor/vlucas/phpdotenv/Makefile +17 -0
- package/src/api/vendor/vlucas/phpdotenv/README.md +370 -0
- package/src/api/vendor/vlucas/phpdotenv/UPGRADING.md +196 -0
- package/src/api/vendor/vlucas/phpdotenv/composer.json +60 -0
- package/src/api/vendor/vlucas/phpdotenv/phpstan-baseline.neon +157 -0
- package/src/api/vendor/vlucas/phpdotenv/phpstan.neon.dist +7 -0
- package/src/api/vendor/vlucas/phpdotenv/phpunit.xml.dist +13 -0
- package/src/api/vendor/vlucas/phpdotenv/src/Dotenv.php +267 -0
- package/src/api/vendor/vlucas/phpdotenv/src/Exception/ExceptionInterface.php +12 -0
- package/src/api/vendor/vlucas/phpdotenv/src/Exception/InvalidEncodingException.php +12 -0
- package/src/api/vendor/vlucas/phpdotenv/src/Exception/InvalidFileException.php +12 -0
- package/src/api/vendor/vlucas/phpdotenv/src/Exception/InvalidPathException.php +12 -0
- package/src/api/vendor/vlucas/phpdotenv/src/Exception/ValidationException.php +12 -0
- package/src/api/vendor/vlucas/phpdotenv/src/Loader/Loader.php +48 -0
- package/src/api/vendor/vlucas/phpdotenv/src/Loader/LoaderInterface.php +20 -0
- package/src/api/vendor/vlucas/phpdotenv/src/Loader/Resolver.php +65 -0
- package/src/api/vendor/vlucas/phpdotenv/src/Parser/Entry.php +59 -0
- package/src/api/vendor/vlucas/phpdotenv/src/Parser/EntryParser.php +299 -0
- package/src/api/vendor/vlucas/phpdotenv/src/Parser/Lexer.php +58 -0
- package/src/api/vendor/vlucas/phpdotenv/src/Parser/Lines.php +127 -0
- package/src/api/vendor/vlucas/phpdotenv/src/Parser/Parser.php +53 -0
- package/src/api/vendor/vlucas/phpdotenv/src/Parser/ParserInterface.php +19 -0
- package/src/api/vendor/vlucas/phpdotenv/src/Parser/Value.php +88 -0
- package/src/api/vendor/vlucas/phpdotenv/src/Repository/Adapter/AdapterInterface.php +15 -0
- package/src/api/vendor/vlucas/phpdotenv/src/Repository/Adapter/ApacheAdapter.php +89 -0
- package/src/api/vendor/vlucas/phpdotenv/src/Repository/Adapter/ArrayAdapter.php +80 -0
- package/src/api/vendor/vlucas/phpdotenv/src/Repository/Adapter/EnvConstAdapter.php +88 -0
- package/src/api/vendor/vlucas/phpdotenv/src/Repository/Adapter/GuardedWriter.php +85 -0
- package/src/api/vendor/vlucas/phpdotenv/src/Repository/Adapter/ImmutableWriter.php +110 -0
- package/src/api/vendor/vlucas/phpdotenv/src/Repository/Adapter/MultiReader.php +48 -0
- package/src/api/vendor/vlucas/phpdotenv/src/Repository/Adapter/MultiWriter.php +64 -0
- package/src/api/vendor/vlucas/phpdotenv/src/Repository/Adapter/PutenvAdapter.php +91 -0
- package/src/api/vendor/vlucas/phpdotenv/src/Repository/Adapter/ReaderInterface.php +17 -0
- package/src/api/vendor/vlucas/phpdotenv/src/Repository/Adapter/ReplacingWriter.php +104 -0
- package/src/api/vendor/vlucas/phpdotenv/src/Repository/Adapter/ServerConstAdapter.php +88 -0
- package/src/api/vendor/vlucas/phpdotenv/src/Repository/Adapter/WriterInterface.php +27 -0
- package/src/api/vendor/vlucas/phpdotenv/src/Repository/AdapterRepository.php +107 -0
- package/src/api/vendor/vlucas/phpdotenv/src/Repository/RepositoryBuilder.php +272 -0
- package/src/api/vendor/vlucas/phpdotenv/src/Repository/RepositoryInterface.php +51 -0
- package/src/api/vendor/vlucas/phpdotenv/src/Store/File/Paths.php +44 -0
- package/src/api/vendor/vlucas/phpdotenv/src/Store/File/Reader.php +81 -0
- package/src/api/vendor/vlucas/phpdotenv/src/Store/FileStore.php +72 -0
- package/src/api/vendor/vlucas/phpdotenv/src/Store/StoreBuilder.php +141 -0
- package/src/api/vendor/vlucas/phpdotenv/src/Store/StoreInterface.php +17 -0
- package/src/api/vendor/vlucas/phpdotenv/src/Store/StringStore.php +37 -0
- package/src/api/vendor/vlucas/phpdotenv/src/Util/Regex.php +112 -0
- package/src/api/vendor/vlucas/phpdotenv/src/Util/Str.php +108 -0
- package/src/api/vendor/vlucas/phpdotenv/src/Validator.php +207 -0
- package/src/api/vendor/vlucas/phpdotenv/tests/Dotenv/DotenvTest.php +387 -0
- package/src/api/vendor/vlucas/phpdotenv/tests/Dotenv/Loader/LoaderTest.php +86 -0
- package/src/api/vendor/vlucas/phpdotenv/tests/Dotenv/Parser/EntryParserTest.php +234 -0
- package/src/api/vendor/vlucas/phpdotenv/tests/Dotenv/Parser/LexerTest.php +40 -0
- package/src/api/vendor/vlucas/phpdotenv/tests/Dotenv/Parser/LinesTest.php +53 -0
- package/src/api/vendor/vlucas/phpdotenv/tests/Dotenv/Parser/ParserTest.php +98 -0
- package/src/api/vendor/vlucas/phpdotenv/tests/Dotenv/Repository/Adapter/ArrayAdapterTest.php +57 -0
- package/src/api/vendor/vlucas/phpdotenv/tests/Dotenv/Repository/Adapter/EnvConstAdapterTest.php +75 -0
- package/src/api/vendor/vlucas/phpdotenv/tests/Dotenv/Repository/Adapter/PutenvAdapterTest.php +52 -0
- package/src/api/vendor/vlucas/phpdotenv/tests/Dotenv/Repository/Adapter/ServerConstAdapterTest.php +75 -0
- package/src/api/vendor/vlucas/phpdotenv/tests/Dotenv/Repository/RepositoryTest.php +305 -0
- package/src/api/vendor/vlucas/phpdotenv/tests/Dotenv/Store/StoreTest.php +141 -0
- package/src/api/vendor/vlucas/phpdotenv/tests/Dotenv/ValidatorTest.php +479 -0
- package/src/api/vendor/vlucas/phpdotenv/tests/fixtures/env/.env +5 -0
- package/src/api/vendor/vlucas/phpdotenv/tests/fixtures/env/assertions.env +18 -0
- package/src/api/vendor/vlucas/phpdotenv/tests/fixtures/env/booleans.env +33 -0
- package/src/api/vendor/vlucas/phpdotenv/tests/fixtures/env/commented.env +15 -0
- package/src/api/vendor/vlucas/phpdotenv/tests/fixtures/env/empty.env +1 -0
- package/src/api/vendor/vlucas/phpdotenv/tests/fixtures/env/example.env +1 -0
- package/src/api/vendor/vlucas/phpdotenv/tests/fixtures/env/exported.env +7 -0
- package/src/api/vendor/vlucas/phpdotenv/tests/fixtures/env/immutable.env +1 -0
- package/src/api/vendor/vlucas/phpdotenv/tests/fixtures/env/integers.env +17 -0
- package/src/api/vendor/vlucas/phpdotenv/tests/fixtures/env/large.env +2 -0
- package/src/api/vendor/vlucas/phpdotenv/tests/fixtures/env/multibyte.env +3 -0
- package/src/api/vendor/vlucas/phpdotenv/tests/fixtures/env/multiline.env +14 -0
- package/src/api/vendor/vlucas/phpdotenv/tests/fixtures/env/multiple.env +4 -0
- package/src/api/vendor/vlucas/phpdotenv/tests/fixtures/env/mutable.env +1 -0
- package/src/api/vendor/vlucas/phpdotenv/tests/fixtures/env/nested.env +15 -0
- package/src/api/vendor/vlucas/phpdotenv/tests/fixtures/env/quoted.env +11 -0
- package/src/api/vendor/vlucas/phpdotenv/tests/fixtures/env/specialchars.env +8 -0
- package/src/api/vendor/vlucas/phpdotenv/tests/fixtures/env/unicodevarnames.env +2 -0
- package/src/api/vendor/vlucas/phpdotenv/tests/fixtures/env/utf8-with-bom-encoding.env +3 -0
- package/src/api/vendor/vlucas/phpdotenv/tests/fixtures/env/windows.env +1 -0
- package/src/api/vendor/vlucas/phpdotenv/vendor-bin/phpstan/composer.json +15 -0
- package/src/api/configExample.php +0 -28
- package/src/api/sendEmail.php +0 -131
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
<?php
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* This example shows settings to use when sending over SMTP with TLS and custom connection options.
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
//Import the PHPMailer class into the global namespace
|
|
8
|
+
use PHPMailer\PHPMailer\PHPMailer;
|
|
9
|
+
use PHPMailer\PHPMailer\SMTP;
|
|
10
|
+
|
|
11
|
+
//SMTP needs accurate times, and the PHP time zone MUST be set
|
|
12
|
+
//This should be done in your php.ini, but this is how to do it if you don't have access to that
|
|
13
|
+
date_default_timezone_set('Etc/UTC');
|
|
14
|
+
|
|
15
|
+
require '../vendor/autoload.php';
|
|
16
|
+
|
|
17
|
+
//Create a new PHPMailer instance
|
|
18
|
+
$mail = new PHPMailer();
|
|
19
|
+
|
|
20
|
+
//Tell PHPMailer to use SMTP
|
|
21
|
+
$mail->isSMTP();
|
|
22
|
+
|
|
23
|
+
//Enable SMTP debugging
|
|
24
|
+
//SMTP::DEBUG_OFF = off (for production use)
|
|
25
|
+
//SMTP::DEBUG_CLIENT = client messages
|
|
26
|
+
//SMTP::DEBUG_SERVER = client and server messages
|
|
27
|
+
$mail->SMTPDebug = SMTP::DEBUG_CONNECTION;
|
|
28
|
+
|
|
29
|
+
//Set the hostname of the mail server
|
|
30
|
+
$mail->Host = 'smtp.example.com';
|
|
31
|
+
|
|
32
|
+
//Set the SMTP port number:
|
|
33
|
+
// - 465 for SMTP with implicit TLS, a.k.a. RFC8314 SMTPS or
|
|
34
|
+
// - 587 for SMTP+STARTTLS
|
|
35
|
+
$mail->Port = 465;
|
|
36
|
+
|
|
37
|
+
//Set the encryption mechanism to use:
|
|
38
|
+
// - SMTPS (implicit TLS on port 465) or
|
|
39
|
+
// - STARTTLS (explicit TLS on port 587)
|
|
40
|
+
$mail->SMTPSecure = PHPMailer::ENCRYPTION_SMTPS;
|
|
41
|
+
|
|
42
|
+
//Custom connection options
|
|
43
|
+
//Note that these settings are INSECURE
|
|
44
|
+
$mail->SMTPOptions = array(
|
|
45
|
+
'ssl' => [
|
|
46
|
+
'verify_peer' => true,
|
|
47
|
+
'verify_depth' => 3,
|
|
48
|
+
'allow_self_signed' => true,
|
|
49
|
+
'peer_name' => 'smtp.example.com',
|
|
50
|
+
'cafile' => '/etc/ssl/ca_cert.pem',
|
|
51
|
+
],
|
|
52
|
+
);
|
|
53
|
+
|
|
54
|
+
//Whether to use SMTP authentication
|
|
55
|
+
$mail->SMTPAuth = true;
|
|
56
|
+
|
|
57
|
+
//Username to use for SMTP authentication - use full email address for gmail
|
|
58
|
+
$mail->Username = 'username@example.com';
|
|
59
|
+
|
|
60
|
+
//Password to use for SMTP authentication
|
|
61
|
+
$mail->Password = 'yourpassword';
|
|
62
|
+
|
|
63
|
+
//Set who the message is to be sent from
|
|
64
|
+
$mail->setFrom('from@example.com', 'First Last');
|
|
65
|
+
|
|
66
|
+
//Set who the message is to be sent to
|
|
67
|
+
$mail->addAddress('whoto@example.com', 'John Doe');
|
|
68
|
+
|
|
69
|
+
//Set the subject line
|
|
70
|
+
$mail->Subject = 'PHPMailer SMTP options test';
|
|
71
|
+
|
|
72
|
+
//Read an HTML message body from an external file, convert referenced images to embedded,
|
|
73
|
+
//convert HTML into a basic plain-text alternative body
|
|
74
|
+
$mail->msgHTML(file_get_contents('contents.html'), __DIR__);
|
|
75
|
+
|
|
76
|
+
//Send the message, check for errors
|
|
77
|
+
if (!$mail->send()) {
|
|
78
|
+
echo 'Mailer Error: ' . $mail->ErrorInfo;
|
|
79
|
+
} else {
|
|
80
|
+
echo 'Message sent!';
|
|
81
|
+
}
|
|
@@ -0,0 +1,182 @@
|
|
|
1
|
+
<?php
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* PHPMailer - PHP email creation and transport class.
|
|
5
|
+
* PHP Version 5.5
|
|
6
|
+
* @package PHPMailer
|
|
7
|
+
* @see https://github.com/PHPMailer/PHPMailer/ The PHPMailer GitHub project
|
|
8
|
+
* @author Marcus Bointon (Synchro/coolbru) <phpmailer@synchromedia.co.uk>
|
|
9
|
+
* @author Jim Jagielski (jimjag) <jimjag@gmail.com>
|
|
10
|
+
* @author Andy Prevost (codeworxtech) <codeworxtech@users.sourceforge.net>
|
|
11
|
+
* @author Brent R. Matzelle (original founder)
|
|
12
|
+
* @copyright 2012 - 2020 Marcus Bointon
|
|
13
|
+
* @copyright 2010 - 2012 Jim Jagielski
|
|
14
|
+
* @copyright 2004 - 2009 Andy Prevost
|
|
15
|
+
* @license https://www.gnu.org/licenses/old-licenses/lgpl-2.1.html GNU Lesser General Public License
|
|
16
|
+
* @note This program is distributed in the hope that it will be useful - WITHOUT
|
|
17
|
+
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
18
|
+
* FITNESS FOR A PARTICULAR PURPOSE.
|
|
19
|
+
*/
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* Get an OAuth2 token from an OAuth2 provider.
|
|
23
|
+
* * Install this script on your server so that it's accessible
|
|
24
|
+
* as [https/http]://<yourdomain>/<folder>/get_oauth_token.php
|
|
25
|
+
* e.g.: http://localhost/phpmailer/get_oauth_token.php
|
|
26
|
+
* * Ensure dependencies are installed with 'composer install'
|
|
27
|
+
* * Set up an app in your Google/Yahoo/Microsoft account
|
|
28
|
+
* * Set the script address as the app's redirect URL
|
|
29
|
+
* If no refresh token is obtained when running this file,
|
|
30
|
+
* revoke access to your app and run the script again.
|
|
31
|
+
*/
|
|
32
|
+
|
|
33
|
+
namespace PHPMailer\PHPMailer;
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* Aliases for League Provider Classes
|
|
37
|
+
* Make sure you have added these to your composer.json and run `composer install`
|
|
38
|
+
* Plenty to choose from here:
|
|
39
|
+
* @see https://oauth2-client.thephpleague.com/providers/thirdparty/
|
|
40
|
+
*/
|
|
41
|
+
//@see https://github.com/thephpleague/oauth2-google
|
|
42
|
+
use League\OAuth2\Client\Provider\Google;
|
|
43
|
+
//@see https://packagist.org/packages/hayageek/oauth2-yahoo
|
|
44
|
+
use Hayageek\OAuth2\Client\Provider\Yahoo;
|
|
45
|
+
//@see https://github.com/stevenmaguire/oauth2-microsoft
|
|
46
|
+
use Stevenmaguire\OAuth2\Client\Provider\Microsoft;
|
|
47
|
+
//@see https://github.com/greew/oauth2-azure-provider
|
|
48
|
+
use Greew\OAuth2\Client\Provider\Azure;
|
|
49
|
+
|
|
50
|
+
if (!isset($_GET['code']) && !isset($_POST['provider'])) {
|
|
51
|
+
?>
|
|
52
|
+
<html>
|
|
53
|
+
<body>
|
|
54
|
+
<form method="post">
|
|
55
|
+
<h1>Select Provider</h1>
|
|
56
|
+
<input type="radio" name="provider" value="Google" id="providerGoogle">
|
|
57
|
+
<label for="providerGoogle">Google</label><br>
|
|
58
|
+
<input type="radio" name="provider" value="Yahoo" id="providerYahoo">
|
|
59
|
+
<label for="providerYahoo">Yahoo</label><br>
|
|
60
|
+
<input type="radio" name="provider" value="Microsoft" id="providerMicrosoft">
|
|
61
|
+
<label for="providerMicrosoft">Microsoft</label><br>
|
|
62
|
+
<input type="radio" name="provider" value="Azure" id="providerAzure">
|
|
63
|
+
<label for="providerAzure">Azure</label><br>
|
|
64
|
+
<h1>Enter id and secret</h1>
|
|
65
|
+
<p>These details are obtained by setting up an app in your provider's developer console.
|
|
66
|
+
</p>
|
|
67
|
+
<p>ClientId: <input type="text" name="clientId"><p>
|
|
68
|
+
<p>ClientSecret: <input type="text" name="clientSecret"></p>
|
|
69
|
+
<p>TenantID (only relevant for Azure): <input type="text" name="tenantId"></p>
|
|
70
|
+
<input type="submit" value="Continue">
|
|
71
|
+
</form>
|
|
72
|
+
</body>
|
|
73
|
+
</html>
|
|
74
|
+
<?php
|
|
75
|
+
exit;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
require 'vendor/autoload.php';
|
|
79
|
+
|
|
80
|
+
session_start();
|
|
81
|
+
|
|
82
|
+
$providerName = '';
|
|
83
|
+
$clientId = '';
|
|
84
|
+
$clientSecret = '';
|
|
85
|
+
$tenantId = '';
|
|
86
|
+
|
|
87
|
+
if (array_key_exists('provider', $_POST)) {
|
|
88
|
+
$providerName = $_POST['provider'];
|
|
89
|
+
$clientId = $_POST['clientId'];
|
|
90
|
+
$clientSecret = $_POST['clientSecret'];
|
|
91
|
+
$tenantId = $_POST['tenantId'];
|
|
92
|
+
$_SESSION['provider'] = $providerName;
|
|
93
|
+
$_SESSION['clientId'] = $clientId;
|
|
94
|
+
$_SESSION['clientSecret'] = $clientSecret;
|
|
95
|
+
$_SESSION['tenantId'] = $tenantId;
|
|
96
|
+
} elseif (array_key_exists('provider', $_SESSION)) {
|
|
97
|
+
$providerName = $_SESSION['provider'];
|
|
98
|
+
$clientId = $_SESSION['clientId'];
|
|
99
|
+
$clientSecret = $_SESSION['clientSecret'];
|
|
100
|
+
$tenantId = $_SESSION['tenantId'];
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
//If you don't want to use the built-in form, set your client id and secret here
|
|
104
|
+
//$clientId = 'RANDOMCHARS-----duv1n2.apps.googleusercontent.com';
|
|
105
|
+
//$clientSecret = 'RANDOMCHARS-----lGyjPcRtvP';
|
|
106
|
+
|
|
107
|
+
//If this automatic URL doesn't work, set it yourself manually to the URL of this script
|
|
108
|
+
$redirectUri = (isset($_SERVER['HTTPS']) ? 'https://' : 'http://') . $_SERVER['HTTP_HOST'] . $_SERVER['PHP_SELF'];
|
|
109
|
+
//$redirectUri = 'http://localhost/PHPMailer/redirect';
|
|
110
|
+
|
|
111
|
+
$params = [
|
|
112
|
+
'clientId' => $clientId,
|
|
113
|
+
'clientSecret' => $clientSecret,
|
|
114
|
+
'redirectUri' => $redirectUri,
|
|
115
|
+
'accessType' => 'offline'
|
|
116
|
+
];
|
|
117
|
+
|
|
118
|
+
$options = [];
|
|
119
|
+
$provider = null;
|
|
120
|
+
|
|
121
|
+
switch ($providerName) {
|
|
122
|
+
case 'Google':
|
|
123
|
+
$provider = new Google($params);
|
|
124
|
+
$options = [
|
|
125
|
+
'scope' => [
|
|
126
|
+
'https://mail.google.com/'
|
|
127
|
+
]
|
|
128
|
+
];
|
|
129
|
+
break;
|
|
130
|
+
case 'Yahoo':
|
|
131
|
+
$provider = new Yahoo($params);
|
|
132
|
+
break;
|
|
133
|
+
case 'Microsoft':
|
|
134
|
+
$provider = new Microsoft($params);
|
|
135
|
+
$options = [
|
|
136
|
+
'scope' => [
|
|
137
|
+
'wl.imap',
|
|
138
|
+
'wl.offline_access'
|
|
139
|
+
]
|
|
140
|
+
];
|
|
141
|
+
break;
|
|
142
|
+
case 'Azure':
|
|
143
|
+
$params['tenantId'] = $tenantId;
|
|
144
|
+
|
|
145
|
+
$provider = new Azure($params);
|
|
146
|
+
$options = [
|
|
147
|
+
'scope' => [
|
|
148
|
+
'https://outlook.office.com/SMTP.Send',
|
|
149
|
+
'offline_access'
|
|
150
|
+
]
|
|
151
|
+
];
|
|
152
|
+
break;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
if (null === $provider) {
|
|
156
|
+
exit('Provider missing');
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
if (!isset($_GET['code'])) {
|
|
160
|
+
//If we don't have an authorization code then get one
|
|
161
|
+
$authUrl = $provider->getAuthorizationUrl($options);
|
|
162
|
+
$_SESSION['oauth2state'] = $provider->getState();
|
|
163
|
+
header('Location: ' . $authUrl);
|
|
164
|
+
exit;
|
|
165
|
+
//Check given state against previously stored one to mitigate CSRF attack
|
|
166
|
+
} elseif (empty($_GET['state']) || ($_GET['state'] !== $_SESSION['oauth2state'])) {
|
|
167
|
+
unset($_SESSION['oauth2state']);
|
|
168
|
+
unset($_SESSION['provider']);
|
|
169
|
+
exit('Invalid state');
|
|
170
|
+
} else {
|
|
171
|
+
unset($_SESSION['provider']);
|
|
172
|
+
//Try to get an access token (using the authorization code grant)
|
|
173
|
+
$token = $provider->getAccessToken(
|
|
174
|
+
'authorization_code',
|
|
175
|
+
[
|
|
176
|
+
'code' => $_GET['code']
|
|
177
|
+
]
|
|
178
|
+
);
|
|
179
|
+
//Use this to interact with an API on the users behalf
|
|
180
|
+
//Use this to get a new access token if the old one expires
|
|
181
|
+
echo 'Refresh Token: ', htmlspecialchars($token->getRefreshToken(), ENT_QUOTES | ENT_SUBSTITUTE | ENT_HTML401);
|
|
182
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
<?php
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Afrikaans PHPMailer language file: refer to English translation for definitive list
|
|
5
|
+
* @package PHPMailer
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
$PHPMAILER_LANG['authenticate'] = 'SMTP-fout: kon nie geverifieer word nie.';
|
|
9
|
+
$PHPMAILER_LANG['connect_host'] = 'SMTP-fout: kon nie aan SMTP-verbind nie.';
|
|
10
|
+
$PHPMAILER_LANG['data_not_accepted'] = 'SMTP-fout: data nie aanvaar nie.';
|
|
11
|
+
$PHPMAILER_LANG['empty_message'] = 'Boodskapliggaam leeg.';
|
|
12
|
+
$PHPMAILER_LANG['encoding'] = 'Onbekende kodering: ';
|
|
13
|
+
$PHPMAILER_LANG['execute'] = 'Kon nie uitvoer nie: ';
|
|
14
|
+
$PHPMAILER_LANG['file_access'] = 'Kon nie lêer oopmaak nie: ';
|
|
15
|
+
$PHPMAILER_LANG['file_open'] = 'Lêerfout: Kon nie lêer oopmaak nie: ';
|
|
16
|
+
$PHPMAILER_LANG['from_failed'] = 'Die volgende Van adres misluk: ';
|
|
17
|
+
$PHPMAILER_LANG['instantiate'] = 'Kon nie posfunksie instansieer nie.';
|
|
18
|
+
$PHPMAILER_LANG['invalid_address'] = 'Ongeldige adres: ';
|
|
19
|
+
$PHPMAILER_LANG['mailer_not_supported'] = ' mailer word nie ondersteun nie.';
|
|
20
|
+
$PHPMAILER_LANG['provide_address'] = 'U moet ten minste een ontvanger e-pos adres verskaf.';
|
|
21
|
+
$PHPMAILER_LANG['recipients_failed'] = 'SMTP-fout: Die volgende ontvangers het misluk: ';
|
|
22
|
+
$PHPMAILER_LANG['signing'] = 'Ondertekening Fout: ';
|
|
23
|
+
$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP-verbinding () misluk.';
|
|
24
|
+
$PHPMAILER_LANG['smtp_error'] = 'SMTP-bediener fout: ';
|
|
25
|
+
$PHPMAILER_LANG['variable_set'] = 'Kan nie veranderlike instel of herstel nie: ';
|
|
26
|
+
$PHPMAILER_LANG['extension_missing'] = 'Uitbreiding ontbreek: ';
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
<?php
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Arabic PHPMailer language file: refer to English translation for definitive list
|
|
5
|
+
* @package PHPMailer
|
|
6
|
+
* @author bahjat al mostafa <bahjat983@hotmail.com>
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
$PHPMAILER_LANG['authenticate'] = 'خطأ SMTP : لا يمكن تأكيد الهوية.';
|
|
10
|
+
$PHPMAILER_LANG['connect_host'] = 'خطأ SMTP: لا يمكن الاتصال بالخادم SMTP.';
|
|
11
|
+
$PHPMAILER_LANG['data_not_accepted'] = 'خطأ SMTP: لم يتم قبول المعلومات .';
|
|
12
|
+
$PHPMAILER_LANG['empty_message'] = 'نص الرسالة فارغ';
|
|
13
|
+
$PHPMAILER_LANG['encoding'] = 'ترميز غير معروف: ';
|
|
14
|
+
$PHPMAILER_LANG['execute'] = 'لا يمكن تنفيذ : ';
|
|
15
|
+
$PHPMAILER_LANG['file_access'] = 'لا يمكن الوصول للملف: ';
|
|
16
|
+
$PHPMAILER_LANG['file_open'] = 'خطأ في الملف: لا يمكن فتحه: ';
|
|
17
|
+
$PHPMAILER_LANG['from_failed'] = 'خطأ على مستوى عنوان المرسل : ';
|
|
18
|
+
$PHPMAILER_LANG['instantiate'] = 'لا يمكن توفير خدمة البريد.';
|
|
19
|
+
$PHPMAILER_LANG['invalid_address'] = 'الإرسال غير ممكن لأن عنوان البريد الإلكتروني غير صالح: ';
|
|
20
|
+
$PHPMAILER_LANG['mailer_not_supported'] = ' برنامج الإرسال غير مدعوم.';
|
|
21
|
+
$PHPMAILER_LANG['provide_address'] = 'يجب توفير عنوان البريد الإلكتروني لمستلم واحد على الأقل.';
|
|
22
|
+
$PHPMAILER_LANG['recipients_failed'] = 'خطأ SMTP: الأخطاء التالية فشل في الارسال لكل من : ';
|
|
23
|
+
$PHPMAILER_LANG['signing'] = 'خطأ في التوقيع: ';
|
|
24
|
+
$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() غير ممكن.';
|
|
25
|
+
$PHPMAILER_LANG['smtp_error'] = 'خطأ على مستوى الخادم SMTP: ';
|
|
26
|
+
$PHPMAILER_LANG['variable_set'] = 'لا يمكن تعيين أو إعادة تعيين متغير: ';
|
|
27
|
+
$PHPMAILER_LANG['extension_missing'] = 'الإضافة غير موجودة: ';
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
<?php
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Assamese PHPMailer language file: refer to English translation for definitive list
|
|
5
|
+
* @package PHPMailer
|
|
6
|
+
* @author Manish Sarkar <manish.n.manish@gmail.com>
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
$PHPMAILER_LANG['authenticate'] = 'SMTP ত্ৰুটি: প্ৰমাণীকৰণ কৰিব নোৱাৰি';
|
|
10
|
+
$PHPMAILER_LANG['buggy_php'] = 'আপোনাৰ PHP সংস্কৰণ এটা বাগৰ দ্বাৰা প্ৰভাৱিত হয় যাৰ ফলত নষ্ট বাৰ্তা হব পাৰে । ইয়াক সমাধান কৰিবলে, প্ৰেৰণ কৰিবলে SMTP ব্যৱহাৰ কৰক, আপোনাৰ php.ini ত mail.add_x_header বিকল্প নিষ্ক্ৰিয় কৰক, MacOS বা Linux লৈ সলনি কৰক, বা আপোনাৰ PHP সংস্কৰণ 7.0.17+ বা 7.1.3+ লৈ সলনি কৰক ।';
|
|
11
|
+
$PHPMAILER_LANG['connect_host'] = 'SMTP ত্ৰুটি: SMTP চাৰ্ভাৰৰ সৈতে সংযোগ কৰিবলে অক্ষম';
|
|
12
|
+
$PHPMAILER_LANG['data_not_accepted'] = 'SMTP ত্ৰুটি: তথ্য গ্ৰহণ কৰা হোৱা নাই';
|
|
13
|
+
$PHPMAILER_LANG['empty_message'] = 'বাৰ্তাৰ মূখ্য অংশ খালী।';
|
|
14
|
+
$PHPMAILER_LANG['encoding'] = 'অজ্ঞাত এনকোডিং: ';
|
|
15
|
+
$PHPMAILER_LANG['execute'] = 'এক্সিকিউট কৰিব নোৱাৰি: ';
|
|
16
|
+
$PHPMAILER_LANG['extension_missing'] = 'সম্প্ৰসাৰণ নোহোৱা হৈছে: ';
|
|
17
|
+
$PHPMAILER_LANG['file_access'] = 'ফাইল অভিগম কৰিবলে অক্ষম: ';
|
|
18
|
+
$PHPMAILER_LANG['file_open'] = 'ফাইল ত্ৰুটি: ফাইল খোলিবলৈ অক্ষম: ';
|
|
19
|
+
$PHPMAILER_LANG['from_failed'] = 'নিম্নলিখিত প্ৰেৰকৰ ঠিকনা(সমূহ) ব্যৰ্থ: ';
|
|
20
|
+
$PHPMAILER_LANG['instantiate'] = 'মেইল ফাংচনৰ এটা উদাহৰণ সৃষ্টি কৰিবলে অক্ষম';
|
|
21
|
+
$PHPMAILER_LANG['invalid_address'] = 'প্ৰেৰণ কৰিব নোৱাৰি: অবৈধ ইমেইল ঠিকনা: ';
|
|
22
|
+
$PHPMAILER_LANG['invalid_header'] = 'অবৈধ হেডাৰৰ নাম বা মান';
|
|
23
|
+
$PHPMAILER_LANG['invalid_hostentry'] = 'অবৈধ হোষ্টেন্ট্ৰি: ';
|
|
24
|
+
$PHPMAILER_LANG['invalid_host'] = 'অবৈধ হস্ট:';
|
|
25
|
+
$PHPMAILER_LANG['mailer_not_supported'] = 'মেইলাৰ সমৰ্থিত নহয়।';
|
|
26
|
+
$PHPMAILER_LANG['provide_address'] = 'আপুনি অন্ততঃ এটা গন্তব্য ইমেইল ঠিকনা দিব লাগিব';
|
|
27
|
+
$PHPMAILER_LANG['recipients_failed'] = 'SMTP ত্ৰুটি: নিম্নলিখিত গন্তব্যস্থানসমূহ ব্যৰ্থ: ';
|
|
28
|
+
$PHPMAILER_LANG['signing'] = 'স্বাক্ষৰ কৰাত ব্যৰ্থ: ';
|
|
29
|
+
$PHPMAILER_LANG['smtp_code'] = 'SMTP কড: ';
|
|
30
|
+
$PHPMAILER_LANG['smtp_code_ex'] = 'অতিৰিক্ত SMTP তথ্য: ';
|
|
31
|
+
$PHPMAILER_LANG['smtp_detail'] = 'বিৱৰণ:';
|
|
32
|
+
$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP সংযোগ() ব্যৰ্থ';
|
|
33
|
+
$PHPMAILER_LANG['smtp_error'] = 'SMTP চাৰ্ভাৰৰ ত্ৰুটি: ';
|
|
34
|
+
$PHPMAILER_LANG['variable_set'] = 'চলক নিৰ্ধাৰণ কৰিব পৰা নগল: ';
|
|
35
|
+
$PHPMAILER_LANG['extension_missing'] = 'অনুপস্থিত সম্প্ৰসাৰণ: ';
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
<?php
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Azerbaijani PHPMailer language file: refer to English translation for definitive list
|
|
5
|
+
* @package PHPMailer
|
|
6
|
+
* @author @mirjalal
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
$PHPMAILER_LANG['authenticate'] = 'SMTP xətası: Giriş uğursuz oldu.';
|
|
10
|
+
$PHPMAILER_LANG['connect_host'] = 'SMTP xətası: SMTP serverinə qoşulma uğursuz oldu.';
|
|
11
|
+
$PHPMAILER_LANG['data_not_accepted'] = 'SMTP xətası: Verilənlər qəbul edilməyib.';
|
|
12
|
+
$PHPMAILER_LANG['empty_message'] = 'Boş mesaj göndərilə bilməz.';
|
|
13
|
+
$PHPMAILER_LANG['encoding'] = 'Qeyri-müəyyən kodlaşdırma: ';
|
|
14
|
+
$PHPMAILER_LANG['execute'] = 'Əmr yerinə yetirilmədi: ';
|
|
15
|
+
$PHPMAILER_LANG['file_access'] = 'Fayla giriş yoxdur: ';
|
|
16
|
+
$PHPMAILER_LANG['file_open'] = 'Fayl xətası: Fayl açıla bilmədi: ';
|
|
17
|
+
$PHPMAILER_LANG['from_failed'] = 'Göstərilən poçtlara göndərmə uğursuz oldu: ';
|
|
18
|
+
$PHPMAILER_LANG['instantiate'] = 'Mail funksiyası işə salına bilmədi.';
|
|
19
|
+
$PHPMAILER_LANG['invalid_address'] = 'Düzgün olmayan e-mail adresi: ';
|
|
20
|
+
$PHPMAILER_LANG['mailer_not_supported'] = ' - e-mail kitabxanası dəstəklənmir.';
|
|
21
|
+
$PHPMAILER_LANG['provide_address'] = 'Ən azı bir e-mail adresi daxil edilməlidir.';
|
|
22
|
+
$PHPMAILER_LANG['recipients_failed'] = 'SMTP xətası: Aşağıdakı ünvanlar üzrə alıcılara göndərmə uğursuzdur: ';
|
|
23
|
+
$PHPMAILER_LANG['signing'] = 'İmzalama xətası: ';
|
|
24
|
+
$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP serverinə qoşulma uğursuz oldu.';
|
|
25
|
+
$PHPMAILER_LANG['smtp_error'] = 'SMTP serveri xətası: ';
|
|
26
|
+
$PHPMAILER_LANG['variable_set'] = 'Dəyişənin quraşdırılması uğursuz oldu: ';
|
|
27
|
+
//$PHPMAILER_LANG['extension_missing'] = 'Extension missing: ';
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
<?php
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Bosnian PHPMailer language file: refer to English translation for definitive list
|
|
5
|
+
* @package PHPMailer
|
|
6
|
+
* @author Ermin Islamagić <ermin@islamagic.com>
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
$PHPMAILER_LANG['authenticate'] = 'SMTP Greška: Neuspjela prijava.';
|
|
10
|
+
$PHPMAILER_LANG['connect_host'] = 'SMTP Greška: Nije moguće spojiti se sa SMTP serverom.';
|
|
11
|
+
$PHPMAILER_LANG['data_not_accepted'] = 'SMTP Greška: Podatci nisu prihvaćeni.';
|
|
12
|
+
$PHPMAILER_LANG['empty_message'] = 'Sadržaj poruke je prazan.';
|
|
13
|
+
$PHPMAILER_LANG['encoding'] = 'Nepoznata kriptografija: ';
|
|
14
|
+
$PHPMAILER_LANG['execute'] = 'Nije moguće izvršiti naredbu: ';
|
|
15
|
+
$PHPMAILER_LANG['file_access'] = 'Nije moguće pristupiti datoteci: ';
|
|
16
|
+
$PHPMAILER_LANG['file_open'] = 'Nije moguće otvoriti datoteku: ';
|
|
17
|
+
$PHPMAILER_LANG['from_failed'] = 'SMTP Greška: Slanje sa navedenih e-mail adresa nije uspjelo: ';
|
|
18
|
+
$PHPMAILER_LANG['recipients_failed'] = 'SMTP Greška: Slanje na navedene e-mail adrese nije uspjelo: ';
|
|
19
|
+
$PHPMAILER_LANG['instantiate'] = 'Ne mogu pokrenuti mail funkcionalnost.';
|
|
20
|
+
$PHPMAILER_LANG['invalid_address'] = 'E-mail nije poslan. Neispravna e-mail adresa: ';
|
|
21
|
+
$PHPMAILER_LANG['mailer_not_supported'] = ' mailer nije podržan.';
|
|
22
|
+
$PHPMAILER_LANG['provide_address'] = 'Definišite barem jednu adresu primaoca.';
|
|
23
|
+
$PHPMAILER_LANG['signing'] = 'Greška prilikom prijave: ';
|
|
24
|
+
$PHPMAILER_LANG['smtp_connect_failed'] = 'Spajanje na SMTP server nije uspjelo.';
|
|
25
|
+
$PHPMAILER_LANG['smtp_error'] = 'SMTP greška: ';
|
|
26
|
+
$PHPMAILER_LANG['variable_set'] = 'Nije moguće postaviti varijablu ili je vratiti nazad: ';
|
|
27
|
+
$PHPMAILER_LANG['extension_missing'] = 'Nedostaje ekstenzija: ';
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
<?php
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Belarusian PHPMailer language file: refer to English translation for definitive list
|
|
5
|
+
* @package PHPMailer
|
|
6
|
+
* @author Aleksander Maksymiuk <info@setpro.pl>
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
$PHPMAILER_LANG['authenticate'] = 'Памылка SMTP: памылка ідэнтыфікацыі.';
|
|
10
|
+
$PHPMAILER_LANG['connect_host'] = 'Памылка SMTP: нельга ўстанавіць сувязь з SMTP-серверам.';
|
|
11
|
+
$PHPMAILER_LANG['data_not_accepted'] = 'Памылка SMTP: звесткі непрынятыя.';
|
|
12
|
+
$PHPMAILER_LANG['empty_message'] = 'Пустое паведамленне.';
|
|
13
|
+
$PHPMAILER_LANG['encoding'] = 'Невядомая кадыроўка тэксту: ';
|
|
14
|
+
$PHPMAILER_LANG['execute'] = 'Нельга выканаць каманду: ';
|
|
15
|
+
$PHPMAILER_LANG['file_access'] = 'Няма доступу да файла: ';
|
|
16
|
+
$PHPMAILER_LANG['file_open'] = 'Нельга адкрыць файл: ';
|
|
17
|
+
$PHPMAILER_LANG['from_failed'] = 'Няправільны адрас адпраўніка: ';
|
|
18
|
+
$PHPMAILER_LANG['instantiate'] = 'Нельга прымяніць функцыю mail().';
|
|
19
|
+
$PHPMAILER_LANG['invalid_address'] = 'Нельга даслаць паведамленне, няправільны email атрымальніка: ';
|
|
20
|
+
$PHPMAILER_LANG['provide_address'] = 'Запоўніце, калі ласка, правільны email атрымальніка.';
|
|
21
|
+
$PHPMAILER_LANG['mailer_not_supported'] = ' - паштовы сервер не падтрымліваецца.';
|
|
22
|
+
$PHPMAILER_LANG['recipients_failed'] = 'Памылка SMTP: няправільныя атрымальнікі: ';
|
|
23
|
+
$PHPMAILER_LANG['signing'] = 'Памылка подпісу паведамлення: ';
|
|
24
|
+
$PHPMAILER_LANG['smtp_connect_failed'] = 'Памылка сувязі з SMTP-серверам.';
|
|
25
|
+
$PHPMAILER_LANG['smtp_error'] = 'Памылка SMTP: ';
|
|
26
|
+
$PHPMAILER_LANG['variable_set'] = 'Нельга ўстанавіць або перамяніць значэнне пераменнай: ';
|
|
27
|
+
//$PHPMAILER_LANG['extension_missing'] = 'Extension missing: ';
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
<?php
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Bulgarian PHPMailer language file: refer to English translation for definitive list
|
|
5
|
+
* @package PHPMailer
|
|
6
|
+
* @author Mikhail Kyosev <mialygk@gmail.com>
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
$PHPMAILER_LANG['authenticate'] = 'SMTP грешка: Не може да се удостовери пред сървъра.';
|
|
10
|
+
$PHPMAILER_LANG['connect_host'] = 'SMTP грешка: Не може да се свърже с SMTP хоста.';
|
|
11
|
+
$PHPMAILER_LANG['data_not_accepted'] = 'SMTP грешка: данните не са приети.';
|
|
12
|
+
$PHPMAILER_LANG['empty_message'] = 'Съдържанието на съобщението е празно';
|
|
13
|
+
$PHPMAILER_LANG['encoding'] = 'Неизвестно кодиране: ';
|
|
14
|
+
$PHPMAILER_LANG['execute'] = 'Не може да се изпълни: ';
|
|
15
|
+
$PHPMAILER_LANG['file_access'] = 'Няма достъп до файл: ';
|
|
16
|
+
$PHPMAILER_LANG['file_open'] = 'Файлова грешка: Не може да се отвори файл: ';
|
|
17
|
+
$PHPMAILER_LANG['from_failed'] = 'Следните адреси за подател са невалидни: ';
|
|
18
|
+
$PHPMAILER_LANG['instantiate'] = 'Не може да се инстанцира функцията mail.';
|
|
19
|
+
$PHPMAILER_LANG['invalid_address'] = 'Невалиден адрес: ';
|
|
20
|
+
$PHPMAILER_LANG['mailer_not_supported'] = ' - пощенски сървър не се поддържа.';
|
|
21
|
+
$PHPMAILER_LANG['provide_address'] = 'Трябва да предоставите поне един email адрес за получател.';
|
|
22
|
+
$PHPMAILER_LANG['recipients_failed'] = 'SMTP грешка: Следните адреси за Получател са невалидни: ';
|
|
23
|
+
$PHPMAILER_LANG['signing'] = 'Грешка при подписване: ';
|
|
24
|
+
$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP провален connect().';
|
|
25
|
+
$PHPMAILER_LANG['smtp_error'] = 'SMTP сървърна грешка: ';
|
|
26
|
+
$PHPMAILER_LANG['variable_set'] = 'Не може да се установи или възстанови променлива: ';
|
|
27
|
+
$PHPMAILER_LANG['extension_missing'] = 'Липсва разширение: ';
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
<?php
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Bengali PHPMailer language file: refer to English translation for definitive list
|
|
5
|
+
* @package PHPMailer
|
|
6
|
+
* @author Manish Sarkar <manish.n.manish@gmail.com>
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
$PHPMAILER_LANG['authenticate'] = 'SMTP ত্রুটি: প্রমাণীকরণ করতে অক্ষম৷';
|
|
10
|
+
$PHPMAILER_LANG['buggy_php'] = 'আপনার PHP সংস্করণ একটি বাগ দ্বারা প্রভাবিত হয় যার ফলে দূষিত বার্তা হতে পারে। এটি ঠিক করতে, পাঠাতে SMTP ব্যবহার করুন, আপনার php.ini এ mail.add_x_header বিকল্পটি নিষ্ক্রিয় করুন, MacOS বা Linux-এ স্যুইচ করুন, অথবা আপনার PHP সংস্করণকে 7.0.17+ বা 7.1.3+ এ পরিবর্তন করুন।';
|
|
11
|
+
$PHPMAILER_LANG['connect_host'] = 'SMTP ত্রুটি: SMTP সার্ভারের সাথে সংযোগ করতে অক্ষম৷';
|
|
12
|
+
$PHPMAILER_LANG['data_not_accepted'] = 'SMTP ত্রুটি: ডেটা গ্রহণ করা হয়নি৷';
|
|
13
|
+
$PHPMAILER_LANG['empty_message'] = 'বার্তার অংশটি খালি।';
|
|
14
|
+
$PHPMAILER_LANG['encoding'] = 'অজানা এনকোডিং: ';
|
|
15
|
+
$PHPMAILER_LANG['execute'] = 'নির্বাহ করতে অক্ষম: ';
|
|
16
|
+
$PHPMAILER_LANG['extension_missing'] = 'এক্সটেনশন অনুপস্থিত:';
|
|
17
|
+
$PHPMAILER_LANG['file_access'] = 'ফাইল অ্যাক্সেস করতে অক্ষম: ';
|
|
18
|
+
$PHPMAILER_LANG['file_open'] = 'ফাইল ত্রুটি: ফাইল খুলতে অক্ষম: ';
|
|
19
|
+
$PHPMAILER_LANG['from_failed'] = 'নিম্নলিখিত প্রেরকের ঠিকানা(গুলি) ব্যর্থ হয়েছে: ';
|
|
20
|
+
$PHPMAILER_LANG['instantiate'] = 'মেল ফাংশনের একটি উদাহরণ তৈরি করতে অক্ষম৷';
|
|
21
|
+
$PHPMAILER_LANG['invalid_address'] = 'পাঠাতে অক্ষম: অবৈধ ইমেল ঠিকানা: ';
|
|
22
|
+
$PHPMAILER_LANG['invalid_header'] = 'অবৈধ হেডার নাম বা মান';
|
|
23
|
+
$PHPMAILER_LANG['invalid_hostentry'] = 'অবৈধ হোস্টেন্ট্রি: ';
|
|
24
|
+
$PHPMAILER_LANG['invalid_host'] = 'অবৈধ হোস্ট:';
|
|
25
|
+
$PHPMAILER_LANG['mailer_not_supported'] = 'মেইলার সমর্থিত নয়।';
|
|
26
|
+
$PHPMAILER_LANG['provide_address'] = 'আপনাকে অবশ্যই অন্তত একটি গন্তব্য ইমেল ঠিকানা প্রদান করতে হবে৷';
|
|
27
|
+
$PHPMAILER_LANG['recipients_failed'] = 'SMTP ত্রুটি: নিম্নলিখিত গন্তব্যগুলি ব্যর্থ হয়েছে: ';
|
|
28
|
+
$PHPMAILER_LANG['signing'] = 'স্বাক্ষর করতে ব্যর্থ হয়েছে: ';
|
|
29
|
+
$PHPMAILER_LANG['smtp_code'] = 'SMTP কোড: ';
|
|
30
|
+
$PHPMAILER_LANG['smtp_code_ex'] = 'অতিরিক্ত SMTP তথ্য:';
|
|
31
|
+
$PHPMAILER_LANG['smtp_detail'] = 'বর্ণনা: ';
|
|
32
|
+
$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP সংযোগ() ব্যর্থ হয়েছে৷';
|
|
33
|
+
$PHPMAILER_LANG['smtp_error'] = 'SMTP সার্ভার ত্রুটি: ';
|
|
34
|
+
$PHPMAILER_LANG['variable_set'] = 'পরিবর্তনশীল সেট করা যায়নি: ';
|
|
35
|
+
$PHPMAILER_LANG['extension_missing'] = 'অনুপস্থিত এক্সটেনশন: ';
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
<?php
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Catalan PHPMailer language file: refer to English translation for definitive list
|
|
5
|
+
* @package PHPMailer
|
|
6
|
+
* @author Ivan <web AT microstudi DOT com>
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
$PHPMAILER_LANG['authenticate'] = 'Error SMTP: No s’ha pogut autenticar.';
|
|
10
|
+
$PHPMAILER_LANG['connect_host'] = 'Error SMTP: No es pot connectar al servidor SMTP.';
|
|
11
|
+
$PHPMAILER_LANG['data_not_accepted'] = 'Error SMTP: Dades no acceptades.';
|
|
12
|
+
$PHPMAILER_LANG['empty_message'] = 'El cos del missatge està buit.';
|
|
13
|
+
$PHPMAILER_LANG['encoding'] = 'Codificació desconeguda: ';
|
|
14
|
+
$PHPMAILER_LANG['execute'] = 'No es pot executar: ';
|
|
15
|
+
$PHPMAILER_LANG['file_access'] = 'No es pot accedir a l’arxiu: ';
|
|
16
|
+
$PHPMAILER_LANG['file_open'] = 'Error d’Arxiu: No es pot obrir l’arxiu: ';
|
|
17
|
+
$PHPMAILER_LANG['from_failed'] = 'La(s) següent(s) adreces de remitent han fallat: ';
|
|
18
|
+
$PHPMAILER_LANG['instantiate'] = 'No s’ha pogut crear una instància de la funció Mail.';
|
|
19
|
+
$PHPMAILER_LANG['invalid_address'] = 'Adreça d’email invalida: ';
|
|
20
|
+
$PHPMAILER_LANG['mailer_not_supported'] = ' mailer no està suportat';
|
|
21
|
+
$PHPMAILER_LANG['provide_address'] = 'S’ha de proveir almenys una adreça d’email com a destinatari.';
|
|
22
|
+
$PHPMAILER_LANG['recipients_failed'] = 'Error SMTP: Els següents destinataris han fallat: ';
|
|
23
|
+
$PHPMAILER_LANG['signing'] = 'Error al signar: ';
|
|
24
|
+
$PHPMAILER_LANG['smtp_connect_failed'] = 'Ha fallat el SMTP Connect().';
|
|
25
|
+
$PHPMAILER_LANG['smtp_error'] = 'Error del servidor SMTP: ';
|
|
26
|
+
$PHPMAILER_LANG['variable_set'] = 'No s’ha pogut establir o restablir la variable: ';
|
|
27
|
+
//$PHPMAILER_LANG['extension_missing'] = 'Extension missing: ';
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
<?php
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Czech PHPMailer language file: refer to English translation for definitive list
|
|
5
|
+
* @package PHPMailer
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
$PHPMAILER_LANG['authenticate'] = 'Chyba SMTP: Autentizace selhala.';
|
|
9
|
+
$PHPMAILER_LANG['connect_host'] = 'Chyba SMTP: Nelze navázat spojení se SMTP serverem.';
|
|
10
|
+
$PHPMAILER_LANG['data_not_accepted'] = 'Chyba SMTP: Data nebyla přijata.';
|
|
11
|
+
$PHPMAILER_LANG['empty_message'] = 'Prázdné tělo zprávy';
|
|
12
|
+
$PHPMAILER_LANG['encoding'] = 'Neznámé kódování: ';
|
|
13
|
+
$PHPMAILER_LANG['execute'] = 'Nelze provést: ';
|
|
14
|
+
$PHPMAILER_LANG['file_access'] = 'Nelze získat přístup k souboru: ';
|
|
15
|
+
$PHPMAILER_LANG['file_open'] = 'Chyba souboru: Nelze otevřít soubor pro čtení: ';
|
|
16
|
+
$PHPMAILER_LANG['from_failed'] = 'Následující adresa odesílatele je nesprávná: ';
|
|
17
|
+
$PHPMAILER_LANG['instantiate'] = 'Nelze vytvořit instanci emailové funkce.';
|
|
18
|
+
$PHPMAILER_LANG['invalid_address'] = 'Neplatná adresa: ';
|
|
19
|
+
$PHPMAILER_LANG['invalid_hostentry'] = 'Záznam hostitele je nesprávný: ';
|
|
20
|
+
$PHPMAILER_LANG['invalid_host'] = 'Hostitel je nesprávný: ';
|
|
21
|
+
$PHPMAILER_LANG['mailer_not_supported'] = ' mailer není podporován.';
|
|
22
|
+
$PHPMAILER_LANG['provide_address'] = 'Musíte zadat alespoň jednu emailovou adresu příjemce.';
|
|
23
|
+
$PHPMAILER_LANG['recipients_failed'] = 'Chyba SMTP: Následující adresy příjemců nejsou správně: ';
|
|
24
|
+
$PHPMAILER_LANG['signing'] = 'Chyba přihlašování: ';
|
|
25
|
+
$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() selhal.';
|
|
26
|
+
$PHPMAILER_LANG['smtp_error'] = 'Chyba SMTP serveru: ';
|
|
27
|
+
$PHPMAILER_LANG['variable_set'] = 'Nelze nastavit nebo změnit proměnnou: ';
|
|
28
|
+
$PHPMAILER_LANG['extension_missing'] = 'Chybí rozšíření: ';
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
<?php
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Danish PHPMailer language file: refer to English translation for definitive list
|
|
5
|
+
* @package PHPMailer
|
|
6
|
+
* @author John Sebastian <jms@iwb.dk>
|
|
7
|
+
* Rewrite and extension of the work by Mikael Stokkebro <info@stokkebro.dk>
|
|
8
|
+
*
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
$PHPMAILER_LANG['authenticate'] = 'SMTP fejl: Login mislykkedes.';
|
|
12
|
+
$PHPMAILER_LANG['buggy_php'] = 'Din version af PHP er berørt af en fejl, som gør at dine beskeder muligvis vises forkert. For at rette dette kan du skifte til SMTP, slå mail.add_x_header headeren i din php.ini fil fra, skifte til MacOS eller Linux eller opgradere din version af PHP til 7.0.17+ eller 7.1.3+.';
|
|
13
|
+
$PHPMAILER_LANG['connect_host'] = 'SMTP fejl: Forbindelse til SMTP serveren kunne ikke oprettes.';
|
|
14
|
+
$PHPMAILER_LANG['data_not_accepted'] = 'SMTP fejl: Data blev ikke accepteret.';
|
|
15
|
+
$PHPMAILER_LANG['empty_message'] = 'Meddelelsen er uden indhold';
|
|
16
|
+
$PHPMAILER_LANG['encoding'] = 'Ukendt encode-format: ';
|
|
17
|
+
$PHPMAILER_LANG['execute'] = 'Kunne ikke afvikle: ';
|
|
18
|
+
$PHPMAILER_LANG['extension_missing'] = 'Udvidelse mangler: ';
|
|
19
|
+
$PHPMAILER_LANG['file_access'] = 'Kunne ikke tilgå filen: ';
|
|
20
|
+
$PHPMAILER_LANG['file_open'] = 'Fil fejl: Kunne ikke åbne filen: ';
|
|
21
|
+
$PHPMAILER_LANG['from_failed'] = 'Følgende afsenderadresse er forkert: ';
|
|
22
|
+
$PHPMAILER_LANG['instantiate'] = 'Email funktionen kunne ikke initialiseres.';
|
|
23
|
+
$PHPMAILER_LANG['invalid_address'] = 'Udgyldig adresse: ';
|
|
24
|
+
$PHPMAILER_LANG['invalid_header'] = 'Ugyldig header navn eller værdi';
|
|
25
|
+
$PHPMAILER_LANG['invalid_hostentry'] = 'Ugyldig hostentry: ';
|
|
26
|
+
$PHPMAILER_LANG['invalid_host'] = 'Ugyldig vært: ';
|
|
27
|
+
$PHPMAILER_LANG['mailer_not_supported'] = ' mailer understøttes ikke.';
|
|
28
|
+
$PHPMAILER_LANG['provide_address'] = 'Indtast mindst en modtagers email adresse.';
|
|
29
|
+
$PHPMAILER_LANG['recipients_failed'] = 'SMTP fejl: Følgende modtagere fejlede: ';
|
|
30
|
+
$PHPMAILER_LANG['signing'] = 'Signeringsfejl: ';
|
|
31
|
+
$PHPMAILER_LANG['smtp_code'] = 'SMTP kode: ';
|
|
32
|
+
$PHPMAILER_LANG['smtp_code_ex'] = 'Yderligere SMTP info: ';
|
|
33
|
+
$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() fejlede.';
|
|
34
|
+
$PHPMAILER_LANG['smtp_detail'] = 'Detalje: ';
|
|
35
|
+
$PHPMAILER_LANG['smtp_error'] = 'SMTP server fejl: ';
|
|
36
|
+
$PHPMAILER_LANG['variable_set'] = 'Kunne ikke definere eller nulstille variablen: ';
|
|
37
|
+
$PHPMAILER_LANG['no_smtputf8'] = 'Serveren understøtter ikke SMTPUTF8 som påkrævet for at sende til Unicode adresser';
|
|
38
|
+
$PHPMAILER_LANG['imap_recommended'] = 'Brug af forenklet adresseparser anbefales ikke. Installer PHP IMAP udvidelsen for fuld RFC822 parsing.';
|
|
39
|
+
$PHPMAILER_LANG['deprecated_argument'] = 'Udfaset argument: ';
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
<?php
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* German PHPMailer language file: refer to English translation for definitive list
|
|
5
|
+
* @package PHPMailer
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
$PHPMAILER_LANG['authenticate'] = 'SMTP-Fehler: Authentifizierung fehlgeschlagen.';
|
|
9
|
+
$PHPMAILER_LANG['connect_host'] = 'SMTP-Fehler: Konnte keine Verbindung zum SMTP-Host herstellen.';
|
|
10
|
+
$PHPMAILER_LANG['data_not_accepted'] = 'SMTP-Fehler: Daten werden nicht akzeptiert.';
|
|
11
|
+
$PHPMAILER_LANG['empty_message'] = 'E-Mail-Inhalt ist leer.';
|
|
12
|
+
$PHPMAILER_LANG['encoding'] = 'Unbekannte Kodierung: ';
|
|
13
|
+
$PHPMAILER_LANG['execute'] = 'Konnte folgenden Befehl nicht ausführen: ';
|
|
14
|
+
$PHPMAILER_LANG['file_access'] = 'Zugriff auf folgende Datei fehlgeschlagen: ';
|
|
15
|
+
$PHPMAILER_LANG['file_open'] = 'Dateifehler: Konnte folgende Datei nicht öffnen: ';
|
|
16
|
+
$PHPMAILER_LANG['from_failed'] = 'Die folgende Absenderadresse ist nicht korrekt: ';
|
|
17
|
+
$PHPMAILER_LANG['instantiate'] = 'Mail-Funktion konnte nicht initialisiert werden.';
|
|
18
|
+
$PHPMAILER_LANG['invalid_address'] = 'Die Adresse ist ungültig: ';
|
|
19
|
+
$PHPMAILER_LANG['invalid_hostentry'] = 'Ungültiger Hosteintrag: ';
|
|
20
|
+
$PHPMAILER_LANG['invalid_host'] = 'Ungültiger Host: ';
|
|
21
|
+
$PHPMAILER_LANG['mailer_not_supported'] = ' mailer wird nicht unterstützt.';
|
|
22
|
+
$PHPMAILER_LANG['provide_address'] = 'Bitte geben Sie mindestens eine Empfängeradresse an.';
|
|
23
|
+
$PHPMAILER_LANG['recipients_failed'] = 'SMTP-Fehler: Die folgenden Empfänger sind nicht korrekt: ';
|
|
24
|
+
$PHPMAILER_LANG['signing'] = 'Fehler beim Signieren: ';
|
|
25
|
+
$PHPMAILER_LANG['smtp_connect_failed'] = 'Verbindung zum SMTP-Server fehlgeschlagen.';
|
|
26
|
+
$PHPMAILER_LANG['smtp_error'] = 'Fehler vom SMTP-Server: ';
|
|
27
|
+
$PHPMAILER_LANG['variable_set'] = 'Kann Variable nicht setzen oder zurücksetzen: ';
|
|
28
|
+
$PHPMAILER_LANG['extension_missing'] = 'Fehlende Erweiterung: ';
|