How to override include/SugarPHPMailer.php ?

Hello,

After upgrading from SugarCRM CE to SuiteCRM, I noticed having a problem with embedded images in emails not showing up in outlook. It took me some time to remember that there was a related bug which I had found a way to bypass by commenting out the
AttachAll() function inside include/SugarPHPMailer.php file (recommended here and here )

I now commented out that function again and there is no problem.

My question is:
Is there a way to make this change upgrade safe? I tried to make the changes in custom/include/SugarPHPMailer.php but it didn’t work.

Thanks in advance.
George

Hi RodGer,

Commenting out the function seems to be the solution for now. There is no “upgrade safe” way to correct this issue for now.

Thanks,

Will.