Phpmailer Could not access file

This using a space, a dot, another space, the $path, followed by a space, a dot, and a space as the value. Just use the variable $path as the parameter.