This content has been marked as final.
Show 4 replies
-
1. Re: mail alerts in JBoss Forums
unibrew Mar 23, 2007 8:27 AM (in response to ravindrareddy)Hello
I see you turned on debug mode. So, please subscribe with one user to topic/forum and then with second user post on this topic/forum and please paste here debug information from your AS console, it should tell us where the problem is.
Regards
----------------------
Ryszard Kozmik
JBoss Forums Lead
JBoss Labs Team -
2. Re: mail alerts in JBoss Forums
ravindrareddy Apr 5, 2007 2:37 AM (in response to ravindrareddy)<!-- Change to the user who will receive mail --> <property name="mail.user" value="nobody"/>
there may be many users, so it may not be possible to mention the user who will receive mail. can i keep the value as nobody.
consider i am working in domain 'abc.com'<!-- Change to the address mail will be from --> <property name="mail.from" value="nobody@nosuchhost.nosuchdomain.com"/>
so mail id will be some ravindra@abc.com<!-- Change to the SMTP gateway server --> <property name="mail.smtp.host" value="smtp.nosuchhost.nosuchdomain.com"/>
what will be this SMTP gate server<!-- Change to the mail server --> <property name="mail.pop3.host" value="pop3.nosuchhost.nosuchdomain.com"/>
what will be this mail server? -
3. Re: mail alerts in JBoss Forums
unibrew Apr 5, 2007 8:27 PM (in response to ravindrareddy)Hi
"ravindra reddy" wrote:
there may be many users, so it may not be possible to mention the user who will receive mail. can i keep the value as nobody .
In fact, this property is overrided by Forums. Instead of this "nobody" you will see idName of user which posted."ravindra reddy" wrote:
so mail id will be some ravindra@abc.com
mail.from property is also overriden and you can set it in Forums : jboss-forums.ear/portal-forums.sar/META-INF/jboss-service.xml . By default it is set to portal@example.com."ravindra reddy" wrote:
what will be this SMTP gate server
URL to server which runs SMTP service. Your MacOS should have it running, so for testing you might insert here "localhost"."ravindra reddy" wrote:
what will be this mail server?
POP3 is not important as this configuration is needed for receiving e-mails. Forums don't have yet functionality for replying to posts by e-mail, so this property is now useless.
Today I configured e-mail notification in one of my instances. From the configuration point of view all I did was changing SMTP server address to "localhost" and setting up debug mode to true.
Then:
1. started AS
2. logged in as one user and subscribed to one of forums
3. logged out
4. logged in as a different user(different user needed because user posting on subscribed topic is not notified) and posted on the same forum
5. In my log I saw full information about properly constructed and sent e-mail message and in a few seconds I received the e-mail on one of my mail accounts.
Simple isn't it? ;-)
Regards
----------------------
Ryszard Kozmik
JBoss Forums Lead
JBoss Labs Team -
4. Re: mail alerts in JBoss Forums
ravindrareddy Apr 6, 2007 1:17 AM (in response to ravindrareddy)thank you unibrew
i will go ahead with your suggetions and moreover it looks like very simple