blueprints.yaml 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181
  1. name: Email
  2. version: 2.7.1
  3. description: Enables the emailing system for Grav
  4. icon: envelope
  5. author:
  6. name: Team Grav
  7. email: devs@getgrav.org
  8. url: http://getgrav.org
  9. keywords: plugin, email, sender
  10. homepage: https://github.com/getgrav/grav-plugin-email
  11. bugs: https://github.com/getgrav/grav-plugin-email/issues
  12. license: MIT
  13. dependencies:
  14. - { name: grav, version: '>=1.1.9' }
  15. form:
  16. validation: loose
  17. fields:
  18. enabled:
  19. type: hidden
  20. label: PLUGIN_ADMIN.PLUGIN_STATUS
  21. highlight: 1
  22. default: 1
  23. options:
  24. 1: PLUGIN_ADMIN.ENABLED
  25. 0: PLUGIN_ADMIN.DISABLED
  26. validate:
  27. type: bool
  28. mailer.engine:
  29. type: select
  30. label: Mail Engine
  31. size: medium
  32. options:
  33. none: Disabled
  34. smtp: SMTP
  35. sendmail: Sendmail
  36. content_type:
  37. type: select
  38. label: Content type
  39. size: medium
  40. default: 'text/html'
  41. options:
  42. 'text/plain': Plain text
  43. 'text/html': HTML
  44. charset:
  45. type: text
  46. size: medium
  47. label: Charset
  48. placeholder: "Defaults to UTF-8"
  49. from:
  50. type: email
  51. size: medium
  52. label: Email from
  53. placeholder: "Default email from address"
  54. validate:
  55. required: true
  56. type: email
  57. from_name:
  58. type: text
  59. size: medium
  60. label: Email from name
  61. placeholder: "Default email from name"
  62. to:
  63. type: email
  64. size: medium
  65. label: Email to
  66. placeholder: "Default email to address"
  67. multiple: true
  68. validate:
  69. required: true
  70. type: email
  71. to_name:
  72. type: text
  73. size: medium
  74. label: Email to name
  75. placeholder: "Default email to name"
  76. cc:
  77. type: email
  78. size: medium
  79. label: Email CC
  80. placeholder: "Default email CC address"
  81. multiple: true
  82. validate:
  83. type: email
  84. cc_name:
  85. type: text
  86. size: medium
  87. label: Email CC name
  88. placeholder: "Default email CC name"
  89. bcc:
  90. type: email
  91. size: medium
  92. label: Email BCC
  93. placeholder: "Default email BCC address"
  94. multiple: true
  95. validate:
  96. type: email
  97. reply_to:
  98. type: email
  99. size: medium
  100. label: Email reply-to
  101. placeholder: "Default email reply-to address"
  102. multiple: true
  103. validate:
  104. type: email
  105. reply_to_name:
  106. type: text
  107. size: medium
  108. label: Email reply-to name
  109. placeholder: "Default email reply-to name"
  110. body:
  111. type: textarea
  112. size: medium
  113. label: Email body
  114. placeholder: "Defaults to a table of all form fields"
  115. mailer.smtp.server:
  116. type: text
  117. size: medium
  118. label: SMTP server
  119. placeholder: "e.g. smtp.google.com"
  120. mailer.smtp.port:
  121. type: text
  122. size: small
  123. label: SMTP port
  124. placeholder: "Defaults to 25 (plaintext) / 587 (encrypted)"
  125. validate:
  126. type: number
  127. min: 1
  128. max: 65535
  129. mailer.smtp.encryption:
  130. type: select
  131. size: medium
  132. label: SMTP encryption
  133. options:
  134. none: None
  135. ssl: SSL
  136. tls: TLS
  137. mailer.smtp.user:
  138. type: text
  139. size: medium
  140. label: SMTP login name
  141. mailer.smtp.password:
  142. type: password
  143. size: medium
  144. label: SMTP password
  145. mailer.sendmail.bin:
  146. type: text
  147. size: medium
  148. label: Path to sendmail
  149. placeholder: "/usr/sbin/sendmail"
  150. debug:
  151. type: toggle
  152. label: Debug
  153. highlight: 1
  154. default: 0
  155. options:
  156. true: PLUGIN_ADMIN.ENABLED
  157. false: PLUGIN_ADMIN.DISABLED
  158. validate:
  159. type: bool