Skip to content
Snippets Groups Projects
Commit 10b714c5 authored by srosse's avatar srosse
Browse files

FXOLAT-391: backport mail management

parent 99a4ccdc
No related branches found
No related tags found
No related merge requests found
/**
* OLAT - Online Learning and Training<br>
* http://www.olat.org
* <p>
* Licensed under the Apache License, Version 2.0 (the "License"); <br>
* you may not use this file except in compliance with the License.<br>
* You may obtain a copy of the License at
* <p>
* http://www.apache.org/licenses/LICENSE-2.0
* <p>
* Unless required by applicable law or agreed to in writing,<br>
* software distributed under the License is distributed on an "AS IS" BASIS, <br>
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. <br>
* See the License for the specific language governing permissions and <br>
* limitations under the License.
* <p>
* Copyright (c) 2008 frentix GmbH, Switzerland<br>
* <p>
*/
package org.olat.core.util.mail;
import org.olat.core.id.OLATResourceable;
/**
*
* Description:<br>
* TODO: srosse Class Description for MailContext
*
* <P>
* Initial Date: 30 mars 2011 <br>
* @author srosse, stephane.rosse@frentix.com, http://www.frentix
*/
public interface MailContext {
public OLATResourceable getOLATResourceable();
public String getResSubPath();
public String getBusinessPath();
}
#Mon Mar 02 09:54:11 CET 2009 #Mon Mar 02 09:54:11 CET 2009
footer.no.userdata=\n\n--- \nKy mesazh \u00EBsht\u00EB d\u00EBrguar automatikisht p\u00EBrmes OLAT-it.\n{0} footer.no.userdata=\n\n--- \nKy mesazh \u00EBsht\u00EB d\u00EBrguar automatikisht p\u00EBrmes OLAT-it.\n{0}
footer.with.userdata=\n\n--- \n{0} {1} ({2})\n{3}\n\nKy mesazh \u00EBsht\u00EB d\u00EBrguar p\u00EBrmes OLAT-it.\n{4} footer.with.userdata=\n\n--- \n{2} {3} ({0})\n{4}\n\nKy mesazh \u00EBsht\u00EB d\u00EBrguar p\u00EBrmes OLAT-it.\n{1}
help.hover.mail-templ=Ndihma p\u00EBr shfryt\u00EBzimin e maketave t\u00EB post\u00EBs help.hover.mail-templ=Ndihma p\u00EBr shfryt\u00EBzimin e maketave t\u00EB post\u00EBs
mailhelper.error.attachment=Posta nuk mund t\u00EB d\u00EBrgohet\: bashk\u00EBngjitje e pavlefshme. Ju lutemi njoftoji pranuesit manualisht. mailhelper.error.attachment=Posta nuk mund t\u00EB d\u00EBrgohet\: bashk\u00EBngjitje e pavlefshme. Ju lutemi njoftoji pranuesit manualisht.
mailhelper.error.failedusers=Posta nuk mund t\u00EB d\u00EBrgohet personat n\u00EB vijim.Ju lutemi njoftoji ata manualisht dhe kontrollo adresat e tyre postare. mailhelper.error.failedusers=Posta nuk mund t\u00EB d\u00EBrgohet personat n\u00EB vijim.Ju lutemi njoftoji ata manualisht dhe kontrollo adresat e tyre postare.
......
...@@ -219,8 +219,8 @@ public class PwChangeController extends BasicController { ...@@ -219,8 +219,8 @@ public class PwChangeController extends BasicController {
// nothing to do // nothing to do
} }
}; };
//fxdiff VCRP-16: intern mail system
MailerResult result = MailerWithTemplate.getInstance().sendMail(identity, null, null, mailTempl, null); MailerResult result = MailerWithTemplate.getInstance().sendRealMail(identity, mailTempl);
if(result.getReturnCode() == 0) { if(result.getReturnCode() == 0) {
getWindowControl().setInfo(translate("email.sent")); getWindowControl().setInfo(translate("email.sent"));
// prepare next step // prepare next step
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment