Tags » JavaMail

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