blueprints.yaml 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. name: Email
  2. version: 0.2.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. form:
  14. validation: strict
  15. fields:
  16. enabled:
  17. type: hidden
  18. label: Plugin status
  19. highlight: 1
  20. default: 1
  21. options:
  22. 1: Enabled
  23. 0: Disabled
  24. validate:
  25. type: bool
  26. mailer.engine:
  27. label: Mail Engine
  28. type: hidden
  29. mailer.default:
  30. type: select
  31. label: Mailer
  32. size: medium
  33. options:
  34. none: Disabled
  35. smtp: SMTP
  36. sendmail: Sendmail
  37. mail: PHP Mail
  38. from:
  39. type: text
  40. size: medium
  41. label: Email from
  42. placeholder: "Default email from address"
  43. to:
  44. type: text
  45. size: medium
  46. label: Email to
  47. placeholder: "Default email to address (can also be comma separated list)"
  48. mailer.smtp.server:
  49. type: text
  50. size: medium
  51. label: SMTP server
  52. placeholder: "e.g. smtp.google.com"
  53. mailer.smtp.port:
  54. type: text
  55. size: small
  56. label: SMTP port
  57. placeholder: "Defaults to 25 (plaintext) / 587 (encrypted)"
  58. validate:
  59. type: number
  60. min: 1
  61. max: 65535
  62. mailer.smtp.encryption:
  63. type: select
  64. size: medium
  65. label: SMTP encryption
  66. options:
  67. none: None
  68. ssl: SSL
  69. ttl: TTL
  70. mailer.smtp.user:
  71. type: text
  72. size: medium
  73. label: SMTP login name
  74. mailer.smtp.password:
  75. type: text
  76. size: medium
  77. label: SMTP password
  78. mailer.sendmail.bin:
  79. type: text
  80. size: medium
  81. label: Path to sendmail
  82. placeholder: "/usr/sbin/sendmail"