Skip to content

Commit

Permalink
add parties to email send dialog when reply / replyall is used. close #…
Browse files Browse the repository at this point in the history
  • Loading branch information
j-dimension committed Oct 11, 2024
1 parent a443167 commit 5c95a69
Showing 1 changed file with 9 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -838,6 +838,7 @@ private void cmdReplyActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRS
dlg = EmailUtils.reply(this.outlookMsg, this.content.getBody(), this.content.getContentType());
}
dlg.setArchiveFile(this.contextArchiveFile, this.contextFolder);
this.setPartiesToSendDialog(dlg);
FrameUtils.centerDialog(dlg, null);
dlg.setVisible(true);

Expand All @@ -851,6 +852,7 @@ private void cmdReplyActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRS
private void cmdReplyAllActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_cmdReplyAllActionPerformed
SendEmailDialog dlg = new SendEmailDialog(true, EditorsRegistry.getInstance().getMainWindow(), false);
dlg.setArchiveFile(this.contextArchiveFile, this.contextFolder);
this.setPartiesToSendDialog(dlg);

if (this.emlMsg != null) {
MessageContainer msgC = this.emlMsg;
Expand Down Expand Up @@ -951,9 +953,7 @@ private void cmdReplyAllActionPerformed(java.awt.event.ActionEvent evt) {//GEN-F

}//GEN-LAST:event_cmdReplyAllActionPerformed

private void cmdForwardActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_cmdForwardActionPerformed
SendEmailDialog dlg = new SendEmailDialog(true, EditorsRegistry.getInstance().getMainWindow(), false);
dlg.setArchiveFile(this.contextArchiveFile, this.contextFolder);
private void setPartiesToSendDialog(SendEmailDialog dlg) {
if (this.contextArchiveFile != null) {
try {
ClientSettings settings = ClientSettings.getInstance();
Expand All @@ -967,6 +967,12 @@ private void cmdForwardActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FI
log.error("Unable to add recipient candidates", t);
}
}
}

private void cmdForwardActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_cmdForwardActionPerformed
SendEmailDialog dlg = new SendEmailDialog(true, EditorsRegistry.getInstance().getMainWindow(), false);
dlg.setArchiveFile(this.contextArchiveFile, this.contextFolder);
this.setPartiesToSendDialog(dlg);

if (this.emlMsg != null) {
MessageContainer msgC = this.emlMsg;
Expand Down

0 comments on commit 5c95a69

Please sign in to comment.