|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--kotkabeans.Mail
class is used to send e-mail. For example, after adding a new user mail is sent to respective person.
| Constructor Summary | |
Mail()
|
|
| Method Summary | |
static java.lang.String |
removeUmlauts(java.lang.String original)
|
static void |
sendMail(int from,
int paramid,
int to,
java.lang.String subject,
java.lang.String msg)
Sends given message to given person. |
static void |
sendMail(int from,
int to,
java.lang.String subject,
java.lang.String msg)
Sends given message to given person. |
static boolean |
sendMail(java.lang.String from,
java.lang.String to,
java.lang.String subject,
java.lang.String msg)
Sends given message to given e-mail address. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Mail()
| Method Detail |
public static java.lang.String removeUmlauts(java.lang.String original)
public static boolean sendMail(java.lang.String from,
java.lang.String to,
java.lang.String subject,
java.lang.String msg)
to - receivers e-mail addresssubject - topic of the messagemsg - body of the message
true if sending succeeds, otherwise false
public static void sendMail(int from,
int to,
java.lang.String subject,
java.lang.String msg)
throws java.lang.Exception
from - sender's idto - receivers idssubject - topic of the messagemsg - body of the message
true if sending succeeds, otherwise false
java.lang.Exception
public static void sendMail(int from,
int paramid,
int to,
java.lang.String subject,
java.lang.String msg)
throws java.lang.Exception
from - sender's idparamid - senders personparameterid representing email addressto - receivers idssubject - topic of the messagemsg - body of the message
true if sending succeeds, otherwise false
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||