01: package com.openedit.modules.email;
02:
03: import javax.mail.MessagingException;
04:
05: import com.openedit.OpenEditException;
06: import com.openedit.WebPageRequest;
07: import com.openedit.modules.BaseModule;
08: import com.openedit.page.Page;
09:
10: public class MailTestModule extends BaseModule {
11:
12: private PostMail postMail;
13:
14: protected void sendEmail(WebPageRequest inReq)
15: throws OpenEditException {
16: System.out.println("Send Email being accessed");
17: Page page = inReq.getPage();
18:
19: }
20:
21: public PostMail getPostMail() {
22: return postMail;
23: }
24:
25: public void setPostMail(PostMail postMail) {
26: this.postMail = postMail;
27: }
28: }
|