blueprints.yaml 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172
  1. name: Email
  2. slug: email
  3. type: plugin
  4. version: 4.0.1
  5. testing: false
  6. description: Enables the emailing system for Grav
  7. icon: envelope
  8. author:
  9. name: Team Grav
  10. email: devs@getgrav.org
  11. url: http://getgrav.org
  12. keywords: plugin, email, sender
  13. homepage: https://github.com/getgrav/grav-plugin-email
  14. bugs: https://github.com/getgrav/grav-plugin-email/issues
  15. license: MIT
  16. dependencies:
  17. - { name: grav, version: '>=1.7.41' }
  18. - { name: form, version: '>=7.0.0' }
  19. form:
  20. validation: loose
  21. fields:
  22. enabled:
  23. type: hidden
  24. label: PLUGIN_ADMIN.PLUGIN_STATUS
  25. highlight: 1
  26. default: 1
  27. options:
  28. 1: PLUGIN_ADMIN.ENABLED
  29. 0: PLUGIN_ADMIN.DISABLED
  30. validate:
  31. type: bool
  32. mailer.engine:
  33. type: select
  34. label: PLUGIN_EMAIL.MAIL_ENGINE
  35. size: medium
  36. description: PLUGIN_EMAIL.MAIL_ENGINE_DESC
  37. data-options@: '\Grav\Plugin\EmailPlugin::getEngines'
  38. smtp_config:
  39. type: section
  40. title: PLUGIN_EMAIL.SMTP_CONFIGURATION
  41. underline: true
  42. mailer.smtp.server:
  43. type: text
  44. size: medium
  45. label: PLUGIN_EMAIL.SMTP_SERVER
  46. placeholder: PLUGIN_EMAIL.SMTP_SERVER_PLACEHOLDER
  47. mailer.smtp.port:
  48. type: text
  49. size: small
  50. label: PLUGIN_EMAIL.SMTP_PORT
  51. placeholder: PLUGIN_EMAIL.SMTP_PORT_PLACEHOLDER
  52. validate:
  53. type: number
  54. min: 1
  55. max: 65535
  56. mailer.smtp.encryption:
  57. type: select
  58. size: medium
  59. label: PLUGIN_EMAIL.SMTP_ENCRYPTION
  60. options:
  61. none: PLUGIN_EMAIL.SMTP_ENCRYPTION_NONE
  62. ssl: SSL
  63. tls: TLS
  64. mailer.smtp.user:
  65. type: text
  66. size: medium
  67. autocomplete: 'off'
  68. label: PLUGIN_EMAIL.SMTP_LOGIN_NAME
  69. mailer.smtp.password:
  70. type: password
  71. size: medium
  72. autocomplete: 'new-password'
  73. label: PLUGIN_EMAIL.SMTP_PASSWORD
  74. sendmail_config:
  75. type: section
  76. title: PLUGIN_EMAIL.SENDMAIL_CONFIGURATION
  77. underline: true
  78. mailer.sendmail.bin:
  79. type: text
  80. size: medium
  81. label: PLUGIN_EMAIL.PATH_TO_SENDMAIL
  82. placeholder: "/usr/sbin/sendmail"
  83. email_Defaults:
  84. type: section
  85. title: PLUGIN_EMAIL.EMAIL_DEFAULTS
  86. underline: true
  87. content_type:
  88. type: select
  89. label: PLUGIN_EMAIL.CONTENT_TYPE
  90. size: medium
  91. default: 'text/html'
  92. options:
  93. 'text/plain': PLUGIN_EMAIL.CONTENT_TYPE_PLAIN_TEXT
  94. 'text/html': HTML
  95. from:
  96. type: text
  97. size: large
  98. label: PLUGIN_EMAIL.EMAIL_FORM
  99. placeholder: PLUGIN_EMAIL.EMAIL_FORM_PLACEHOLDER
  100. help: PLUGIN_EMAIL.EMAIL_FORMAT
  101. validate:
  102. required: true
  103. to:
  104. type: text
  105. size: large
  106. label: PLUGIN_EMAIL.EMAIL_TO
  107. placeholder: PLUGIN_EMAIL.EMAIL_TO_PLACEHOLDER
  108. help: PLUGIN_EMAIL.EMAIL_FORMAT
  109. validate:
  110. required: true
  111. cc:
  112. type: text
  113. size: large
  114. label: PLUGIN_EMAIL.EMAIL_CC
  115. placeholder: PLUGIN_EMAIL.EMAIL_CC_PLACEHOLDER
  116. help: PLUGIN_EMAIL.EMAIL_FORMAT
  117. bcc:
  118. type: text
  119. size: large
  120. label: PLUGIN_EMAIL.EMAIL_BCC
  121. placeholder: PLUGIN_EMAIL.EMAIL_BCC_PLACEHOLDER
  122. help: PLUGIN_EMAIL.EMAIL_FORMAT
  123. reply_to:
  124. type: text
  125. size: large
  126. label: PLUGIN_EMAIL.EMAIL_REPLY_TO
  127. placeholder: PLUGIN_EMAIL.EMAIL_REPLY_TO_PLACEHOLDER
  128. help: PLUGIN_EMAIL.EMAIL_FORMAT
  129. body:
  130. type: textarea
  131. size: large
  132. rows: 10
  133. label: PLUGIN_EMAIL.EMAIL_BODY
  134. placeholder: PLUGIN_EMAIL.EMAIL_BODY_PLACEHOLDER
  135. advanced_section:
  136. type: section
  137. title: PLUGIN_EMAIL.ADVANCED
  138. underline: true
  139. debug:
  140. type: toggle
  141. label: PLUGIN_EMAIL.DEBUG
  142. highlight: 1
  143. default: 0
  144. options:
  145. 1: PLUGIN_ADMIN.ENABLED
  146. 0: PLUGIN_ADMIN.DISABLED
  147. validate:
  148. type: bool