首先定义一个字符串,在字符串中实现换行方便。具体如下:
String str_content="first content\n"+"other content \n";
message.setText(str_content);如果有问题你可以联系我,我也正在做邮件服务。我的QQ是89496823
EMAIL:[email protected]
String str_content="first content\n"+"other content \n";
message.setText(str_content);如果有问题你可以联系我,我也正在做邮件服务。我的QQ是89496823
EMAIL:[email protected]
for(;;){ //读入流
result.append(strings).append("\r\n");}
message.setText(result);