3

2種類のメールが必要です:

  1. スプールメール(バルクメール用)
  2. ダイレクトメール(書留郵便のようなもの)

今私は2つのサービスを持っています:

<service id="spool_mailer" class="%swiftmailer.class%">
    <argument type="service" id="swiftmailer.transport"/>
</service>

<service id="mailer" class="%swiftmailer.class%">
    <argument type="service" id="swiftmailer.transport.real"/>
</service>

しかし、「swiftmailer.transport.real」は「swiftmailer.delivery_address」を無視し、開発環境では必要です。他のトランスポートを試しましたが、メールをスプールします: SwiftMailer を構成します。

これを修正する方法は?

4

1 に答える 1