|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object wyvern.world.EmailDispatcher
This class can send email messages to users.
Method Summary | |
static java.lang.String |
loadMessage(java.lang.String path)
Loads a message from disk. |
static void |
sendMessage(java.lang.String address,
java.lang.String subject,
java.lang.String body,
java.lang.String sender,
java.lang.String replyTo)
Sends a message to a user. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static void sendMessage(java.lang.String address, java.lang.String subject, java.lang.String body, java.lang.String sender, java.lang.String replyTo)
address
- the email address to send the mail tosubject
- the subject linebody
- the email bodysender
- who the email is fromreplyTo
- the reply-to addresspublic static java.lang.String loadMessage(java.lang.String path)
path
- the path to the message under wyvern/admin/email
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |