Merge branch 'main' into lang_de

This commit is contained in:
2024-03-25 18:30:21 +01:00
8 changed files with 72 additions and 73 deletions

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 {