• Now the strtolower(get_class( $phpmailer )) return phpmailer/phpmailer/phpmailer and not only phpmailer so you need to change
    strtolower(get_class( $phpmailer )) to substr(strtolower(get_class( $phpmailer )),-9)

  • The topic ‘change on $phpmailer class’ is closed to new replies.