?
avatar brandtOSS
brandtOSS
20 Mar 2017

Steps to reproduce the issue

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.

Expected result

The disposition should have an effect.

Actual result

The disposition never has an effect.

System information (as much as possible)

Joomla 3.6.5

Additional comments

None

avatar brandtOSS brandtOSS - open - 20 Mar 2017
avatar joomla-cms-bot joomla-cms-bot - change - 20 Mar 2017
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 20 Mar 2017
avatar brianteeman
brianteeman - comment - 20 Mar 2017

If you are submitting a pull request you don't need to create an issue at the same time.

avatar brianteeman brianteeman - change - 20 Mar 2017
Status New Closed
Closed_Date 0000-00-00 00:00:00 2017-03-20 20:35:28
Closed_By brianteeman
avatar brianteeman brianteeman - close - 20 Mar 2017

Add a Comment

Login with GitHub to post a comment