我正在使用PHPMailer类从我的网站发送电子邮件,本地工作正常,但在我的在线服务器上我收到错误:
let imageList = ['myImage1.jpg', 'myImage2.jpg'];
let index = 0;
function cycleImages() {
setInterval(function() {
$('.slide').css("background-image", "linear-gradient(60deg,#224455,rgba(255, 186, 22, 0.5)), url(" + imageList[index] + ")");
if(index === imageList.length) {
index = 0;
}
else {
index += 1;
}
}, 10000)
}
代码:
Ok the issue here is you are creating row first the the table layout; try adding row to layout first then view to row like below reference code:
TableLayout tl = (TableLayout)findViewById(R.id.tableLayout1);
TableRow row = new TableRow(this);
TextView tv = new TextView(this);
tv.setText("This is text");
tl.addView(row);
row.addView(tv);
答案 0 :(得分:1)
这是重要的部分:
SSL例程:ssl3_get_server_certificate:证书验证失败
错误信息链接到的故障排除指南中对此进行了详细介绍,此处已多次回答。在端口587上将SMTPSecure
切换为tls
无法提供帮助。您的服务器最有可能运行旧版本的PHP,或者具有过时的CA证书包。