• Notification from one mail address

  • OpenKM has many interesting features, but requires some configuration process to show its full potential.
OpenKM has many interesting features, but requires some configuration process to show its full potential.
Forum rules: Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
 #7805  by ssprasad.e
 
hi ,

in using mail configuration as in mail-service.xml
Code: Select all
<?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=OpenKM">
    <attribute name="JNDIName">java:/mail/OpenKM</attribute>
    <attribute name="User">ssprasad.e</attribute>
    <attribute name="Password">123456</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  -->
        
   
        <!-- Change to the mail server  -->
        <property name="mail.pop3.host" value="pop.gmail.com"/>
   
        <!-- Change to the SMTP gateway server -->
        <property name="mail.smtp.host" value="pop.gmail.com"/>
        <property name="mail.smtp.starttls.enable" value="true" />
        
        <!-- The mail server port -->
        
   
        <!-- Change to the address mail will be from  -->
        
        <property name="mail.smtp.user" value="ssprasad.e@gmail.com"/>
        <property name="mail.smtp.password" value="123456"/>
        <property name="mail.smtp.auth" value="true"/>
   
        <!-- Enable debugging output from the javamail classes -->
        <property name="mail.debug" value="false"/>
      </configuration>
    </attribute>
    <depends>jboss:service=Naming</depends>
  </mbean>
</server>
if i send notification to the users, then from address of received mails should be like support@somthing.com but not from ssprasad.e@gmail.com. They are receiving notification like below:
Code: Select all
from	:ssprasad.e@gmail.com
to:	saibaba@gmail.com
date	Mon, Jan 3, 2011 at 10:41 AM
subject	Redpine Signals Notification : Documentation/Software Update - DialyVisit.txt
mailed-by	gmail.com
	
Message: hi shyam
BUT I WANT LIKE :
Code: Select all
from	:support@something.com
to:	saibaba@gmail.com
date	Mon, Jan 3, 2011 at 10:41 AM
subject	Redpine Signals Notification : Documentation/Software Update - DialyVisit.txt
mailed-by	gmail.com
	
Message: hi shyam
even if i send notification from ssprasad.e@gmail.com that should be shown from address like support@something.com,
please help me.
please help me.

About Us

OpenKM is part of the management software. A management software is a program that facilitates the accomplishment of administrative tasks. OpenKM is a document management system that allows you to manage business content and workflow in a more efficient way. Document managers guarantee data protection by establishing information security for business content.