fixed mail envelope from property
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user