Searched refs:args (Results 1 - 11 of 11) sorted by relevance

/javamail/demo/src/main/java/
H A Dsendfile.java56 public static void main(String[] args) { argument
57 if (args.length != 5) {
62 String to = args[0];
63 String from = args[1];
64 String host = args[2];
65 String filename = args[3];
66 boolean debug = Boolean.valueOf(args[4]).booleanValue();
H A Dmsgmultisendsample.java55 public static void main(String[] args) { argument
56 if (args.length != 4) {
61 String to = args[0];
62 String from = args[1];
63 String host = args[2];
64 boolean debug = Boolean.valueOf(args[3]).booleanValue();
H A Dmsgsendsample.java53 public static void main(String[] args) { argument
54 if (args.length != 4) {
61 String to = args[0];
62 String from = args[1];
63 String host = args[2];
64 boolean debug = Boolean.valueOf(args[3]).booleanValue();
69 if (debug) props.put("mail.debug", args[3]);
H A Dtransport.java61 public static void main(String[] args) { argument
67 if (args.length != 4) {
71 props.put("mail.smtp.host", args[2]);
72 if (args[3].equals("true")) {
74 } else if (args[3].equals("false")) {
83 addrs = InternetAddress.parse(args[0], false);
84 from = new InternetAddress(args[1]);
H A Dregistry.java51 public static void main(String[] args) { argument
/javamail/mail/src/main/java/com/sun/mail/imap/protocol/
H A DIMAPProtocol.java477 Argument args = new Argument();
478 args.writeString(u);
479 args.writeString(p);
487 r = command("LOGIN", args);
848 Argument args = new Argument();
849 args.writeAtom("XOAUTH2");
855 args.writeAtom(irs);
857 tag = writeCommand("AUTHENTICATE", args);
1022 Argument args = new Argument();
1023 args
[all...]
H A DIMAPSaslAuthenticator.java159 Argument args = new Argument();
160 args.writeAtom(sc.getMechanismName());
169 args.writeAtom(irs);
171 tag = pr.writeCommand("AUTHENTICATE", args);
281 Argument args = new Argument();
282 args.writeString(authzid);
284 responses = pr.command("LOGIN", args);
/javamail/mail/src/main/java/com/sun/mail/iap/
H A DProtocol.java305 public String writeCommand(String command, Argument args) argument
313 if (args != null) {
315 args.write(this);
329 * @param args the arguments
332 public synchronized Response[] command(String command, Argument args) { argument
341 tag = writeCommand(command, args);
410 * @param args the arguments
413 public void simpleCommand(String cmd, Argument args) argument
416 Response[] r = command(cmd, args);
/javamail/gimap/src/main/java/com/sun/mail/gimap/protocol/
H A DGmailProtocol.java196 Argument args = new Argument();
200 args.writeArgument(itemArgs);
201 return args;
/javamail/logging/src/main/java/
H A DMailHandlerDemo.java70 * @param args the command line arguments
73 public static void main(String[] args) throws IOException { argument
74 List<String> l = Arrays.asList(args);
/javamail/mail/src/test/java/com/sun/mail/util/logging/
H A DCollectorFormatterTest.java626 Object[] args = new Object[9];
627 args[3] = count + 2L;
628 args[7] = min.getMillis();
629 args[8] = max.getMillis();
630 assertEquals(MessageFormat.format(p, args), cf.toString());

Completed in 256 milliseconds