![](/images/new-backgrounds/1300197/30019783x1.webp)
Configuration
String getXMLVersion (Object o) Returns the PTG XML version. Ensure it is
| consistent with the "studio" parameters. |
| Currently, studio is running PTG 1.0. |
boolean isStudio(Object o) | Indicates whether it is running in studio or not. |
| Ensure it is consistent with the |
| "oracle.panama.version" parameters. Currently, |
| studio is running PTG 1.0. |
String getInboxFolderName | Returns the Inbox folder name. |
(Object o) |
|
String getSentFolderName | Returns the Sent folder name. |
(Object o) |
|
boolean isLogging(Object o) | Indicates if logging is enabled. |
String getLogfile (Object o) | Returns the full path of the log file. |
String getTimeout (Object o) | Returns the connection timeout in |
| milliseconds. |
|
|
In the OracleMobileEmail.properties file, change the mail.config.class property to be the class you define.
The input is an object. The default behavior is not to pass anything. You can change it to pass information such as a string (username for example), or a hashtable containing more information.
If you do not want to implement all of the methods, you can extend from oracle.panama.module.communicate.mail.util.Config. You can choose to override methods, but the rest will be the default implementations. The default is to ignore the username and pick up the information from the properties file.
Refer to the Javadoc IConfig.html and the Java interface in the doc directory of the install.