|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectConnectionManager
public class ConnectionManager
| Method Summary | |
|---|---|
ThisEmail |
getAttachment(javax.mail.Message m)
Method to handle messages with attachments |
ThisEmail[] |
getMail()
Method to receive mails from a server |
ThisEmail |
getPlain(javax.mail.Message m)
Method to handle messages without attachments |
void |
send(javax.mail.internet.InternetAddress to,
java.lang.String subject,
java.lang.String text)
Connects to a smtp-server and creates a new mail |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public void send(javax.mail.internet.InternetAddress to,
java.lang.String subject,
java.lang.String text)
to - Receiver of the mailsubject - Subject of the messagetext - The message, head contentpublic ThisEmail[] getMail()
public ThisEmail getAttachment(javax.mail.Message m)
m - The mail
public ThisEmail getPlain(javax.mail.Message m)
m - The mail
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||