enabling send_mail to return response to client
enabling send_mail to return response to client

send_mail API returns Message-ID in response now. 
Also keeping CURLOPT_RETURNTRANSFER to false lead to unwanted behavior as curl_exec dumps the output instead of returning it to some string.
BijoySingh/IITB-OAuth-PHP