Permalink
Browse files

New email notifications for NEMS 1.5

  • Loading branch information...
NEMS Linux
NEMS Linux committed Oct 29, 2018
1 parent 02c0937 commit 516ad30b418c79768193c3acb57ec95dd1abcdfc
Showing with 15,761 additions and 0 deletions.
  1. +6 −0 data/1.5/PHPMailer/.gitignore
  2. +132 −0 data/1.5/PHPMailer/.scrutinizer.yml
  3. +35 −0 data/1.5/PHPMailer/.travis.yml
  4. +504 −0 data/1.5/PHPMailer/LICENSE
  5. +49 −0 data/1.5/PHPMailer/PHPMailerAutoload.php
  6. +165 −0 data/1.5/PHPMailer/README.md
  7. +1 −0 data/1.5/PHPMailer/VERSION
  8. +585 −0 data/1.5/PHPMailer/changelog.md
  9. +3,552 −0 data/1.5/PHPMailer/class.phpmailer.php
  10. +397 −0 data/1.5/PHPMailer/class.pop3.php
  11. +1,152 −0 data/1.5/PHPMailer/class.smtp.php
  12. +33 −0 data/1.5/PHPMailer/composer.json
  13. +17 −0 data/1.5/PHPMailer/docs/Callback_function_notes.txt
  14. +55 −0 data/1.5/PHPMailer/docs/DomainKeys_notes.txt
  15. +17 −0 data/1.5/PHPMailer/docs/Note_for_SMTP_debugging.txt
  16. +129 −0 data/1.5/PHPMailer/docs/extending.html
  17. +28 −0 data/1.5/PHPMailer/docs/faq.html
  18. +8 −0 data/1.5/PHPMailer/docs/generatedocs.sh
  19. +50 −0 data/1.5/PHPMailer/docs/pop3_article.txt
  20. +597 −0 data/1.5/PHPMailer/examples/code_generator.phps
  21. +17 −0 data/1.5/PHPMailer/examples/contents.html
  22. +35 −0 data/1.5/PHPMailer/examples/exceptions.phps
  23. +72 −0 data/1.5/PHPMailer/examples/gmail.phps
  24. BIN data/1.5/PHPMailer/examples/images/phpmailer.png
  25. BIN data/1.5/PHPMailer/examples/images/phpmailer_mini.png
  26. +48 −0 data/1.5/PHPMailer/examples/index.html
  27. +31 −0 data/1.5/PHPMailer/examples/mail.phps
  28. +59 −0 data/1.5/PHPMailer/examples/mailing_list.phps
  29. +54 −0 data/1.5/PHPMailer/examples/pop_before_smtp.phps
  30. +664 −0 data/1.5/PHPMailer/examples/scripts/XRegExp.js
  31. +122 −0 data/1.5/PHPMailer/examples/scripts/shAutoloader.js
  32. +72 −0 data/1.5/PHPMailer/examples/scripts/shBrushPhp.js
  33. +1 −0 data/1.5/PHPMailer/examples/scripts/shCore.js
  34. +141 −0 data/1.5/PHPMailer/examples/scripts/shLegacy.js
  35. +49 −0 data/1.5/PHPMailer/examples/send_file_upload.phps
  36. +33 −0 data/1.5/PHPMailer/examples/sendmail.phps
  37. +54 −0 data/1.5/PHPMailer/examples/smtp.phps
  38. +40 −0 data/1.5/PHPMailer/examples/smtp_check.phps
  39. +50 −0 data/1.5/PHPMailer/examples/smtp_no_auth.phps
  40. +46 −0 data/1.5/PHPMailer/examples/styles/shCore.css
  41. +77 −0 data/1.5/PHPMailer/examples/styles/shCoreDefault.css
  42. +78 −0 data/1.5/PHPMailer/examples/styles/shCoreDjango.css
  43. +80 −0 data/1.5/PHPMailer/examples/styles/shCoreEclipse.css
  44. +76 −0 data/1.5/PHPMailer/examples/styles/shCoreEmacs.css
  45. +77 −0 data/1.5/PHPMailer/examples/styles/shCoreFadeToGrey.css
  46. +76 −0 data/1.5/PHPMailer/examples/styles/shCoreMDUltra.css
  47. +76 −0 data/1.5/PHPMailer/examples/styles/shCoreMidnight.css
  48. +76 −0 data/1.5/PHPMailer/examples/styles/shCoreRDark.css
  49. +21 −0 data/1.5/PHPMailer/examples/styles/shThemeAppleScript.css
  50. +31 −0 data/1.5/PHPMailer/examples/styles/shThemeDefault.css
  51. +32 −0 data/1.5/PHPMailer/examples/styles/shThemeDjango.css
  52. +34 −0 data/1.5/PHPMailer/examples/styles/shThemeEclipse.css
  53. +30 −0 data/1.5/PHPMailer/examples/styles/shThemeEmacs.css
  54. +31 −0 data/1.5/PHPMailer/examples/styles/shThemeFadeToGrey.css
  55. +30 −0 data/1.5/PHPMailer/examples/styles/shThemeMDUltra.css
  56. +30 −0 data/1.5/PHPMailer/examples/styles/shThemeMidnight.css
  57. +30 −0 data/1.5/PHPMailer/examples/styles/shThemeRDark.css
  58. +31 −0 data/1.5/PHPMailer/examples/styles/shThemeVisualStudio.css
  59. BIN data/1.5/PHPMailer/examples/styles/wrapping.png
  60. +148 −0 data/1.5/PHPMailer/extras/EasyPeasyICS.php
  61. +17 −0 data/1.5/PHPMailer/extras/README.md
  62. +1,166 −0 data/1.5/PHPMailer/extras/htmlfilter.php
  63. +185 −0 data/1.5/PHPMailer/extras/ntlm_sasl_client.php
  64. +26 −0 data/1.5/PHPMailer/language/phpmailer.lang-am.php
  65. +27 −0 data/1.5/PHPMailer/language/phpmailer.lang-ar.php
  66. +26 −0 data/1.5/PHPMailer/language/phpmailer.lang-az.php
  67. +26 −0 data/1.5/PHPMailer/language/phpmailer.lang-be.php
  68. +26 −0 data/1.5/PHPMailer/language/phpmailer.lang-bg.php
  69. +27 −0 data/1.5/PHPMailer/language/phpmailer.lang-br.php
  70. +26 −0 data/1.5/PHPMailer/language/phpmailer.lang-ca.php
  71. +26 −0 data/1.5/PHPMailer/language/phpmailer.lang-ch.php
  72. +25 −0 data/1.5/PHPMailer/language/phpmailer.lang-cz.php
  73. +25 −0 data/1.5/PHPMailer/language/phpmailer.lang-de.php
  74. +26 −0 data/1.5/PHPMailer/language/phpmailer.lang-dk.php
  75. +25 −0 data/1.5/PHPMailer/language/phpmailer.lang-el.php
  76. +25 −0 data/1.5/PHPMailer/language/phpmailer.lang-eo.php
  77. +26 −0 data/1.5/PHPMailer/language/phpmailer.lang-es.php
  78. +27 −0 data/1.5/PHPMailer/language/phpmailer.lang-et.php
  79. +27 −0 data/1.5/PHPMailer/language/phpmailer.lang-fa.php
  80. +27 −0 data/1.5/PHPMailer/language/phpmailer.lang-fi.php
  81. +26 −0 data/1.5/PHPMailer/language/phpmailer.lang-fo.php
  82. +29 −0 data/1.5/PHPMailer/language/phpmailer.lang-fr.php
  83. +27 −0 data/1.5/PHPMailer/language/phpmailer.lang-gl.php
  84. +25 −0 data/1.5/PHPMailer/language/phpmailer.lang-he.php
  85. +26 −0 data/1.5/PHPMailer/language/phpmailer.lang-hr.php
  86. +26 −0 data/1.5/PHPMailer/language/phpmailer.lang-hu.php
  87. +26 −0 data/1.5/PHPMailer/language/phpmailer.lang-id.php
  88. +27 −0 data/1.5/PHPMailer/language/phpmailer.lang-it.php
  89. +27 −0 data/1.5/PHPMailer/language/phpmailer.lang-ja.php
  90. +26 −0 data/1.5/PHPMailer/language/phpmailer.lang-ka.php
  91. +26 −0 data/1.5/PHPMailer/language/phpmailer.lang-lt.php
  92. +26 −0 data/1.5/PHPMailer/language/phpmailer.lang-lv.php
  93. +26 −0 data/1.5/PHPMailer/language/phpmailer.lang-ms.php
  94. +26 −0 data/1.5/PHPMailer/language/phpmailer.lang-nl.php
  95. +25 −0 data/1.5/PHPMailer/language/phpmailer.lang-no.php
  96. +26 −0 data/1.5/PHPMailer/language/phpmailer.lang-pl.php
  97. +26 −0 data/1.5/PHPMailer/language/phpmailer.lang-pt.php
  98. +26 −0 data/1.5/PHPMailer/language/phpmailer.lang-ro.php
  99. +26 −0 data/1.5/PHPMailer/language/phpmailer.lang-ru.php
  100. +26 −0 data/1.5/PHPMailer/language/phpmailer.lang-se.php
  101. +26 −0 data/1.5/PHPMailer/language/phpmailer.lang-sk.php
  102. +26 −0 data/1.5/PHPMailer/language/phpmailer.lang-sl.php
  103. +26 −0 data/1.5/PHPMailer/language/phpmailer.lang-sr.php
  104. +29 −0 data/1.5/PHPMailer/language/phpmailer.lang-tr.php
  105. +26 −0 data/1.5/PHPMailer/language/phpmailer.lang-uk.php
  106. +26 −0 data/1.5/PHPMailer/language/phpmailer.lang-vi.php
  107. +27 −0 data/1.5/PHPMailer/language/phpmailer.lang-zh.php
  108. +27 −0 data/1.5/PHPMailer/language/phpmailer.lang-zh_cn.php
  109. +5 −0 data/1.5/PHPMailer/test/bootstrap.php
  110. +125 −0 data/1.5/PHPMailer/test/fakepopserver.sh
  111. +22 −0 data/1.5/PHPMailer/test/fakesendmail.sh
  112. +76 −0 data/1.5/PHPMailer/test/phpmailerLangTest.php
  113. +1,649 −0 data/1.5/PHPMailer/test/phpmailerTest.php
  114. +10 −0 data/1.5/PHPMailer/test/runfakepopserver.sh
  115. +81 −0 data/1.5/PHPMailer/test/test_callback.php
  116. +7 −0 data/1.5/PHPMailer/test/testbootstrap-dist.php
  117. +35 −0 data/1.5/PHPMailer/travis.phpunit.xml.dist
  118. +512 −0 data/1.5/nagios/plugins/nems_sendmail_host
  119. +527 −0 data/1.5/nagios/plugins/nems_sendmail_service
