[gatein-issues] [JBoss JIRA] Commented: (GTNPORTAL-882) Smart handling of unconfigured MailService
Minh Hoang TO (JIRA)
jira-events at lists.jboss.org
Tue Nov 30 21:30:04 EST 2010
[ https://jira.jboss.org/browse/GTNPORTAL-882?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12566363#comment-12566363 ]
Minh Hoang TO commented on GTNPORTAL-882:
-----------------------------------------
The implementation of MailService should declare a method validateConfig(), this method is invoked as sending mail is failed
> Smart handling of unconfigured MailService
> ------------------------------------------
>
> Key: GTNPORTAL-882
> URL: https://jira.jboss.org/browse/GTNPORTAL-882
> Project: GateIn Portal
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Reporter: Patrice Lamarque
> Assignee: Minh Hoang TO
> Priority: Optional
> Labels: portal-s43
> Fix For: 3.2.0-GA
>
> Original Estimate: 4 hours
> Remaining Estimate: 4 hours
>
> An implementation of org.exoplatform.services.mail.MailService that would be able to detect when no configuration is set.
> Then it would send an applicative exception that can be catched by the application layer to invite administrators to configure the mailservice with their own.
> For instance, it could warn the user : "We could not send the recovery email because your admin has not configured it properly"
> And give more directions in the logs for the admin : "The MailService was not configured. Please edit mail-configuration.xml and set your own settings."
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the gatein-issues
mailing list