Skip to content

Commit ad2ca13

Browse files
author
bidi
committed
updated readme, mail.global, changelog
1 parent 902d0e5 commit ad2ca13

3 files changed

Lines changed: 26 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,21 @@
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

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff 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 [
5555
To 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
5859
First, 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

mail.global.php.dist

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ return [
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

0 commit comments

Comments
 (0)