Tags » JavaMail

Dependencies for JavaMail



  <!-- JavaMail RI -->
  <!-- JavaMail API -->
  <!-- let it stay as a runtime scoped dependency
… 65 more words

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


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

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


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


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