Tags » JavaMail

Dependencies for JavaMail

references

/:project/:dependencies

<dependency>
  <!-- JavaMail RI -->
  <groupId>com.sun.mail</groupId>
  <artifactId>javax.mail</artifactId>
  <scope>runtime</scope>
</dependency>
<dependency>
  <!-- JavaMail API -->
  <groupId>javax.mail</groupId>
  <artifactId>javax.mail-api</artifactId>
  <scope>compile</scope>
  <!-- let it stay as a runtime scoped dependency
  <exclusions>
    <exclusion>
      <groupId>javax.activation</groupId>
      <artifactId>activation</artifactId>
    </exclusion>
  </exclusions>
  -->
</dependency>
… 65 more words
Programming

JavaMail enables or disables SSL 3.0

One of the features of our company’s main product is that it can send various event notifications to users and administrators by email according to various event notification policies configured. 629 more words

Java

JavaMail API - Replying Emails

In this chapter we will see how to reply to an email using JavaMail API. Basic steps followed in the program below are:

  • Get the Session object with POP and SMPT server details in the properties.
  • 754 more words
Automation

Accessing Gmail using the JavaMail API

One of the basic features that I want on Gmail is the option to delete the mails within two selected dates.I am not very sure if that is possible, but the idea really inspired me to get hands on in the JavaMail API. 256 more words

Java

Part IV: Sending email

Hej hej!! welcome to the last post.

The purpose our program is sending an email as soon as a new offer has been published. It’s time to let it do the job!!!!!!! 263 more words

Sin Categoría

Sending Mail to Gmail Account via SSL

package org.mail;

import java.util.Properties;

import javax.mail.Message;
import javax.mail.MessagingException;
import javax.mail.PasswordAuthentication;
import javax.mail.Session;
import javax.mail.Transport;
import javax.mail.internet.InternetAddress;
import javax.mail.internet.MimeMessage;

public class ConfigureAndSendMail {

private Properties properties = System.getProperties(); 542 more words

JavaMail

Mass E-Mailer using JavaMail

I had to rebuilt my previous JavaMail program as the original version was lost when my system was re-installed and unfortunately, I had no backups of this particular piece of code. 202 more words

Java