blueprints.yaml 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246
  1. name: Email
  2. slug: email
  3. type: plugin
  4. version: 3.0.9
  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. sendmail_config:
  160. type: section
  161. title: PLUGIN_EMAIL.SENDMAIL_CONFIGURATION
  162. underline: true
  163. mailer.sendmail.bin:
  164. type: text
  165. size: medium
  166. label: PLUGIN_EMAIL.PATH_TO_SENDMAIL
  167. placeholder: "/usr/sbin/sendmail"
  168. queue_section:
  169. type: section
  170. title: PLUGIN_EMAIL.QUEUE_TITLE
  171. text: PLUGIN_EMAIL.QUEUE_DESC
  172. markdown: true
  173. underline: true
  174. queue.enabled:
  175. type: toggle
  176. label: PLUGIN_EMAIL.QUEUE_ENABLED
  177. highlight: 0
  178. default: 0
  179. options:
  180. 1: PLUGIN_ADMIN.ENABLED
  181. 0: PLUGIN_ADMIN.DISABLED
  182. validate:
  183. type: bool
  184. queue.flush_frequency:
  185. type: cron
  186. label: PLUGIN_EMAIL.QUEUE_FLUSH_FREQUENCY
  187. size: medium
  188. help: PLUGIN_EMAIL.QUEUE_FLUSH_FREQUENCY_HELP
  189. default: '* * * * *'
  190. placeholder: '* * * * *'
  191. queue.flush_msg_limit:
  192. type: number
  193. label: PLUGIN_EMAIL.QUEUE_FLUSH_MSG_LIMIT
  194. size: x-small
  195. append: PLUGIN_EMAIL.QUEUE_FLUSH_MSG_LIMIT_APPEND
  196. queue.flush_time_limit:
  197. type: number
  198. label: PLUGIN_EMAIL.QUEUE_FLUSH_TIME_LIMIT
  199. size: x-small
  200. append: PLUGIN_EMAIL.QUEUE_FLUSH_TIME_LIMIT_APPEND
  201. advanced_section:
  202. type: section
  203. title: PLUGIN_EMAIL.ADVANCED
  204. underline: true
  205. debug:
  206. type: toggle
  207. label: PLUGIN_EMAIL.DEBUG
  208. highlight: 1
  209. default: 0
  210. options:
  211. 1: PLUGIN_ADMIN.ENABLED
  212. 0: PLUGIN_ADMIN.DISABLED
  213. validate:
  214. type: bool