KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > axis2 > transport > mail > server > MailConstants


1 package org.apache.axis2.transport.mail.server;
2
3 /**
4  * @author Chamil Thanthrimudalige
5  * @author Chamikara Jayalath
6  */

7
8 public interface MailConstants {
9     public final int SMTP_SERVER_PORT = (1024 + 25);
10     public final String JavaDoc SERVER_DOMAIN = "localhost";
11     public final int POP_SERVER_PORT = (1024 + 110);
12
13     public final String JavaDoc COMMAND_UNKNOWN = "550 Unknown command";
14     public final String JavaDoc COMMAND_EXIT = "EXIT";
15     public final String JavaDoc MAIL_OK = "250 OK performed command MAIL";
16     public final String JavaDoc MAIL_ERROR = "550 Error processign MAIL command";
17     public final String JavaDoc RCPT_OK = "250 OK performed command RCPT";
18     public final String JavaDoc RCPT_ERROR = "550 Unknown recipient";
19     public final String JavaDoc DATA_START_SUCCESS = "354 OK Ready for data";
20     public final String JavaDoc DATA_END_SUCCESS = "250 OK finished adding data";
21     public final String JavaDoc COMMAND_TRANSMISSION_END = "221 Closing SMTP service.";
22     public final String JavaDoc HELO_REPLY = "250 OK";
23     public final String JavaDoc OK = "+OK ";
24     public final String JavaDoc ERR = "-ERR ";
25     public final String JavaDoc USER = "USER";
26     public final String JavaDoc PASS = "PASS";
27     public final String JavaDoc STAT = "STAT";
28     public final String JavaDoc LIST = "LIST";
29     public final String JavaDoc RETR = "RETR";
30     public final String JavaDoc DELE = "DELE";
31     public final String JavaDoc NOOP = "NOOP";
32     public final String JavaDoc RSET = "RSET";
33     public final String JavaDoc QUIT = "QUIT";
34 }
35
Popular Tags