laminas/laminas-mail
Abandoned Laminas component for composing, parsing, and sending email messages. No further development; use ddeboer/imap for IMAP, zbateson/mail-mime-parser for MIME parsing, and symfony/mailer for sending mail.
2.25.x bugfix release (patch)
Feature release (minor)
Feature release (minor)
Feature release (minor)
Sendmail::prepareSubject and the Sendmail::prepareParameters thanks to @artemii-karkushaFeature release (minor)
2.21.x bugfix release (patch)
Feature release (minor)
Feature release (minor)
Feature release (minor)
Feature release (minor)
Feature release (minor)
204: Apply PHP 8.0 syntax and property promotion thanks to @samsonasik
202: Update laminas-coding-standard to v2 thanks to @Slamdunk
198: Exclude dev files from dist package thanks to @cedric-anne
201: Allow symfony/process v6 in dev dependencies thanks to @Slamdunk
Feature release (minor)
To: header weirdness thanks to @CapnFelix2.15.x bugfix release (patch)
2.14.x bugfix release (patch)
Feature release (minor)
2.14.x bugfix release (patch)
Feature release (minor)
2.13.x bugfix release (patch)
2.12.x bugfix release (patch)
Release 2.12.3
Release 2.12.2
Release 2.12.1
Total issues resolved: 0
Total pull requests resolved: 1
Total contributors: 1
102: fix IMAP constructor annotation thanks to @Piskvor
#95 adds a new interface, Laminas\Mail\Header\HeaderLocatorInterface. This defines classes that will locate header classes based on an email header name.
#95 adds a new class, Laminas\Mail\Header\HeaderLocator, implementing Laminas\Mail\Header\HeaderLocatorInterface. This is the default implementation of that new interface.
#95 adds the methods setHeaderLocator(Laminas\Mail\Header\HeaderLocatorInterface $locator) and getHeaderLocator(): Laminas\Mail\Header\HeaderLocatorInterface to the Laminas\Mail\Headers implementation. Users are encouraged to use these when providing custom header implementations in order to prepare for a 3.0 release. The value of getHeaderLocator() will now be used as the default mechanism for resolving header names to header classes.
#94 and #99 add the "novalidatecert" option for each of the POP3, IMAP, and SMTP protocol implementations. When toggled true, you can connect to servers using self-signed certificates.
#99 deprecates the Laminas\Mail\Protocol\AbstractProtocol::_connect() method, as it is no longer used internally.
#95 deprecates Laminas\Mail\Header\HeaderLoader in favor of the new Laminas\Mail\Header\HeaderLocator class. The class will be removed in version 3.0.0.
#95 deprecates the Headers::getPluginClassLoader() and Headers::setPluginClassLoader() methods, in favor of the new setHeaderLocator() and getHeaderLocator() methods. These methods will be removed in version 3.0.0, and laminas-loader PluginClassLocator instances will no longer be supported. Please update your code to use the new HeaderLocatorInterface instead.
Laminas\Mail\Transport\Null, as it is unusable with the new minimum supported PHP version (7.1). Users should use Laminas\Mail\Transport\InMemory instead. As this has been the default when requesting a "null" transport from Laminas\Mail\Transport\Factory for the past several minor releases, end-users should be unaffected. However, users are encouraged to specify "inmemory" instead of "null" when requiring a no-op transport.Header\ContentType::addParameter() to ensure the value is trimmed of whitespace, fixing issues whereby filenames might contain a leading or trailing space.Laminas\Main\Header\ContentDisposition, which implements Laminas\Mail\Header\UnstructuredInterface, and which provides propery encoding and escaping for Content-Disposition mail headers.Content-Disposition header is properly encoded.#83 fixes PHPDocs in Transport\InMemory (last message can be null).
#84 fixes PHP 7.4 compatibility.
#82 fixes numerous issues in Storage\Maildir. This storage adapter was not working before and unit tests were disabled.
#75 fixes how Laminas\Mail\Header\ListParser::parse() parses the string with quotes.
#88 fixes recognising encoding of Subject and GenericHeader headers.
How can I help you explore Laravel packages today?