* @throws DoubanException
* @throws IOException
*/
public boolean sendMail(String receiverId, String content, String title) throws DoubanException, IOException {
String url = RequestUrls.DOUBAN_MAIL_PREFIX + "s";
DoubanMailEntryObj entry = generateDoubanMailEntryObj(receiverId, content, title);
if (entry == null) {
throw ErrorHandler.getCustomDoubanException(100, "Illegal mail data provided");
}
try {
int responseCode = this.client.postResponseCodeOnly(url, entry, true);