| Home >> All >> er >> [ javamail Javadoc ] |
| | er.javamail.mailer.* (7) |
er.javamail: Javadoc index of package er.javamail.
Package Samples:
er.javamail.mailer
Classes:
ERMailDelivery: This is the main class for sending mail with the JavaMail API. You typically don't create instances of this class since it is abstract. You should create instances of its subclasses that fitted with specifical use cases. Here is an example of its usage. ERMailDeliveryHTML mail = new ERMailDeliveryHTML (); mail.setWOComponentContent (mailPage); try { mail.newMail (); mail.setFromAddress (emailFrom); mail.setReplyToAddress (emailReplyTo); mail.setSubject (emailSubject); mail.setToAddresses (new NSArray (toEmailAddresses)); // Send the mail mail.sendMail (); } catch (Exception e) { // do something ...
ERWOMailDelivery: Drop-in replacement for WOMailDelivery. ERWOMailDelivery operates just the same as WOMailDelivery, and has all of the same limitations and weird API. However, instead of using the Sun's broken* and unsupported sun.net.smtp.SmtpClient, it uses JavaMail. *sun.net.smtp.SmtpClient doesn't put addresses in angle brackets when sending the SMTP MAIL FROM command. Many SMTP servers won't work with it.
ERMailSender: This class is used to send mails in a threaded way. This is needed in WebObjects because if sending 20 mails takes 40 seconds, then the user must wait 40 seconds before attempting to use the application.
ERMailerUtilities: Collection of utilities methods used to bridge the worlds of ERCMailMessage and ERMailDelevery.
ERMailer: Mailer bridge class. Used to pull mail out of the ERMailMessage entity and send it via the ERJavaMail framework for sending mail.
ERMailDeliveryWOComponentPlainText: This ERMailDelivery subclass is specifically crafted for plain text messages using a WOComponent as redering device.
ERMailDeliveryHTML: This ERMailDelivery subclass is specifically crafted for HTML messages using a WOComponent as redering device.
ERMailDeliveryPlainText: This ERMailDelivery subclass is specifically crafted for plain text messages.
ERMailDeliveryComponentBased: This abstract class is the basis for all WOComponetn based deliverers.
ERMailerTimerTask: Timer task used when running the ERMailer in daemon mode.
ERJavaMail
ERMailAttachment
ERMailFileAttachment
ERMailTextAttachment
ERMailUtils
ERMessage
ERMimetypesMapper
ERQueue
ERMailDeliveryJapanesePlainText
Application
DirectAction
Main
| Home | Contact Us | Privacy Policy | Terms of Service |