File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ ## 4.0.1 - 2022-08-12
2+
3+ ### Changed
4+ * Updated readme
5+ * Updated mail.global.php.dist
6+
7+ ### Added
8+ * Nothing
9+
10+ ### Deprecated
11+ * Nothing
12+
13+ ### Removed
14+ * Nothing
15+
16+ ### Fixed
17+ * Nothing
18+
119## 4.0.0 - 2022-08-11
220
321### Changed
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ DotKernel mail component based on [laminas-mail](https://github.com/laminas/lami
44
55
66![ OSS Lifecycle] ( https://img.shields.io/osslifecycle/dotkernel/dot-mail )
7- ![ PHP from Packagist (specify version)] ( https://img.shields.io/packagist/php-v/dotkernel/dot-mail/4.1 .0 )
7+ ![ PHP from Packagist (specify version)] ( https://img.shields.io/packagist/php-v/dotkernel/dot-mail/4.0 .0 )
88
99[ ![ GitHub issues] ( https://img.shields.io/github/issues/dotkernel/dot-mail )] ( https://github.com/dotkernel/dot-mail/issues )
1010[ ![ GitHub forks] ( https://img.shields.io/github/forks/dotkernel/dot-mail )] ( https://github.com/dotkernel/dot-mail/network )
@@ -55,6 +55,7 @@ return [
5555To disable it again, set the value of ` sent ` to ` null ` .
5656
5757### Saving a copy of an outgoing mail into a folder
58+ #### Valid only for SMTP Transport
5859First, make sure the ` save_sent_message_folder ` key is present in config file ` mail.local.php ` under ` dot_mail.default ` . Below you can see its placement and default value.
5960``` php
6061<?php
Original file line number Diff line number Diff line change 44
55 /**
66 * Dotkernel mail module configuration
7- * Note that many of these options can be set programmaticaly too, when sending mail messages
7+ * Note that many of these options can be set programmatically too, when sending mail messages
88 * actually that is what you'll usually do, these config provide just default and options that remain the same for all mails
99 */
1010
@@ -29,6 +29,10 @@ return [
2929
3030 'transport' => \Laminas\Mail\Transport\Sendmail::class,
3131
32+ // Uncomment the below line if you want to save a copy of all sent emails to a certain IMAP folder
33+ // Valid only if the Transport is SMTP
34+ // 'save_sent_message_folder' => ['INBOX.Sent'],
35+
3236 //message configuration
3337 'message_options' => [
3438
@@ -81,7 +85,7 @@ return [
8185 //hostname or IP address of the mail server
8286 'host' => '',
8387
84- //port of the mail server - default 25
88+ //port of the mail server - 587 or 465 for secure connections
8589 'port' => 587,
8690
8791 //connection class used for authentication
You can’t perform that action at this time.
0 commit comments