Getting the error : Exception reading response; Unrecognized SSL message, plaintext connection?
조회 수: 5 (최근 30일)
이전 댓글 표시
UserName = 'email@gmail.com';
passWord = 'xxxxxx';
setpref('Internet','E_mail',UserName);
setpref('Internet','SMTP_Server','smtp.gmail.com');
setpref('Internet','SMTP_Username',UserName);
setpref('Internet','SMTP_Password',passWord);
props = java.lang.System.getProperties;
props.setProperty('mail.smtp.auth','true');
props.setProperty('mail.smtp.socketFactory.class', 'javax.net.ssl.SSLSocketFactory') ;
props.setProperty('mail.smtp.socketFactory.port','587');
emailto = 'email@xxx.com'; % recipient's email
sendmail(emailto, 'My Subject', 'My message');
Getting the error : Exception reading response;
Unrecognized SSL message, plaintext connection?
I know someone got the same problem (and it was almost the same topic), but I didn't find my solution on his topic ....
댓글 수: 0
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Set Up Code Prover Analysis on Servers During Continuous Integration에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!