Commit e95b3ed5 authored by Matt Tucker's avatar Matt Tucker Committed by matt

Fixed Javadoc.

git-svn-id: http://svn.igniterealtime.org/svn/repos/wildfire/trunk@3434 b35dd754-fafc-0310-a699-88a17e54d16e
parent 61cd75b3
...@@ -29,25 +29,22 @@ import javax.mail.internet.*; ...@@ -29,25 +29,22 @@ import javax.mail.internet.*;
* or to add messages into a queue to be sent. Using these methods, you can * or to add messages into a queue to be sent. Using these methods, you can
* send emails in the following couple of ways:<p> * send emails in the following couple of ways:<p>
* <pre> * <pre>
* EmailTask emailTask = new EmailTask(); * EmailService.sendMessage(
* emailTask.addMessage(
* "Joe Bloe", "jbloe@place.org", * "Joe Bloe", "jbloe@place.org",
* "Jane Doe", "jane@doe.com", * "Jane Doe", "jane@doe.com",
* "Hello...", * "Hello...",
* "This is the body of the email..." * "This is the body of the email...",
* null
* ); * );
* emailTask.run();
* </pre> * </pre>
* or * or
* <pre> * <pre>
* EmailTask emailTask = new EmailTask(); * Message message = EmailService.createMimeMessage();
* Message message = emailTask.createMimeMessage();
* // call setters on the message object * // call setters on the message object
* // . * // .
* // . * // .
* // . * // .
* emailTask.sendMessage(message); * emailService.sendMessage(message);
* emailTask.run();
* </pre><p> * </pre><p>
* *
* This class is configured with a set of Jive properties:<ul> * This class is configured with a set of Jive properties:<ul>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment