Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    com.isomorphic.mail.SenderNotSetException: Must specify the sender

    hi,

    I get the following exception
    Code:
    com.isomorphic.mail.SenderNotSetException: Must specify the sender
    	at com.isomorphic.mail.MailMessage.buildMessage(MailMessage.java:364)
    	at com.isomorphic.mail.MailMessage.send(MailMessage.java:521)
    although I have the property "mail.system.mail.smtp.from" set in server.properties.

    server.properties:
    Code:
    mail.system.mail.smtp.host: xxxx
    mail.system.mail.smtp.port: 25
    mail.system.mail.smtp.auth: true
    mail.system.mail.smtp.user: xxx@xyz.com
    mail.system.mail.smtp.password: xxxxx
    mail.system.mail.debug: true
    mail.system.mail.smtp.from: xxx@xyz.com
    Code:
    Code:
    MailMessage message = new MailMessage();
    message.addRecipients("test@xyz.com");
    message.setSubject("Greetings");
    message.setBody("Hello everyone!");
    try {
    	message.send();
    } catch (Exception e) {
    	e.printStackTrace();
    }
    i used: SNAPSHOT_v9.0d_2013-05-16/PowerEdition Deployment 2013-05-16

    best regards,
    mirko

    #2
    This is now fixed. Please try with tomorrow's nightly build of 9.1d

    Comment


      #3
      thank you.
      Please fix the bug in version 9.0 too. The version 9.1 is still too new for production.

      Comment


        #4
        do you have any problems, because today there is still no build?

        Comment

        Working...
        X