| | |
| | | this.sender = sender; |
| | | this.subject = subject; |
| | | |
| | | recipients = new ArrayList<String>(); |
| | | recipients = new ArrayList<>(); |
| | | recipients.add(recipient); |
| | | |
| | | body = new LocalizableMessageBuilder(); |
| | | attachments = new LinkedList<MimeBodyPart>(); |
| | | attachments = new LinkedList<>(); |
| | | bodyMIMEType = "text/plain"; |
| | | } |
| | | |
| | |
| | | this.subject = subject; |
| | | |
| | | body = new LocalizableMessageBuilder(); |
| | | attachments = new LinkedList<MimeBodyPart>(); |
| | | attachments = new LinkedList<>(); |
| | | bodyMIMEType = "text/plain"; |
| | | } |
| | | |
| | |
| | | return; |
| | | } |
| | | |
| | | LinkedList<Properties> mailServerProperties = new LinkedList<Properties>(); |
| | | LinkedList<Properties> mailServerProperties = new LinkedList<>(); |
| | | for (String s : host.getValues()) |
| | | { |
| | | Properties p = new Properties(); |