updates: sendmail, registr, passw reset

use update sql and start from mail.php