You can download mailapi-1.5.2.jar in this page.
Open Source License
mailapi-1.5.2.jar file has the following types.
META-INF/LICENSE.txt META-INF/MANIFEST.MF META-INF/gfprobe-provider.xml META-INF/javamail.charset.map META-INF/mailcap META-INF/maven/com.sun.mail/mailapi/pom.properties META-INF/maven/com.sun.mail/mailapi/pom.xml com.sun.mail.handlers.image_gif.class com.sun.mail.handlers.image_jpeg.class com.sun.mail.handlers.message_rfc822.class com.sun.mail.handlers.multipart_mixed.class com.sun.mail.handlers.text_html.class com.sun.mail.handlers.text_plain.class com.sun.mail.handlers.text_xml.class com.sun.mail.util.ASCIIUtility.class com.sun.mail.util.BASE64DecoderStream.class com.sun.mail.util.BASE64EncoderStream.class com.sun.mail.util.BEncoderStream.class com.sun.mail.util.CRLFOutputStream.class com.sun.mail.util.DecodingException.class com.sun.mail.util.FolderClosedIOException.class com.sun.mail.util.LineInputStream.class com.sun.mail.util.LineOutputStream.class com.sun.mail.util.LogOutputStream.class com.sun.mail.util.MailConnectException.class com.sun.mail.util.MailLogger.class com.sun.mail.util.MailSSLSocketFactory.class com.sun.mail.util.MessageRemovedIOException.class com.sun.mail.util.MimeUtil.class com.sun.mail.util.PropUtil.class com.sun.mail.util.QDecoderStream.class com.sun.mail.util.QEncoderStream.class com.sun.mail.util.QPDecoderStream.class com.sun.mail.util.QPEncoderStream.class com.sun.mail.util.ReadableMime.class com.sun.mail.util.SharedByteArrayOutputStream.class com.sun.mail.util.SocketConnectException.class com.sun.mail.util.SocketFetcher.class com.sun.mail.util.TimeoutOutputStream.class com.sun.mail.util.TraceInputStream.class com.sun.mail.util.TraceOutputStream.class com.sun.mail.util.UUDecoderStream.class com.sun.mail.util.UUEncoderStream.class com.sun.mail.util.WriteTimeoutSocket.class com.sun.mail.util.logging.CollectorFormatter.class com.sun.mail.util.logging.CompactFormatter.class com.sun.mail.util.logging.LogManagerProperties.class com.sun.mail.util.logging.MailHandler.class com.sun.mail.util.logging.SeverityComparator.class javax.mail.Address.class javax.mail.AuthenticationFailedException.class javax.mail.Authenticator.class javax.mail.BodyPart.class javax.mail.EncodingAware.class javax.mail.EventQueue.class javax.mail.FetchProfile.class javax.mail.Flags.class javax.mail.Folder.class javax.mail.FolderClosedException.class javax.mail.FolderNotFoundException.class javax.mail.Header.class javax.mail.IllegalWriteException.class javax.mail.MailSessionDefinition.class javax.mail.MailSessionDefinitions.class javax.mail.Message.class javax.mail.MessageAware.class javax.mail.MessageContext.class javax.mail.MessageRemovedException.class javax.mail.MessagingException.class javax.mail.MethodNotSupportedException.class javax.mail.Multipart.class javax.mail.MultipartDataSource.class javax.mail.NoSuchProviderException.class javax.mail.Part.class javax.mail.PasswordAuthentication.class javax.mail.Provider.class javax.mail.Quota.class javax.mail.QuotaAwareStore.class javax.mail.ReadOnlyFolderException.class javax.mail.SendFailedException.class javax.mail.Service.class javax.mail.Session.class javax.mail.Store.class javax.mail.StoreClosedException.class javax.mail.StreamLoader.class javax.mail.Transport.class javax.mail.UIDFolder.class javax.mail.URLName.class javax.mail.Version.class javax.mail.event.ConnectionAdapter.class javax.mail.event.ConnectionEvent.class javax.mail.event.ConnectionListener.class javax.mail.event.FolderAdapter.class javax.mail.event.FolderEvent.class javax.mail.event.FolderListener.class javax.mail.event.MailEvent.class javax.mail.event.MessageChangedEvent.class javax.mail.event.MessageChangedListener.class javax.mail.event.MessageCountAdapter.class javax.mail.event.MessageCountEvent.class javax.mail.event.MessageCountListener.class javax.mail.event.StoreEvent.class javax.mail.event.StoreListener.class javax.mail.event.TransportAdapter.class javax.mail.event.TransportEvent.class javax.mail.event.TransportListener.class javax.mail.internet.AddressException.class javax.mail.internet.AsciiOutputStream.class javax.mail.internet.ContentDisposition.class javax.mail.internet.ContentType.class javax.mail.internet.HeaderTokenizer.class javax.mail.internet.InternetAddress.class javax.mail.internet.InternetHeaders.class javax.mail.internet.MailDateFormat.class javax.mail.internet.MailDateParser.class javax.mail.internet.MimeBodyPart.class javax.mail.internet.MimeMessage.class javax.mail.internet.MimeMultipart.class javax.mail.internet.MimePart.class javax.mail.internet.MimePartDataSource.class javax.mail.internet.MimeUtility.class javax.mail.internet.NewsAddress.class javax.mail.internet.ParameterList.class javax.mail.internet.ParseException.class javax.mail.internet.PreencodedMimeBodyPart.class javax.mail.internet.SharedInputStream.class javax.mail.internet.UniqueValue.class javax.mail.search.AddressStringTerm.class javax.mail.search.AddressTerm.class javax.mail.search.AndTerm.class javax.mail.search.BodyTerm.class javax.mail.search.ComparisonTerm.class javax.mail.search.DateTerm.class javax.mail.search.FlagTerm.class javax.mail.search.FromStringTerm.class javax.mail.search.FromTerm.class javax.mail.search.HeaderTerm.class javax.mail.search.IntegerComparisonTerm.class javax.mail.search.MessageIDTerm.class javax.mail.search.MessageNumberTerm.class javax.mail.search.NotTerm.class javax.mail.search.OrTerm.class javax.mail.search.ReceivedDateTerm.class javax.mail.search.RecipientStringTerm.class javax.mail.search.RecipientTerm.class javax.mail.search.SearchException.class javax.mail.search.SearchTerm.class javax.mail.search.SentDateTerm.class javax.mail.search.SizeTerm.class javax.mail.search.StringTerm.class javax.mail.search.SubjectTerm.class javax.mail.util.ByteArrayDataSource.class javax.mail.util.SharedByteArrayInputStream.class javax.mail.util.SharedFileInputStream.class
mailapi-1.5.2.pom file content.
<?xml version="1.0" encoding="iso-8859-1"?> <!-- DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. Copyright (c) 1997-2013 Oracle and/or its affiliates. All rights reserved. The contents of this file are subject to the terms of either the GNU General Public License Version 2 only ("GPL") or the Common Development and Distribution License("CDDL") (collectively, the "License"). You may not use this file except in compliance with the License. You can obtain a copy of the License at https://glassfish.dev.java.net/public/CDDL+GPL_1_1.html or packager/legal/LICENSE.txt. See the License for the specific language governing permissions and limitations under the License. When distributing the software, include this License Header Notice in each file and include the License file at packager/legal/LICENSE.txt. GPL Classpath Exception: Oracle designates this particular file as subject to the "Classpath" exception as provided by Oracle in the GPL Version 2 section of the License file that accompanied this code. Modifications: If applicable, add the following below the License Header, with the fields enclosed by brackets [] replaced by your own identifying information: "Portions Copyright [year] [name of copyright owner]" Contributor(s): If you wish your version of this file to be governed by only the CDDL or only the GPL Version 2, indicate your decision by adding "[Contributor] elects to include this software in this distribution under the [CDDL or GPL Version 2] license." If you don't indicate a single choice of license, a recipient has the option to distribute your version of this file under either the CDDL, the GPL Version 2 or to extend the choice of license to its licensees as provided above. However, if you add GPL Version 2 code and therefore, elected the GPL Version 2 license, then the option applies only if the new code is made subject to such option by the copyright holder. --> <!-- This project builds the JavaMail "mailapi.jar" file. This jar file contains a fully operational JavaMail implementation but without any protocol providers. It can be used with the separate protocol provider jar files (e.g., smtp.jar, imap.jar) to provide a full JavaMail runtime implementation. --> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <parent> <groupId>com.sun.mail</groupId> <artifactId>all</artifactId> <version>1.5.2</version> </parent> <modelVersion>4.0.0</modelVersion> <groupId>com.sun.mail</groupId> <artifactId>mailapi</artifactId> <packaging>jar</packaging> <name>JavaMail API (no providers)</name> <properties> <mail.packages.export> javax.mail.*; version=${mail.spec.version}, com.sun.mail.util; version=${mail.version}, com.sun.mail.util.logging; version=${mail.version}, com.sun.mail.handlers; version=${mail.version} </mail.packages.export> <mail.bundle.symbolicName> javax.mail.api </mail.bundle.symbolicName> </properties> <build> <plugins> <plugin> <artifactId>maven-dependency-plugin</artifactId> <executions> <execution> <!-- download the binaries --> <id>get-binaries</id> <phase>process-sources</phase> <goals> <goal>unpack</goal> </goals> </execution> <execution> <!-- download the sources --> <id>get-sources</id> <phase>process-sources</phase> <goals> <goal>unpack</goal> </goals> <configuration> <artifactItems> <artifactItem> <groupId>com.sun.mail</groupId> <artifactId>javax.mail</artifactId> <version>${mail.version}</version> <classifier>sources</classifier> <outputDirectory> ${project.build.directory}/sources </outputDirectory> </artifactItem> </artifactItems> </configuration> </execution> </executions> <configuration> <artifactItems> <artifactItem> <groupId>com.sun.mail</groupId> <artifactId>javax.mail</artifactId> <version>${mail.version}</version> </artifactItem> </artifactItems> <outputDirectory> ${project.build.outputDirectory} </outputDirectory> <includes> javax/**, com/sun/mail/util/**, com/sun/mail/handlers/**, META-INF/* </includes> <excludes> META-INF/javamail.default.* </excludes> </configuration> </plugin> <plugin> <artifactId>maven-jar-plugin</artifactId> <configuration> <finalName>${project.artifactId}</finalName> <archive> <manifestFile> ${project.build.outputDirectory}/META-INF/MANIFEST.MF </manifestFile> </archive> </configuration> </plugin> </plugins> </build> </project>
<dependency> <groupId>com.sun.mail</groupId> <artifactId>mailapi</artifactId> <version>1.5.2</version> </dependency>
If you think the following mailapi-1.5.2.jar downloaded from Maven central repository is inappropriate, such as containing malicious code/tools or violating the copyright, please email , thanks.
Download mailapi-1.5.2.jar file