Configure Resources for JavaMail Sessions

Configure a new Resource for the JavaMail Sessions:

  • JNDI Name: mail/notifyMailSession
  • Mail Host: <your mail server>
    Note: The Project recommends that you install a mail server on the same
    machine as GlassFish and use localhost for this entry.
  • Default User: dataversenotify
    This does not need to be a real mail account.
  • Default Return Address: do-not-reply@<your mail server>