| |
|
| java.lang.Object org.apache.mailet.GenericMailet org.apache.james.transport.mailets.ServerTime
ServerTime | public class ServerTime extends GenericMailet (Code) | | Returns the current time for the mail server. Sample configuration:
|
Method Summary | |
public String | getMailetInfo() Return a string describing this mailet. | public void | service(Mail mail) Sends a message back to the sender indicating what time the server thinks it is. |
getMailetInfo | public String getMailetInfo()(Code) | | Return a string describing this mailet.
a string describing this mailet |
service | public void service(Mail mail) throws javax.mail.MessagingException(Code) | | Sends a message back to the sender indicating what time the server thinks it is.
Parameters: mail - the mail being processed throws: MessagingException - if an error is encountered while formulating the reply message |
|
|
|