123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251 |
- name: Email
- slug: email
- type: plugin
- version: 3.1.4
- testing: false
- description: Enables the emailing system for Grav
- icon: envelope
- author:
- name: Team Grav
- email: devs@getgrav.org
- url: http://getgrav.org
- keywords: plugin, email, sender
- homepage: https://github.com/getgrav/grav-plugin-email
- bugs: https://github.com/getgrav/grav-plugin-email/issues
- license: MIT
- dependencies:
- - { name: grav, version: '>=1.6.0' }
- - { name: form, version: '>=3.0.3' }
- form:
- validation: loose
- fields:
- enabled:
- type: hidden
- label: PLUGIN_ADMIN.PLUGIN_STATUS
- highlight: 1
- default: 1
- options:
- 1: PLUGIN_ADMIN.ENABLED
- 0: PLUGIN_ADMIN.DISABLED
- validate:
- type: bool
- mailer.engine:
- type: select
- label: PLUGIN_EMAIL.MAIL_ENGINE
- size: medium
- options:
- none: PLUGIN_ADMIN.DISABLED
- smtp: SMTP
- sendmail: Sendmail
- content_type:
- type: select
- label: PLUGIN_EMAIL.CONTENT_TYPE
- size: medium
- default: 'text/html'
- options:
- 'text/plain': PLUGIN_EMAIL.CONTENT_TYPE_PLAIN_TEXT
- 'text/html': HTML
- charset:
- type: text
- size: medium
- label: PLUGIN_EMAIL.CHARSET
- placeholder: PLUGIN_EMAIL.CHARSET_PLACEHOLDER
- email_Defaults:
- type: section
- title: PLUGIN_EMAIL.EMAIL_DEFAULTS
- underline: true
- from:
- type: email
- size: medium
- label: PLUGIN_EMAIL.EMAIL_FORM
- placeholder: PLUGIN_EMAIL.EMAIL_FORM_PLACEHOLDER
- validate:
- required: true
- type: email
- from_name:
- type: text
- size: medium
- label: PLUGIN_EMAIL.EMAIL_FROM_NAME
- placeholder: PLUGIN_EMAIL.EMAIL_FROM_NAME_PLACEHOLDER
- to:
- type: email
- size: medium
- label: PLUGIN_EMAIL.EMAIL_TO
- placeholder: PLUGIN_EMAIL.EMAIL_TO_PLACEHOLDER
- multiple: true
- validate:
- required: true
- type: email
- to_name:
- type: text
- size: medium
- label: PLUGIN_EMAIL.EMAIL_TO_NAME
- placeholder: PLUGIN_EMAIL.EMAIL_TO_NAME_PLACEHOLDER
- cc:
- type: email
- size: medium
- label: PLUGIN_EMAIL.EMAIL_CC
- placeholder: PLUGIN_EMAIL.EMAIL_CC_PLACEHOLDER
- multiple: true
- validate:
- type: email
- cc_name:
- type: text
- size: medium
- label: PLUGIN_EMAIL.EMAIL_CC_NAME
- placeholder: PLUGIN_EMAIL.EMAIL_CC_NAME_PLACEHOLDER
- bcc:
- type: email
- size: medium
- label: PLUGIN_EMAIL.EMAIL_BCC
- placeholder: PLUGIN_EMAIL.EMAIL_BCC_PLACEHOLDER
- multiple: true
- validate:
- type: email
- reply_to:
- type: email
- size: medium
- label: PLUGIN_EMAIL.EMAIL_REPLY_TO
- placeholder: PLUGIN_EMAIL.EMAIL_REPLY_TO_PLACEHOLDER
- multiple: true
- validate:
- type: email
- reply_to_name:
- type: text
- size: medium
- label: PLUGIN_EMAIL.EMAIL_REPLY_TO_NAME
- placeholder: PLUGIN_EMAIL.EMAIL_REPLY_TO_NAME_PLACEHOLDER
- body:
- type: textarea
- size: medium
- label: PLUGIN_EMAIL.EMAIL_BODY
- placeholder: PLUGIN_EMAIL.EMAIL_BODY_PLACEHOLDER
- smtp_config:
- type: section
- title: PLUGIN_EMAIL.SMTP_CONFIGURATION
- underline: true
- mailer.smtp.server:
- type: text
- size: medium
- label: PLUGIN_EMAIL.SMTP_SERVER
- placeholder: PLUGIN_EMAIL.SMTP_SERVER_PLACEHOLDER
- mailer.smtp.port:
- type: text
- size: small
- label: PLUGIN_EMAIL.SMTP_PORT
- placeholder: PLUGIN_EMAIL.SMTP_PORT_PLACEHOLDER
- validate:
- type: number
- min: 1
- max: 65535
- mailer.smtp.encryption:
- type: select
- size: medium
- label: PLUGIN_EMAIL.SMTP_ENCRYPTION
- options:
- none: PLUGIN_EMAIL.SMTP_ENCRYPTION_NONE
- ssl: SSL
- tls: TLS
- mailer.smtp.user:
- type: text
- size: medium
- autocomplete: 'off'
- label: PLUGIN_EMAIL.SMTP_LOGIN_NAME
- mailer.smtp.password:
- type: password
- size: medium
- autocomplete: 'new-password'
- label: PLUGIN_EMAIL.SMTP_PASSWORD
- mailer.smtp.auth_mode:
- type: text
- size: medium
- label: PLUGIN_EMAIL.SMTP_AUTH_MODE
- sendmail_config:
- type: section
- title: PLUGIN_EMAIL.SENDMAIL_CONFIGURATION
- underline: true
- mailer.sendmail.bin:
- type: text
- size: medium
- label: PLUGIN_EMAIL.PATH_TO_SENDMAIL
- placeholder: "/usr/sbin/sendmail"
- queue_section:
- type: section
- title: PLUGIN_EMAIL.QUEUE_TITLE
- text: PLUGIN_EMAIL.QUEUE_DESC
- markdown: true
- underline: true
- queue.enabled:
- type: toggle
- label: PLUGIN_EMAIL.QUEUE_ENABLED
- highlight: 0
- default: 0
- options:
- 1: PLUGIN_ADMIN.ENABLED
- 0: PLUGIN_ADMIN.DISABLED
- validate:
- type: bool
- queue.flush_frequency:
- type: cron
- label: PLUGIN_EMAIL.QUEUE_FLUSH_FREQUENCY
- size: medium
- help: PLUGIN_EMAIL.QUEUE_FLUSH_FREQUENCY_HELP
- default: '* * * * *'
- placeholder: '* * * * *'
- queue.flush_msg_limit:
- type: number
- label: PLUGIN_EMAIL.QUEUE_FLUSH_MSG_LIMIT
- size: x-small
- append: PLUGIN_EMAIL.QUEUE_FLUSH_MSG_LIMIT_APPEND
- queue.flush_time_limit:
- type: number
- label: PLUGIN_EMAIL.QUEUE_FLUSH_TIME_LIMIT
- size: x-small
- append: PLUGIN_EMAIL.QUEUE_FLUSH_TIME_LIMIT_APPEND
- advanced_section:
- type: section
- title: PLUGIN_EMAIL.ADVANCED
- underline: true
- debug:
- type: toggle
- label: PLUGIN_EMAIL.DEBUG
- highlight: 1
- default: 0
- options:
- 1: PLUGIN_ADMIN.ENABLED
- 0: PLUGIN_ADMIN.DISABLED
- validate:
- type: bool
|