blueprints.yaml 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251
  1. name: Email
  2. slug: email
  3. type: plugin
  4. version: 3.1.4
  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.6.0' }
  18. - { name: form, version: '>=3.0.3' }
  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. options:
  37. none: PLUGIN_ADMIN.DISABLED
  38. smtp: SMTP
  39. sendmail: Sendmail
  40. content_type:
  41. type: select
  42. label: PLUGIN_EMAIL.CONTENT_TYPE
  43. size: medium
  44. default: 'text/html'
  45. options:
  46. 'text/plain': PLUGIN_EMAIL.CONTENT_TYPE_PLAIN_TEXT
  47. 'text/html': HTML
  48. charset:
  49. type: text
  50. size: medium
  51. label: PLUGIN_EMAIL.CHARSET
  52. placeholder: PLUGIN_EMAIL.CHARSET_PLACEHOLDER
  53. email_Defaults:
  54. type: section
  55. title: PLUGIN_EMAIL.EMAIL_DEFAULTS
  56. underline: true
  57. from:
  58. type: email
  59. size: medium
  60. label: PLUGIN_EMAIL.EMAIL_FORM
  61. placeholder: PLUGIN_EMAIL.EMAIL_FORM_PLACEHOLDER
  62. validate:
  63. required: true
  64. type: email
  65. from_name:
  66. type: text
  67. size: medium
  68. label: PLUGIN_EMAIL.EMAIL_FROM_NAME
  69. placeholder: PLUGIN_EMAIL.EMAIL_FROM_NAME_PLACEHOLDER
  70. to:
  71. type: email
  72. size: medium
  73. label: PLUGIN_EMAIL.EMAIL_TO
  74. placeholder: PLUGIN_EMAIL.EMAIL_TO_PLACEHOLDER
  75. multiple: true
  76. validate:
  77. required: true
  78. type: email
  79. to_name:
  80. type: text
  81. size: medium
  82. label: PLUGIN_EMAIL.EMAIL_TO_NAME
  83. placeholder: PLUGIN_EMAIL.EMAIL_TO_NAME_PLACEHOLDER
  84. cc:
  85. type: email
  86. size: medium
  87. label: PLUGIN_EMAIL.EMAIL_CC
  88. placeholder: PLUGIN_EMAIL.EMAIL_CC_PLACEHOLDER
  89. multiple: true
  90. validate:
  91. type: email
  92. cc_name:
  93. type: text
  94. size: medium
  95. label: PLUGIN_EMAIL.EMAIL_CC_NAME
  96. placeholder: PLUGIN_EMAIL.EMAIL_CC_NAME_PLACEHOLDER
  97. bcc:
  98. type: email
  99. size: medium
  100. label: PLUGIN_EMAIL.EMAIL_BCC
  101. placeholder: PLUGIN_EMAIL.EMAIL_BCC_PLACEHOLDER
  102. multiple: true
  103. validate:
  104. type: email
  105. reply_to:
  106. type: email
  107. size: medium
  108. label: PLUGIN_EMAIL.EMAIL_REPLY_TO
  109. placeholder: PLUGIN_EMAIL.EMAIL_REPLY_TO_PLACEHOLDER
  110. multiple: true
  111. validate:
  112. type: email
  113. reply_to_name:
  114. type: text
  115. size: medium
  116. label: PLUGIN_EMAIL.EMAIL_REPLY_TO_NAME
  117. placeholder: PLUGIN_EMAIL.EMAIL_REPLY_TO_NAME_PLACEHOLDER
  118. body:
  119. type: textarea
  120. size: medium
  121. label: PLUGIN_EMAIL.EMAIL_BODY
  122. placeholder: PLUGIN_EMAIL.EMAIL_BODY_PLACEHOLDER
  123. smtp_config:
  124. type: section
  125. title: PLUGIN_EMAIL.SMTP_CONFIGURATION
  126. underline: true
  127. mailer.smtp.server:
  128. type: text
  129. size: medium
  130. label: PLUGIN_EMAIL.SMTP_SERVER
  131. placeholder: PLUGIN_EMAIL.SMTP_SERVER_PLACEHOLDER
  132. mailer.smtp.port:
  133. type: text
  134. size: small
  135. label: PLUGIN_EMAIL.SMTP_PORT
  136. placeholder: PLUGIN_EMAIL.SMTP_PORT_PLACEHOLDER
  137. validate:
  138. type: number
  139. min: 1
  140. max: 65535
  141. mailer.smtp.encryption:
  142. type: select
  143. size: medium
  144. label: PLUGIN_EMAIL.SMTP_ENCRYPTION
  145. options:
  146. none: PLUGIN_EMAIL.SMTP_ENCRYPTION_NONE
  147. ssl: SSL
  148. tls: TLS
  149. mailer.smtp.user:
  150. type: text
  151. size: medium
  152. autocomplete: 'off'
  153. label: PLUGIN_EMAIL.SMTP_LOGIN_NAME
  154. mailer.smtp.password:
  155. type: password
  156. size: medium
  157. autocomplete: 'new-password'
  158. label: PLUGIN_EMAIL.SMTP_PASSWORD
  159. mailer.smtp.auth_mode:
  160. type: text
  161. size: medium
  162. label: PLUGIN_EMAIL.SMTP_AUTH_MODE
  163. sendmail_config:
  164. type: section
  165. title: PLUGIN_EMAIL.SENDMAIL_CONFIGURATION
  166. underline: true
  167. mailer.sendmail.bin:
  168. type: text
  169. size: medium
  170. label: PLUGIN_EMAIL.PATH_TO_SENDMAIL
  171. placeholder: "/usr/sbin/sendmail"
  172. queue_section:
  173. type: section
  174. title: PLUGIN_EMAIL.QUEUE_TITLE
  175. text: PLUGIN_EMAIL.QUEUE_DESC
  176. markdown: true
  177. underline: true
  178. queue.enabled:
  179. type: toggle
  180. label: PLUGIN_EMAIL.QUEUE_ENABLED
  181. highlight: 0
  182. default: 0
  183. options:
  184. 1: PLUGIN_ADMIN.ENABLED
  185. 0: PLUGIN_ADMIN.DISABLED
  186. validate:
  187. type: bool
  188. queue.flush_frequency:
  189. type: cron
  190. label: PLUGIN_EMAIL.QUEUE_FLUSH_FREQUENCY
  191. size: medium
  192. help: PLUGIN_EMAIL.QUEUE_FLUSH_FREQUENCY_HELP
  193. default: '* * * * *'
  194. placeholder: '* * * * *'
  195. queue.flush_msg_limit:
  196. type: number
  197. label: PLUGIN_EMAIL.QUEUE_FLUSH_MSG_LIMIT
  198. size: x-small
  199. append: PLUGIN_EMAIL.QUEUE_FLUSH_MSG_LIMIT_APPEND
  200. queue.flush_time_limit:
  201. type: number
  202. label: PLUGIN_EMAIL.QUEUE_FLUSH_TIME_LIMIT
  203. size: x-small
  204. append: PLUGIN_EMAIL.QUEUE_FLUSH_TIME_LIMIT_APPEND
  205. advanced_section:
  206. type: section
  207. title: PLUGIN_EMAIL.ADVANCED
  208. underline: true
  209. debug:
  210. type: toggle
  211. label: PLUGIN_EMAIL.DEBUG
  212. highlight: 1
  213. default: 0
  214. options:
  215. 1: PLUGIN_ADMIN.ENABLED
  216. 0: PLUGIN_ADMIN.DISABLED
  217. validate:
  218. type: bool