Thank you, sedj. The session and methods are correct. Thanks to your advance I found the numbers of errors - one is 504 (authentification, so it's quite easy to solve once you know what it is) and the second - 554 (which I do not know what to do with; but at least I know what is wrong here).
I've got that problem with email client. I used the class Transport and method send(), but it doesn't send any message. There is an error somewhere but I cannot figure out where. Here is a part of the code:
Message newMessage = new MimeMessage(session);
newMessage.setFrom(new...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.