diff --git a/.gitignore b/.gitignore index 2d34013..c213885 100644 --- a/.gitignore +++ b/.gitignore @@ -1082,3 +1082,10 @@ /bin/ /bin/ /bin/ +/bin/ +/bin/ +/bin/ +/bin/ +/bin/ +/bin/ +/bin/ diff --git a/src/core/SmtpCorelogic.java b/src/core/SmtpCorelogic.java index d639b30..0e743fb 100644 --- a/src/core/SmtpCorelogic.java +++ b/src/core/SmtpCorelogic.java @@ -99,13 +99,22 @@ protected PasswordAuthentication getPasswordAuthentication() { new InternetAddress(recepientPacket .get("recepientEmail"))); } + } catch (Exception e) { + // TODO Auto-generated catch block + e.printStackTrace(); + } + try { if (recepientPacket.get("CcRecepients") != null) { message.setRecipients(Message.RecipientType.CC, ccrecepientAddress); } - if (recepientPacket.get("BCcRecepients") != null) { -System.out.println("Wherever " ); + } catch (Exception e) { + // TODO Auto-generated catch block + e.printStackTrace(); + } + try { + if (recepientPacket.get("BccRecepients") != null) { message.setRecipients(Message.RecipientType.BCC, bccrecepientAddress); } diff --git a/src/main/AddRecepientsDialog.java b/src/main/AddRecepientsDialog.java index 38ea34b..a781960 100644 --- a/src/main/AddRecepientsDialog.java +++ b/src/main/AddRecepientsDialog.java @@ -106,7 +106,7 @@ public void actionPerformed(ActionEvent e) { protected Boolean doInBackground() throws Exception { // TODO Auto-generated method stub String recepData = addRecep.getText(); - + System.out.println(BCCTextField.getText()); recepPacket.put("CcRecepients", CCTextField.getText()); recepPacket.put("BccRecepients", BCCTextField.getText());