Commit 556380e8 authored by Adam Shepherd's avatar Adam Shepherd
Browse files

Issue #3274465 by AdamPS: Add Sendmail transport (correction)

parent cb4661b3
Loading
Loading
Loading
Loading
+8 −4
Original line number Diff line number Diff line
@@ -24,10 +24,6 @@ symfony_mailer.mailer_transport.*:
    configuration:
      type: symfony_mailer.transport_plugin.[%parent.plugin]

symfony_mailer.transport_plugin.native:
  type: mapping
  label: 'Native transport'

symfony_mailer.transport_plugin.dsn:
  type: mapping
  label: 'DSN transport'
@@ -36,6 +32,14 @@ symfony_mailer.transport_plugin.dsn:
      type: string
      label: 'DSN'

symfony_mailer.transport_plugin.native:
  type: mapping
  label: 'Native transport'

symfony_mailer.transport_plugin.null:
  type: mapping
  label: 'Null transport'

symfony_mailer.transport_plugin.smtp:
  type: mapping
  label: 'SMTP transport'
+1 −1
Original line number Diff line number Diff line
@@ -11,7 +11,7 @@ use Drupal\Core\Form\FormStateInterface;
 *   id = "native",
 *   label = @Translation("Native"),
 *   description = @Translation("Use the sendmail binary and options configured in the sendmail_path setting of php.ini."),
 *   warning = @Translation("<b>NOT RECOMMENDED, prefer Sendmail). If php.ini uses the sendmail -t command, you won't have error reporting and Bcc headers won't be removed."),
 *   warning = @Translation("<b>Not recommended</b>, prefer Sendmail. If php.ini uses the sendmail -t command, you won't have error reporting and Bcc headers won't be removed."),
 * )
 */
class NativeTransport extends TransportBase {