KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > espada > bugtracker > util > SimpleEmail


1
2 package com.espada.bugtracker.util;
3
4 import javax.mail.Message JavaDoc;
5 import javax.mail.MessagingException JavaDoc;
6
7 // Referenced classes of package com.sr.espada.se.util.mail:
8
// Email
9

10 public class SimpleEmail extends Email
11 {
12
13     public Email setMsg(String JavaDoc s)
14         throws MessagingException JavaDoc
15     {
16         message.setContent(s, "text/plain");
17         return this;
18     }
19
20     public SimpleEmail(String JavaDoc mailserver)
21         throws MessagingException JavaDoc
22     {
23         super.init(mailserver);
24     }
25 }
26
Popular Tags