@@ -0,0 +1,6 @@
docs/phpdoc/
test/message.txt
test/testbootstrap.php
test/*.pem
.idea
build/
@@ -0,0 +1,132 @@
build:
environment:
php: '5.6.0'
before_commands:
- "composer install --prefer-source"
tools:
external_code_coverage:
enabled: true
timeout: 300
filter:
excluded_paths:
- 'docs/*'
- 'examples/*'
- 'extras/*'
- 'test/*'
- 'vendor/*'
php_code_coverage:
enabled: false
filter:
excluded_paths:
- 'docs/*'
- 'examples/*'
- 'extras/*'
- 'test/*'
- 'vendor/*'
php_code_sniffer:
enabled: true
config:
standard: PSR2
sniffs:
generic:
files:
one_class_per_file_sniff: false
filter:
excluded_paths:
- 'docs/*'
- 'examples/*'
- 'extras/*'
- 'test/*'
- 'vendor/*'
# Copy/Paste Detector
php_cpd:
enabled: true
excluded_dirs:
- docs
- examples
- extras
- test
- vendor
# PHP CS Fixer (http://http://cs.sensiolabs.org/).
php_cs_fixer:
enabled: true
config:
level: psr2
filter:
excluded_paths:
- 'docs/*'
- 'examples/*'
- 'extras/*'
- 'test/*'
- 'vendor/*'
# Analyzes the size and structure of a PHP project.
php_loc:
enabled: true
excluded_dirs:
- docs
- examples
- extras
- test
- vendor
# PHP Mess Detector (http://phpmd.org).
php_mess_detector:
enabled: true
config:
rulesets:
- codesize
- unusedcode
- naming
- design
naming_rules:
short_variable: { minimum: 2 }
filter:
excluded_paths:
- 'docs/*'
- 'examples/*'
- 'extras/*'
- 'test/*'
- 'vendor/*'
# Analyzes the size and structure of a PHP project.
php_pdepend:
enabled: true
excluded_dirs:
- docs
- examples
- extras
- test
- vendor
# Runs Scrutinizer's PHP Analyzer Tool
# https://scrutinizer-ci.com/docs/tools/php/php-analyzer/config_reference
php_analyzer:
enabled: true
config:
checkstyle:
enabled: true
naming:
enabled: true
property_name: ^[_a-zA-Z][a-zA-Z0-9_]*$ #Allow underscores & caps
method_name: ^(?:[_a-zA-Z]|__)[a-zA-Z0-9_]*$ #Allow underscores & caps
parameter_name: ^[a-z][a-zA-Z0-9_]*$ # Allow underscores
local_variable: ^[a-zA-Z][a-zA-Z0-9_]*$ #Allow underscores & caps
exception_name: ^[a-zA-Z][a-zA-Z0-9]*Exception$
isser_method_name: ^(?:[_a-zA-Z]|__)[a-zA-Z0-9]*$ #Allow underscores & caps
filter:
excluded_paths:
- 'docs/*'
- 'examples/*'
- 'extras/*'
- 'test/*'
- 'vendor/*'
# Security Advisory Checker
sensiolabs_security_checker: true
@@ -0,0 +1,35 @@
language: php
php:
- 7.0
- 5.6
- 5.5
- 5.4
- 5.3
- hhvm
matrix:
allow_failures:
- php: 7.0
- php: hhvm
before_install:
- sudo apt-get update -qq
- sudo apt-get install -y -qq postfix
before_script:
- sudo service postfix stop
- smtp-sink -d "%d.%H.%M.%S" localhost:2500 1000 &
- mkdir -p build/logs
- cd test
- cp testbootstrap-dist.php testbootstrap.php
- chmod +x fakesendmail.sh
- sudo mkdir -p /var/qmail/bin
- sudo cp fakesendmail.sh /var/qmail/bin/sendmail
- sudo cp fakesendmail.sh /usr/sbin/sendmail
- echo 'sendmail_path = "/usr/sbin/sendmail -t -i "' | sudo tee "/home/travis/.phpenv/versions/`php -r 'echo PHP_VERSION;'`/etc/conf.d/sendmail.ini"
- pwd
- ls -al
script:
- phpunit --configuration ../travis.phpunit.xml.dist
after_script:
- wget https://scrutinizer-ci.com/ocular.phar
- php ocular.phar code-coverage:upload --format=php-clover ../build/logs/clover.xml
Oops, something went wrong.

0 comments on commit 516ad30

Please sign in to comment.