fixed mail envelope from property

This commit is contained in:
2022-04-24 16:39:22 +02:00
parent 74b4d2d395
commit 742dd673a9
3 changed files with 9 additions and 5 deletions

View File

@@ -87,7 +87,7 @@ public class MailingList implements MessageHandler, ProblemListener {
this.email = email;
this.name = name;
this.state = state;
this.smtp = new SmtpClient(smtpHost,smtpPort,smtpUser,smtpPass);
this.smtp = new SmtpClient(smtpHost,smtpPort,smtpUser,smtpPass,email);
this.imap = new ImapClient(imapHost,imapPort,imapUser,imapPass,inbox,this);
}
@@ -721,7 +721,7 @@ public class MailingList implements MessageHandler, ProblemListener {
this.email = email;
}
this.name = name;
smtp = new SmtpClient(smtpHost,smtpPort,smtpUser,smtpPass);
smtp = new SmtpClient(smtpHost,smtpPort,smtpUser,smtpPass,email);
imap = new ImapClient(imapHost,imapPort,imapUser,imapPass,inbox,this);
if (this.hasState(STATE_ENABLED)) imap.start().addListener(this);
}