Searched refs:transport (Results 1 - 3 of 3) sorted by relevance

/javamail/mail/src/main/java/javax/mail/event/
H A DTransportEvent.java60 * transport firing this event. validSent[] contains all the addresses
61 * this transport sent to successfully. validUnsent[] and invalid[]
103 * @param transport The Transport object
111 public TransportEvent(Transport transport, int type, Address[] validSent, argument
114 super(transport);
/javamail/mail/src/main/java/javax/mail/
H A DTransport.java51 * An abstract class that models a message transport.
243 Transport transport;
249 transport = s.getTransport(addresses[0]);
252 transport.connect(user, password);
254 transport.connect();
255 transport.sendMessage(msg, addresses);
257 transport.close();
274 if ((transport = s.getTransport(protaddresses[0])) == null) {
282 transport.connect();
283 transport
[all...]
/javamail/demo/src/main/java/
H A Dtransport.java39 * transport is a simple program that creates a message, explicitly
44 * usage: <code>java transport <i>"toaddr1[, toaddr2]*" from smtphost
57 public class transport implements ConnectionListener, TransportListener { class in inherits:ConnectionListener,TransportListener
59 static String msgText2 = "\nThis was sent by transport.java demo program.";
95 transport t = new transport();
99 public transport() {} method in class:transport
110 msg.setSubject("JavaMail APIs transport.java Test");
115 // get the smtp transport for the address
123 // connect the transport
[all...]

Completed in 508 milliseconds