Oracle Application Server Wireless Java API Reference
B10400-01

oracle.panama.messaging.common
Class EmailSetting

java.lang.Object
  |
  +--java.util.Dictionary
        |
        +--java.util.Hashtable
              |
              +--oracle.panama.messaging.common.EmailSetting
All Implemented Interfaces:
java.lang.Cloneable, java.util.Map, java.io.Serializable

public class EmailSetting
extends java.util.Hashtable

This class can be used to create an EmailSetting which can be send as SmartMessage(Supported by Nokia phones only). A typical email-setting looks like: Mname: Company_access Muid: Username Mpwd: secretpw Madr: Username@serv.provid.net Mrcv: imparserver.provid.net Msnd: smtpserver.provid.net Mpro: IM

Author:
vbarmola
See Also:
Serialized Form

Field Summary
static java.lang.String COLON
           
static int DEST_PORT
           
static java.lang.String IMAP
           
static java.lang.String LINEFEED
           
static java.lang.String MAILIAP
           
static java.lang.String MAILINGADDRESSING
           
static java.lang.String MAILPASSWORD
           
static java.lang.String MAILPROTOCOL
           
static java.lang.String MAILRECIEVINGHOST
           
static java.lang.String MAILSENDINGHOST
           
static java.lang.String MAILUSERID
           
static java.lang.String MIME
           
static int ORG_PORT
           
static java.lang.String PHONE_MODEL
           
static java.lang.String POP3
           

 

Constructor Summary
EmailSetting()
           

 

Method Summary
 void setEmailAdd(java.lang.String emailAdd)
          Set the user's email address.
 void setMailIAPName(java.lang.String iap)
          Set the IAP (interner access point).
 void setPassword(java.lang.String password)
          Set the remote mailbox password.
 void setPhoneModel(java.lang.String model)
          Set the phone model Eg: "Nokia 9290"
 void setProtocol(java.lang.String protocol)
          Set the protocol of the receiving host
 void setReceivingHost(java.lang.String recvHost)
          Set the host name of the IMAP/POP server.
 void setSendingHost(java.lang.String sendHost)
          Set the host name of the SMTP server.
 void setUsername(java.lang.String username)
          Set the remote mailbox username.

 

Methods inherited from class java.util.Hashtable
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, remove, size, toString, values

 

Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait

 

Field Detail

MIME

public static final java.lang.String MIME
See Also:
Constant Field Values

PHONE_MODEL

public static final java.lang.String PHONE_MODEL
See Also:
Constant Field Values

DEST_PORT

public static final int DEST_PORT
See Also:
Constant Field Values

ORG_PORT

public static final int ORG_PORT
See Also:
Constant Field Values

MAILIAP

public static final java.lang.String MAILIAP
See Also:
Constant Field Values

MAILUSERID

public static final java.lang.String MAILUSERID
See Also:
Constant Field Values

MAILPASSWORD

public static final java.lang.String MAILPASSWORD
See Also:
Constant Field Values

MAILINGADDRESSING

public static final java.lang.String MAILINGADDRESSING
See Also:
Constant Field Values

MAILRECIEVINGHOST

public static final java.lang.String MAILRECIEVINGHOST
See Also:
Constant Field Values

MAILSENDINGHOST

public static final java.lang.String MAILSENDINGHOST
See Also:
Constant Field Values

MAILPROTOCOL

public static final java.lang.String MAILPROTOCOL
See Also:
Constant Field Values

IMAP

public static final java.lang.String IMAP
See Also:
Constant Field Values

POP3

public static final java.lang.String POP3
See Also:
Constant Field Values

COLON

public static final java.lang.String COLON
See Also:
Constant Field Values

LINEFEED

public static final java.lang.String LINEFEED
See Also:
Constant Field Values
Constructor Detail

EmailSetting

public EmailSetting()
Method Detail

setPhoneModel

public void setPhoneModel(java.lang.String model)
Set the phone model Eg: "Nokia 9290"

setMailIAPName

public void setMailIAPName(java.lang.String iap)
Set the IAP (interner access point).
Parameters:
iap - : A String with the IAP Name, cannot be a linefeed. The maximum length is 50.

setUsername

public void setUsername(java.lang.String username)
Set the remote mailbox username.
Parameters:
username - any character expect linefeed, maximum length 50.

setPassword

public void setPassword(java.lang.String password)
Set the remote mailbox password.
Parameters:
password - any character expect linefeed, maximum length 50.

setEmailAdd

public void setEmailAdd(java.lang.String emailAdd)
Set the user's email address.
Parameters:
emailAdd - any character expect linefeed, maximum length 100.

setReceivingHost

public void setReceivingHost(java.lang.String recvHost)
Set the host name of the IMAP/POP server.

setSendingHost

public void setSendingHost(java.lang.String sendHost)
Set the host name of the SMTP server.

setProtocol

public void setProtocol(java.lang.String protocol)
Set the protocol of the receiving host
Parameters:
protocol - IM for IMAP or PO for POP3

Oracle Application Server Wireless Java API Reference
B10400-01

Copyright © 2003 Oracle Corporation. All Rights Reserved.