How to add a mail receiver in JavaMelody
- Article Type: General
- Product: Voyager
- Product Version: 7
Desired Outcome Goal:
Add a mail receiver to receive JavaMelody report.
Procedure:
!. Log in to the server as voyager.
2. cd /m1/voyager/xxxdb/tomcat/conf.
3. Edit server.xml.
4. Look for the following section:
<Resource name="mail/MySession" auth="Container" type="javax.mail.Session"
mail.smtp.host="mail.exlibris.co.il"
mail.smtp.user=""
mail.smtp.password=""
mail.from="noreply-xxxxb.vxws@example.com"
/>
5. Add the following statement below the section in step 4. with value equal to receiver ID:
6. Go through step 4 and 5 until the end of server.xml.
7. Restart tomcat.
<Parameter name='javamelody.admin-emails' value='receiver@xxxx.com' override='false'/>
Category: Voyager
Subject: JavaMelody
- Article last edited: 8/21/2014