Skip to content

2020Media

Home Contact Us News Webmail
 

Newsflash

2020Media is offering full support for Joomla, Magento, SugarCRM on hosting packages
 
You are here: Home arrow Tools arrow Dynamic Content inc Java arrow Using JavaMail
Using JavaMail PDF Print E-mail

Using Java Mail

Your Java account can be used to send emails using the JavaMail API. The provides fairly simple standard methods to send and receive emails, handle attachments and other mail related activities. You can find the API and documention on the Sun site at http://www.java.sun.com.

Note: Spamming in any form is not acceptable, and is in violation of the terms and conditions of your Java Account.

Examples

Here are examples of pages sending test mesages. For the JSP page for sending mail click here and for the servlet version click here.

If you would like the source code for these, please Contact Us and we will send these to you.

You will need to include the following jar files in your WEB-INF/lib directory to use JavaMail.

mail.jar
activation.jar

(both of these are available from the Sun site.)

 
< Prev   Next >
Advertisement

Domain Search

Preferred Extensions -
.com .co.uk
.net .org
.me .eu
Nominet Members
Nominet members since 1999
CentralNic Accredited Registrar
Accredited since 2001
Imperial Registrations Platinum Partner
ICANN Accredited
RIPE member
RIPE member since 2002
 
[+]
  • Narrow screen resolution
  • Wide screen resolution
  • Auto width resolution
  • Increase font size
  • Decrease font size
  • Default font size