I\'m using Java Mail API and I\'m trying to send an email through Gmail\'s SMTP. How my program works: java.util.Scanner class is used to get user input - I\'m asking user f
the following charset working to me: charset=ISO-8859-1, example:
charset=ISO-8859-1
mail.setContent(testMail.getTexto(), "text/plain; charset=ISO-8859-1");