Skip to content

Commit

Permalink
Issue #63: Add From details in hook_mail.
Browse files Browse the repository at this point in the history
  • Loading branch information
laryn authored Jan 31, 2025
1 parent f35ea69 commit e985b1f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions registration.module
Original file line number Diff line number Diff line change
Expand Up @@ -1172,6 +1172,8 @@ function registration_mail($key, &$message, $params) {
$body = $params['message'];
$message['subject'] .= str_replace(array("\r", "\n"), '', $subject);
$message['body'][] = backdrop_html_to_text($body);
$message['from'] = $params['from'];
$message['headers']['From'] = $params['from'];
}

/**
Expand Down

0 comments on commit e985b1f

Please sign in to comment.