Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions libraries/src/Mail/MailTemplate.php
Original file line number Diff line number Diff line change
Expand Up @@ -346,11 +346,11 @@ public function send()
$logo = $params->get('disable_logofile', 1) ? $logo : '' ;
}

// Add the logo to the mail as inline attachement
// Add the logo to the mail as inline attachment
if ($logo) {
$logo = Path::check(JPATH_ROOT . '/' . HTMLHelper::_('cleanImageURL', $logo)->url);
if (is_file(urldecode($logo))) {
# Attach the logo as inline attachement
# Attach the logo as inline attachment
$this->mailer->addAttachment($logo, 'site-logo', 'base64', mime_content_type($logo), 'inline');

// We need only the cid for attached logo file
Expand Down