View Javadoc
1 /* 2 * Generated file - Do not edit! 3 */ 4 package org.enableit.tools.email.interfaces; 5 6 import java.lang.*; 7 import javax.ejb.SessionContext; 8 9 /*** 10 * Remote interface for Email. 11 * @author Tim Stephenson. 12 * @xdoclet-generated at 27-Jan-03 18:38:16 13 */ 14 public interface Email 15 extends javax.ejb.EJBObject 16 { 17 /*** 18 * Sends an email message using the Mail server configured in the JNDI 19 * environment. 20 * @param to Target email address. 21 * @param from Message 'from' address. If supplied this overrides the 22 default in the JNDI context. 23 * @param subject Subject for the mail message. 24 * @param message Body text for the mail message. 25 * @throws java.rmi.RemoteException System exception, notably 26 misconfiguration of mail server. 27 */ 28 public void sendEmail( java.lang.String to,java.lang.String from,java.lang.String subject,java.lang.String message ) throws java.rmi.RemoteException; 29 30 /*** 31 * Sends an email message using the Mail server configured in the JNDI 32 * environment and creates an attachment too. 33 * @param to Target email address. 34 * @param from Message 'from' address. If supplied this overrides the 35 default in the JNDI context. 36 * @param subject Subject for the mail message. 37 * @param message Body text for the mail message. 38 * @param attachmentText Text to create as a text/plain attachment. 39 * @throws java.rmi.RemoteException System exception, notably 40 misconfiguration of mail server. 41 */ 42 public void sendEmail( java.lang.String to,java.lang.String from,java.lang.String subject,java.lang.String message,java.lang.String attachmentText ) throws java.rmi.RemoteException; 43 44 /*** 45 * Sends an email made up of a message and an attachment. 46 * Converts a URL reference to an InputStream. 47 * The URL must be accessible using the http(s) protocol. 48 * @param to Target email address. 49 * @param from Message 'from' address. If supplied this overrides the 50 default in the JNDI context. 51 * @param subject Subject for the mail message. 52 * @param message Body text for the mail message. 53 * @param attachmentUrl URL to fetch and create as an attachment. 54 * @throws java.rmi.RemoteException System exception, notably 55 misconfiguration of mail server. 56 */ 57 public void sendEmail( java.lang.String to,java.lang.String from,java.lang.String subject,java.lang.String message,java.net.URL attachmentUrl ) throws java.rmi.RemoteException; 58 59 /*** 60 * Sends an email made up of a message and an attachment. 61 * Converts a URL reference to an InputStream. 62 * The URL must be accessible using the http(s) protocol. 63 * @param bean An <code>EmailConfigBean</code> containing all the details 64 for the message. 65 * @throws java.rmi.RemoteException System exception, notably 66 misconfiguration of mail server. 67 */ 68 public void sendEmail( org.enableit.tools.email.interfaces.EmailConfigBean bean ) throws java.rmi.RemoteException; 69 70 }

This page was automatically generated by Maven