123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208 |
- <?php
- return [
- '@class' => 'Grav\\Common\\File\\CompiledYamlFile',
- 'filename' => '/mnt/data/Sites/r2c.net/user/plugins/email/blueprints.yaml',
- 'modified' => 1529476890,
- 'data' => [
- 'name' => 'Email',
- 'version' => '2.7.1',
- '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' => [
- 0 => [
- 'name' => 'grav',
- 'version' => '>=1.1.9'
- ]
- ],
- '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' => 'Mail Engine',
- 'size' => 'medium',
- 'options' => [
- 'none' => 'Disabled',
- 'smtp' => 'SMTP',
- 'sendmail' => 'Sendmail'
- ]
- ],
- 'content_type' => [
- 'type' => 'select',
- 'label' => 'Content type',
- 'size' => 'medium',
- 'default' => 'text/html',
- 'options' => [
- 'text/plain' => 'Plain text',
- 'text/html' => 'HTML'
- ]
- ],
- 'charset' => [
- 'type' => 'text',
- 'size' => 'medium',
- 'label' => 'Charset',
- 'placeholder' => 'Defaults to UTF-8'
- ],
- 'from' => [
- 'type' => 'email',
- 'size' => 'medium',
- 'label' => 'Email from',
- 'placeholder' => 'Default email from address',
- 'validate' => [
- 'required' => true,
- 'type' => 'email'
- ]
- ],
- 'from_name' => [
- 'type' => 'text',
- 'size' => 'medium',
- 'label' => 'Email from name',
- 'placeholder' => 'Default email from name'
- ],
- 'to' => [
- 'type' => 'email',
- 'size' => 'medium',
- 'label' => 'Email to',
- 'placeholder' => 'Default email to address',
- 'multiple' => true,
- 'validate' => [
- 'required' => true,
- 'type' => 'email'
- ]
- ],
- 'to_name' => [
- 'type' => 'text',
- 'size' => 'medium',
- 'label' => 'Email to name',
- 'placeholder' => 'Default email to name'
- ],
- 'cc' => [
- 'type' => 'email',
- 'size' => 'medium',
- 'label' => 'Email CC',
- 'placeholder' => 'Default email CC address',
- 'multiple' => true,
- 'validate' => [
- 'type' => 'email'
- ]
- ],
- 'cc_name' => [
- 'type' => 'text',
- 'size' => 'medium',
- 'label' => 'Email CC name',
- 'placeholder' => 'Default email CC name'
- ],
- 'bcc' => [
- 'type' => 'email',
- 'size' => 'medium',
- 'label' => 'Email BCC',
- 'placeholder' => 'Default email BCC address',
- 'multiple' => true,
- 'validate' => [
- 'type' => 'email'
- ]
- ],
- 'reply_to' => [
- 'type' => 'email',
- 'size' => 'medium',
- 'label' => 'Email reply-to',
- 'placeholder' => 'Default email reply-to address',
- 'multiple' => true,
- 'validate' => [
- 'type' => 'email'
- ]
- ],
- 'reply_to_name' => [
- 'type' => 'text',
- 'size' => 'medium',
- 'label' => 'Email reply-to name',
- 'placeholder' => 'Default email reply-to name'
- ],
- 'body' => [
- 'type' => 'textarea',
- 'size' => 'medium',
- 'label' => 'Email body',
- 'placeholder' => 'Defaults to a table of all form fields'
- ],
- 'mailer.smtp.server' => [
- 'type' => 'text',
- 'size' => 'medium',
- 'label' => 'SMTP server',
- 'placeholder' => 'e.g. smtp.google.com'
- ],
- 'mailer.smtp.port' => [
- 'type' => 'text',
- 'size' => 'small',
- 'label' => 'SMTP port',
- 'placeholder' => 'Defaults to 25 (plaintext) / 587 (encrypted)',
- 'validate' => [
- 'type' => 'number',
- 'min' => 1,
- 'max' => 65535
- ]
- ],
- 'mailer.smtp.encryption' => [
- 'type' => 'select',
- 'size' => 'medium',
- 'label' => 'SMTP encryption',
- 'options' => [
- 'none' => 'None',
- 'ssl' => 'SSL',
- 'tls' => 'TLS'
- ]
- ],
- 'mailer.smtp.user' => [
- 'type' => 'text',
- 'size' => 'medium',
- 'label' => 'SMTP login name'
- ],
- 'mailer.smtp.password' => [
- 'type' => 'password',
- 'size' => 'medium',
- 'label' => 'SMTP password'
- ],
- 'mailer.sendmail.bin' => [
- 'type' => 'text',
- 'size' => 'medium',
- 'label' => 'Path to sendmail',
- 'placeholder' => '/usr/sbin/sendmail'
- ],
- 'debug' => [
- 'type' => 'toggle',
- 'label' => 'Debug',
- 'highlight' => 1,
- 'default' => 0,
- 'options' => [
- 1 => 'PLUGIN_ADMIN.ENABLED',
- 0 => 'PLUGIN_ADMIN.DISABLED'
- ],
- 'validate' => [
- 'type' => 'bool'
- ]
- ]
- ]
- ]
- ]
- ];
|