mhull27 0 Newbie Poster

I was curious if making a javascript alert a PHP mail form and would send with that. Would it be possible, and would it be secure from email harvesters?
Thanks!