FireBoard
Welcome, Guest
Please Login or Register.    Lost Password?
Help!!! problem with mail notification (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 1
TOPIC: Help!!! problem with mail notification
#984
hbcomcn (User)
Junior Boarder
Posts: 29
graphgraph
User Offline Click here to see the profile of this user
Re:Help!!! problem with mail notification 3 Months, 1 Week ago Karma: 0  
Thanks tidus2728, but still not working,

This is my "mail-service.xml":
Code:

<?xml version="1.0" encoding="UTF-8"?> <!-- $Id: mail-service.xml 62349 2007-04-15 16:48:15Z dimitris@jboss.org $ --> <server> <!-- ==================================================================== --> <!-- Mail Connection Factory --> <!-- ==================================================================== --> <mbean code="org.jboss.mail.MailService" name="jboss:service=mail/OpenKM"> <attribute name="JNDIName">java:/mail/OpenKM</attribute> <attribute name="User">openkmfan@gmail.com</attribute> <attribute name="Password">XXXXXX</attribute> <attribute name="Configuration"> <!-- A test configuration --> <configuration> <!-- Change to your mail server prototocol --> <property name="mail.store.protocol" value="pop3"/> <property name="mail.transport.protocol" value="smtp"/> <!-- Change to the user who will receive mail --> <property name="mail.user" value="nobody"/> <!-- Change to the mail server --> <property name="mail.pop3.host" value="pop3.nosuchhost.nosuchdomain.com"/> <!-- Change to the SMTP gateway server --> <property name="mail.smtp.host" value="smtp.gmail.com"/> <!-- The mail server port --> <property name="mail.smtp.port" value="587"/> <property name="mail.smtp.starttls.enable" value="true"/> <property name="mail.smtp.auth" value="true"/> <!-- Change to the address mail will be from --> <property name="mail.from" value="openkmfan@gmail.com"/> <!-- Enable debugging output from the javamail classes --> <property name="mail.debug" value="true"/> </configuration> </attribute> <depends>jboss:service=Naming</depends> </mbean> </server>
The "openkm-emails.properities.xml":
Code:

user1=hb.com.cn@gmail.com user2=hb.com.cn@gmail.com user3=hb.com.cn@gmail.com
The "OpenKM.cfg":
Code:

# Default configuration values # # repository.config=repository.xml # repository.home=repository # system.user=system # default.user.role=UserRol # default.admin.role=AdminRol # principal.adapter=es.git.openkm.core.UsersRolesPrincipalAdapter # max.file.size=5 # max.search.results=25 application.url=http://132.205.XXX.XXX:8080/OpenKM/es.git.openkm.frontend.Main/index.jsp
I still can't send email notification... attachments are the boot log and server log, I found there is no error in the boot log, so maybe still problem with mail-service. All help will be appreciated!!! tidus2728 wrote:
QUOTE:
Hi hbcomcn, I am intrigued by how OpenKM behaves on your machine. But, you can try and return the settings to mail-service.xml from a fresh copy of the file without any revisions then change to these settings: <attribute name="JNDIName">java:/mail/OpenKM</attribute> <attribute name="User">openkmfan@gmail.com</attribute> <attribute name="Password">XXXXXX</attribute> <property name="mail.smtp.host" value="smtp.gmail.com"/> <property name="mail.smtp.port" value="587"/> <property name="mail.smtp.starttls.enable" value="true"/> <property name="mail.smtp.auth" value="true"/> <property name="mail.from" value="openkmfan@gmail.com"/> <property name="mail.debug" value="true"/> I omitted the other lines as these need to be in default. Also make sure that your machine directly access the internet without any proxy settings, otherwise, search the forum for the proxy configuration. Then restart OpenKM and check the boot log of OpenKM to see if the mail is bound. The try sending email notification and check the server log for the debug info. Thanks.
File Attachment:
File Name: Log.zip
File Size: 79625
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#988
jllort (Admin)
Admin
Posts: 291
graphgraph
User Offline Click here to see the profile of this user
Re:Help!!! problem with mail notification 3 Months, 1 Week ago Karma: 4  
Really hbcomcn, we can't imagine which is your problem, we're sure it's external to OpenKM because mail service configuration has no much problems.

On your case I'll revise network configuration ( some firewall or similar ? ) and I'll try with other mail account (if it's an enterprise one, better ) for discarding.
 
Report to moderator   Logged Logged  
 
Be open my friend
  The administrator has disabled public write access.
#1264
martinriver (User)
Fresh Boarder
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
Re:Help!!! problem with mail notification 4 Weeks, 1 Day ago Karma: 0  
Hello

I was the same problem, but now the mail is OK.

The change correct for me:

<attribute name="JNDIName">java:/mail/OpenKM</attribute>

<property name="mail.debug" value="true"/>


Regards
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop