Ignore:
Timestamp:
Apr 1, 2026, 10:23:38 AM (3 hours ago)
Author:
alloc
Message:

AEI 2.33: Updated help request sending to use ae-support@… as sender and put the requester's mail in ReplyTo

File:
1 edited

Legend:

Unmodified
Added
Removed
  • java/installer2/src/net/oni2/aeinstaller/gui/reporter/ReporterDialog.java

    r1034 r1211  
    1313import javax.activation.DataSource;
    1414import javax.activation.FileDataSource;
     15import javax.mail.Address;
    1516import javax.mail.AuthenticationFailedException;
    1617import javax.mail.Message;
     
    6869        private final String SMTP_HOST_NAME = "mail.illy.bz";
    6970        private final String EMAIL_SUBJECT = "AE support request";
     71        private final String EMAIL_FROM = "ae-support@oni2.net";
    7072        private final String EMAIL_TO = "ae-support@oni2.net";
    7173
     
    118120                        // create a message
    119121                        Message msg = new MimeMessage(session);
    120                         msg.setFrom(new InternetAddress(txtMail.getText()));
     122
     123                        msg.setFrom(new InternetAddress(EMAIL_TO));
     124                        msg.setReplyTo(new Address[] { new InternetAddress(txtMail.getText())});
    121125                        msg.setRecipient(RecipientType.TO, new InternetAddress(EMAIL_TO));
    122126                        if (chkGetCopy.isSelected())
Note: See TracChangeset for help on using the changeset viewer.