All Downloads are FREE. Search and download functionalities are using the official Maven repository.

javax.mail..Transport.swp Maven / Gradle / Ivy

There is a newer version: 1.6.2
Show newest version
b0VIM 8.0g~Y?kshannondatsunx~shannon/ws/javaxmail/mail/src/main/java/javax/mail/Transport.java
3210#"! Utp[????????V\????????t?????????l&?ad	?[???pm%??I&?
?
|
y
+
????@?p74!?
?
;
?	?	X		?wlhgSR6??????NK??~iS;7???????wp7???????H??@?y+???     * to any valid addresses depends on the Transport implementation.  See      * the exception.  Whether or not the message is still sent successfully     * is thrown.  Clients can get more detail about the failure by examining     * the Transport during message submission, a SendFailedException     * If any of the recipient addresses is detected to be invalid by     *     * method on the message before sending it. 

* send method calls the saveChanges * using message transports appropriate to each address. The * Message method getAllRecipients), * addresses specified in the message (as returned from the * Send a message. The message will be sent to all recipient /** } super(session, urlname); public Transport(Session session, URLName urlname) { */ * @param urlname URLName object to be used for this Transport * @param session Session object for this Transport. * * Constructor. /**public abstract class Transport extends Service { */ * @see javax.mail.event.TransportEvent * @see javax.mail.event.ConnectionEvent * @see javax.mail.Service * * @author Bill Shannon * @author Max Spivak * @author John Mani * * connecting to transports, and listening to connection events. * class, which provides many common methods for naming transports, * Note that Transport extends the Service * * Subclasses provide actual implementations.

* An abstract class that models a message transport./**import javax.mail.event.*;import java.util.Vector;import java.util.Map;import java.util.List;import java.util.HashMap;import java.util.ArrayList;package javax.mail; */ * holder. * only if the new code is made subject to such option by the copyright * and therefore, elected the GPL Version 2 license, then the option applies * its licensees as provided above. However, if you add GPL Version 2 code * either the CDDL, the GPL Version 2 or to extend the choice of license to * recipient has the option to distribute your version of this file under * Version 2] license." If you don't indicate a single choice of license, a * elects to include this software in this distribution under the [CDDL or GPL * only the GPL Version 2, indicate your decision by adding "[Contributor] * If you wish your version of this file to be governed by only the CDDL or * Contributor(s): * * "Portions Copyright [year] [name of copyright owner]" * enclosed by brackets [] replaced by your own identifying information: * If applicable, add the following below the License Header, with the fields * Modifications: * * file that accompanied this code. * exception as provided by Oracle in the GPL Version 2 section of the License * Oracle designates this particular file as subject to the "Classpath" * GPL Classpath Exception: * * file and include the License file at LICENSE.txt. * When distributing the software, include this License Header Notice in each * * language governing permissions and limitations under the License. * or LICENSE.txt. See the License for the specific * https://oss.oracle.com/licenses/CDDL+GPL-1.1 * obtain a copy of the License at * may not use this file except in compliance with the License. You can * and Distribution License("CDDL") (collectively, the "License"). You * General Public License Version 2 only ("GPL") or the Common Development * The contents of this file are subject to the terms of either the GNU * * Copyright (c) 1997-2017 Oracle and/or its affiliates. All rights reserved. * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER./*ad? H ?{8???|:? ? ? ? U 5 ? ? ? ? t P J H G } } queueEvent(e, transportListeners); validUnsent, invalid, msg); TransportEvent e = new TransportEvent(this, type, validSent, return; if (transportListeners == null) Address[] invalid, Message msg) { Address[] validUnsent, protected void notifyTransportListeners(int type, Address[] validSent, */ * @param msg the message * @param invalid the invalid addresses * @param validUnsent valid addresses to which message was not sent * @param validSent valid addresses to which message was sent * @param type the TransportEvent type * * in a separate thread, thus avoiding potential deadlock problems. * TransportListeners. Note that the event dispatching occurs * events from the queue and dispatches them to the registered * an internal event queue. An event dispatcher thread dequeues * The provided default implementation queues the event into





© 2015 - 2024 Weber Informatics LLC | Privacy Policy