add php mail class
Merge branch 'update'