The mailing module has been optimized and redesigned to support large mass-mailings. For this purpose, it is necessary to define how many threads (the ‘threads’ parameter) should be allocated simultaneously to handle mailing. This parameter applies to all projects.

It is recommended to set the number of threads to a value lower than the number of available processor cores.

<section name="mail">
    <section name="smtp">
      <value name="password">enc:WaJvDsHOiMQ==</value>
      <value name="username">badanie.satysfakcja@cadas.pl</value>
      <value name="from">badanie.satysfakcja@kantarpolska.com</value>
      <value name="host">mail.cadas.pl</value>
      <value name="localhost">mx3.kantar.net.pl</value>
      <value name="interval">50</value>
      <value name="threads">10</value>
    </section>
  </section>

Additionally, it is also possible to define the minimum time interval between subsequent emails being sent (the ‘interval’ parameter).

It is also possible to specify the host name passed in the SMTP protocol, using the EHLO header (the ‘localhost’ parameter).

The parameters provided apply to all SMTP mailings.