but the directory what â/PHPMailer/â, isnât more depreced. i have with âclass.phpmailer.phpâ. the now require âphpmailer.phpâ, version 6.0.3 in the github. or i wrong?
Yes, use 6.*, and follow the example here. I would guess your earlier example used PHPMailer 5.2. That will work, but itâs better to use the latest versions.