#86 Mail Server Provider Patch

closed-fixed
nobody
None
5
2007-12-31
2007-12-19
Jason Ngo
No

Some mail servers refuse to send a message without a sent date. The following patch "MailProvider.java" will add a sent date to the email message so the mail server can send the message successfully.

src/org/efs/openreports/providers/MailProvider.java

...
import java.util.Date;
...
Message msg = new MimeMessage(mailSession);
msg.setSentDate(new Date());

Discussion

  • Jason Ngo
    Jason Ngo
    2007-12-19

    MailProvider.java

     
    Attachments
  • Erik Swenson
    Erik Swenson
    2007-12-31

    • status: open --> closed-fixed
     
  • Erik Swenson
    Erik Swenson
    2007-12-31

    Logged In: YES
    user_id=477376
    Originator: NO

    Fixed in OpenReports 3.0.1