Mail functions are working. Need to do some fine tuning still. Will post a document on getting sendmail with xampp to work. it took me a while.