sendmail error: "java.lang​.RuntimeEx​ception: Could not generate DH keypair"

조회 수: 19 (최근 30일)
Fredrik Gustavsson
Fredrik Gustavsson 2018년 1월 31일
댓글: Fredrik Gustavsson 2018년 1월 31일
Hi,
I'm running Matlab R2012b and have been using the sendmail command for years using the same server and email settings. Suddenly, out of the blue, sendmail gives me the error: "java.lang.RuntimeException: Could not generate DH keypair". Even the simplest command:
sendmail('myemail@emailadress.com','test')
produces this error. I have not changed the Java version (1.6.0_22-b04). What can be the problem?

답변 (1개)

Walter Roberson
Walter Roberson 2018년 1월 31일
편집: Walter Roberson 2018년 1월 31일
  댓글 수: 3
Walter Roberson
Walter Roberson 2018년 1월 31일
Sorry, I do not know the answer to that.
Fredrik Gustavsson
Fredrik Gustavsson 2018년 1월 31일
Installing Java 7 resolves the sendmail problem (I went back to the original security providers) but of course introduces other issues with for instance some GUI components since R2012b is shipped with Java 6 (v1.6.0_17 to be precise). Stuck in the gap between old and new. Still in total surprise why sendmail suddenly became impaired to send emails. Actually, we have 60 customers using our deployed software that have lost some vital functionality with this. Mathworks say they can't really help me because this is a Java issue. Well yes but if they have based their function on Java, it should also be a Matlab issue.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Web Services에 대해 자세히 알아보기

제품

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by