Use JMail's addAttachment
method's parameter $disposition
For example:
$mail2send = JFactory::getMailer();
$mail->addAttachment($filePath, $fileName, 'base64', 'image/jpeg'. 'inline');
The last parameter is $disposition
(here: 'inline').
This parameter never has an effect because JMail does not pass this parameter to the parent class PHPMailer's addAttachment
method.
The disposition should have an effect.
The disposition never has an effect.
Joomla 3.6.5
None
Labels |
Added:
?
|
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2017-03-20 20:35:28 |
Closed_By | ⇒ | brianteeman |
If you are submitting a pull request you don't need to create an issue at the same time.