fix mailing
fix charset
curl_reset is not available in production system