mail-server
Test sending email without email server
You can configure your application to use the Console Backend for sending e-mail. It writes e-mails to standard out instead of sending them. Change your settings.py to include this line: EMAIL_BACKEND = ‘django.core.mail.backends.console.EmailBackend’ Don’t forget to remove it for production.
How can I send an email by Java application using GMail, Yahoo, or Hotmail?
First download the JavaMail API and make sure the relevant jar files are in your classpath. Here’s a full working example using GMail. import java.util.*; import javax.mail.*; import javax.mail.internet.*; public class Main { private static String USER_NAME = “*****”; // GMail user name (just the part before “@gmail.com”) private static String PASSWORD = “********”; // … Read more