.. .. .. .. .
StringBuffer text = new StringBuffer();
while((str = br.readLine())!=null){
text.append(str);
}
msg.setText(text.toString());
.. .. .. ...
第四行改成stringBuffer sb = new stringBuffer
while((String line = br.readline()) !=null)
{
sb.append(line + "/n");
}
br.close
msg.setText(sb.tpString())
msg.setSubject("成功了!");
再加个变量
String str1 = "";
while((str = br.readLine())!=null){
str1 += str;
}
msg.setText(str1);
msg.setText(str)应该是把上面传入的覆盖了