Skip to content

Commit 6d1afb1

Browse files
committed
Send mail by using the configured email address
1 parent ef35ec6 commit 6d1afb1

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
66

77
## [Unreleased]
88

9+
## [1.2.10] - 2 October 2024
10+
### Fixed
11+
- Send mail by using the configured email address
12+
913
## [1.2.9] - 9 April 2024
1014
### Fixed
1115
- Fix calling Rate class in the Add action #2 @se-viacheslav

Cron/CheckRunner.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ public function execute(): bool
126126
private function sendMail(string $contents)
127127
{
128128
$name = $this->scopeConfig->getValue('trans_email/ident_support/name');
129-
$email = $this->scopeConfig->getValue('trans_email/ident_support/email');
129+
$email = $this->config->email();
130130

131131
$templateParams = [];
132132
$templateParams['output'] = $contents;

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "yireo/magento2-taxratesmanager2",
33
"license": "OSL-3.0",
44
"type": "magento2-module",
5-
"version": "1.2.9",
5+
"version": "1.2.10",
66
"homepage": "https://www.yireo.com/software/magento-extensions/taxratesmanager2",
77
"description": "Manage EU VAT rates automatically",
88
"keywords": [

0 commit comments

Comments
 (0)