Incorrect date value: '0000-00-00' for column 'lastmail' at row 1

O que você está tentando fazer exatamente com este SQL?

Pessoal desde ja agradeço orientação foi feita com exito graças a orientação de vcs nota 1000 vcs uhuuu