more specifically the code should be changed to use the Mailer class which is able to handle attachments itself - no changes needed.