2021-08-25 940次浏览

Mailer package version 3.0.0 was tagged. This version expands Yiisoft\Mailer\MessageInterface adding the following methods:

  • getDate() - Returns the date when the message was sent, or null if it was not set.
  • withDate() - Returns a new instance with the specified date when the message was sent.
  • getPriority() - Returns the priority of this message.
  • withPriority() - Returns a new instance with the specified priority of this message.
  • getReturnPath() - Returns the return-path (the bounce address) of this message.
  • withReturnPath() - Returns a new instance with the specified return-path (the bounce address) of this message.
  • getSender() - Returns the message actual sender email address.
  • withSender() - Returns a new instance with the specified actual sender email address.

SwiftMailer package was updated to implement the interface and was tagged 3.0.0 and Email Log Target 3.0.0 was tagged since it requires new major version of yiisoft/mailer.