click = () => {
const name = this.state.name
const email = this.state.email
const phone = this.state.telephone
$.ajax({
url: 'mail.php',
type: 'POST',
cache: false,
data: { 'name': name, 'email': email, 'phone': phone },
dataType: 'html',
success: function(data) {
alert( data )
}
})
}