|
Pessoal, tenho o seguinte problema: Oq posso fazer pra resolver isso? VALEW criei o seguinte m�todo: ======================= M�TODO ============================= public static void sendEMail(String from, String to[], String subject, String file, Properties prop) throws MessagingException{ Properties properties = prop == null ? System.getProperties() : prop;Session session = Session.getInstance(properties, null);Message message = new MimeMessage(session); aqui est� o problemaInternetAddress fromAddress = new InternetAddress(from);InternetAddress toAddress[] = new InternetAddress[to.length]; for(int i = 0; i < to.length; i++) if(to[i] != null)toAddress[i] = new InternetAddress(to[i]);sendEmail(message, fromAddress, toAddress, subject, file); } o erro gerado : =================== ERRO ====================================== java.lang.NoClassDefFoundError: javax/activation/DataSource at com.nexo.mail.MailUtils.sendEMail(MailUtils.java:27) at com.nexo.mail.apps.sender.EMailSender.main(EMailSender.java:43) Exception in thread "main" =======================================================
Yahoo! Groups Links
|
- Re: [JUG-Petro] E-MAIL com problemas Gustavo Barroso
- Re: [JUG-Petro] E-MAIL com problemas Gustavo Barroso
- Re: [JUG-Petro] E-MAIL com problemas Conrad Peres
- Re: [JUG-Petro] E-MAIL com problema... Gustavo Barroso
- Re: [JUG-Petro] E-MAIL com problema... Aldenir de Farias Barboza
- Re: [JUG-Petro] E-MAIL com problemas Nilton
