mailer.php: to_address/to_name was used instead of from_address/from_name

This commit is contained in:
Andrew Dolgov 2019-01-09 16:49:35 +03:00
parent 986ca251f9
commit eb48aa5840
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ class Mailer {
$additional_headers = $params["headers"] ? $params["headers"] : [];
$from_combined = $from_name ? "$to_name <$to_address>" : $to_address;
$from_combined = $from_name ? "$from_name <$from_address>" : $from_address;
$to_combined = $to_name ? "$to_name <$to_address>" : $to_address;
Logger::get()->log("Sending mail from $from_combined to $to_combined <$to_address> [$subject]: $message");