Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

SidneyShaw/simple-java-mail

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Here are some basic instructions to build and run the test class.

With Ant (default target is 'run'):

ant clean:
- deletes the entire target folder

ant compile:
- compiles all classes to the target folder

ant run -Dhost=smtp.somehost.com -Dport=port -Dusername=username -Dpassword=password
- runs the testclass with the given smtp server and account

ant jar:
- creates a library jar from the framework


-----------------------------------------------

Compiling and running the testclass from the command line:

mkdir target\classes
javac -cp lib\mailapi.jar;lib\smtp.jar;lib\log4j-1.2.15.jar;lib\activation.jar -d target\classes src\MailTest.java src\org\codemonkey\simplejavamail\*.java
java -cp lib\mailapi.jar;lib\smtp.jar;lib\log4j-1.2.15.jar;lib\activation.jar;target\classes -Dhost=smtp.someserver.com -Dusername=joe -Dpassword=sixpack  MailTest

About

Automatically exported from code.google.com/p/simple-java-mail

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.