fixed texts

Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
This commit is contained in:
2024-03-25 18:30:05 +01:00
parent 9e363cc0e8
commit 49ecacc797
8 changed files with 72 additions and 73 deletions

View File

@@ -3,7 +3,6 @@ package de.srsoftware.widerhall.mail;
import javax.mail.MessagingException;
public interface ProblemListener {
public void onImapException(MessagingException e);
public void clearProblems();
public void onImapException(MessagingException e);
}

View File

@@ -62,7 +62,7 @@ public class SmtpClient {
MimeMultipart multipart = new MimeMultipart();
if (forwardAsAttachment){
MimeBodyPart bodyPart = new MimeBodyPart();
bodyPart.setText("Find the forwarded message in the attachment(s)!\n");
bodyPart.setText(t("Find the forwarded message in the attachment(s)!\n"));
multipart.addBodyPart(bodyPart);
// create another body part to contain the message to be forwarded
@@ -109,9 +109,9 @@ public class SmtpClient {
}
public void send(Message message) throws MessagingException {
LOG.debug("Versende Mail…");
LOG.debug("sending mail…");
Transport.send(message,username,password);
LOG.debug("versendet");
LOG.debug("…sent");
}
public void send(String senderAdress, String senderName, String receivers, String subject, String content) throws MessagingException, UnsupportedEncodingException {