hi ,
in using mail configuration as in mail-service.xml
please help me.
please help me.
in using mail configuration as in mail-service.xml
Code: Select all
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:<?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>
Code: Select all
BUT I WANT LIKE :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
Code: Select all
even if i send notification from ssprasad.e@gmail.com that should be shown from address like support@something.com,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
please help me.
please help me.