Edit D:\app\Administrator\product\11.2.0\dbhome_1\apex\images\doc\AEADM\adm_env_email.htm
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=us-ascii" /> <meta http-equiv="Content-Style-Type" content="text/css" /> <meta http-equiv="Content-Script-Type" content="text/javascript" /> <title>Configuring Email Settings</title> <meta name="generator" content="Oracle DARB XHTML Converter (Mode = ohj/ohw) - Version 5.1" /> <meta name="date" content="2009-04-14T17:6:25Z" /> <meta name="robots" content="noarchive" /> <meta name="doctitle" content="Configuring Email Settings" /> <meta name="relnum" content="Release 3.2" /> <meta name="partnum" content="E12512-01" /> <link rel="copyright" href="../dcommon/html/cpyr.htm" title="Copyright" type="text/html" /> <link rel="stylesheet" href="../dcommon/css/blafdoc.css" title="Oracle BLAFDoc" type="text/css" /> <link rel="contents" href="toc.htm" title="Contents" type="text/html" /> <link rel="up" href="preface.htm" title="Home" type="text/html" /> <link rel="up" href="adm_wrkspc.htm" title="Oracle Application Express ..." type="text/html" /> <link rel="up" href="adm_env.htm" title="Managing Environment Settings" type="text/html" /> <link rel="up" href="adm_env_email.htm" title="Configuring Email Settings" type="text/html" /> <link rel="prev" href="adm_env_sec_config.htm" title="Previous" type="text/html" /> <link rel="next" href="adm_wallet.htm" title="Next" type="text/html" /> </head> <body> <p id="BREADCRUMBING"><a href="preface.htm" title="Home">Home</a> > <a href="adm_wrkspc.htm" title="Oracle Application Express ...">Oracle Application Express ...</a> > <a href="adm_env.htm" title="Managing Environment Settings">Managing Environment Settings</a> > Configuring Email Settings</p> <table class="simple oac_no_warn" summary="" cellspacing="0" cellpadding="0" width="100%"> <col width="86%" /> <col width="*" /> <tr valign="bottom"> <td align="left"></td> <td align="center"><a href="adm_env_sec_config.htm"><img src="../dcommon/gifs/leftnav.gif" alt="Previous" /><br /> <span class="icon">Previous</span></a> </td> <td align="center"><a href="adm_wallet.htm"><img src="../dcommon/gifs/rightnav.gif" alt="Next" /><br /> <span class="icon">Next</span></a></td> </tr> </table> <p><a id="BEJBCEEH" name="BEJBCEEH"></a></p> <div class="sect2"><!-- infolevel="all" infotype="General" --> <h1><a name="AEADM210" id="AEADM210"></a>Configuring Email Settings<a id="sthref218" name="sthref218"></a></h1> <p>To enable Oracle Application Express to send mail, an Oracle Application Express administrator must configure email settings</p> <p>Additionally, if you are running Oracle Application Express with Oracle Database 11<span class="italic">g</span> release 1 (11.1), you need to enable outbound mail. In Oracle Database 11<span class="italic">g</span> release 1 (11.1), the ability to interact with network services is disabled by default. For more information, see "Enabling Network Services in Oracle Database 11g" for your configuration scenario in <a href="http://www.oracle.com/pls/db112/lookup?id=HTMIG"><span class="italic">Oracle Application Express Installation Guide</span></a>.</p> <div align="center"> <div class="inftblnotealso"><br /> <table class="NoteAlso oac_no_warn" summary="" cellpadding="3" cellspacing="0"> <tbody> <tr> <td align="left"> <p class="notep1">Tip:</p> You can configure Oracle Application Express to automatically email users their login credentials when a new workspace request has been approved. To learn more, see <a href="adm_provision_mode.htm#CHDBAFDG">"Specifying a Provisioning Mode"</a>.</td> </tr> </tbody> </table> <br /></div> <!-- class="inftblnotealso" --></div> <a id="sthref219" name="sthref219"></a> <p class="subhead2">Topics:</p> <ul> <li> <p><a href="#BABJGCDF">Configuring Email in a Full Development Environment</a></p> </li> <li> <p><a href="#BABGEHGI">Configuring Email in a Runtime Environment</a></p> </li> <li> <p><a href="#BABGJFAB">Determining Email Settings in a Runtime Environment</a></p> </li> </ul> <div align="center"> <div class="inftblnotealso"><br /> <table class="NoteAlso oac_no_warn" summary="" cellpadding="3" cellspacing="0"> <tbody> <tr> <td align="left"> <p class="notep1">See Also:</p> "Sending Email from an Application" in <a href="../aadm_email.htm"><span class="italic">Oracle Application Express Application Builder User’s Guide</span></a></td> </tr> </tbody> </table> <br /></div> <!-- class="inftblnotealso" --></div> <a id="BABJGCDF" name="BABJGCDF"></a> <div class="sect3"><!-- infolevel="all" infotype="General" --> <h2><a name="AEADM211" id="AEADM211"></a>Configuring Email in a Full <a id="sthref220" name="sthref220"></a>Development Environment</h2> <p>To configure Oracle Application Express to send mail in a full development environment:</p> <ol> <li> <p>Log in to Oracle Application Express Administration Services. See <a href="adm_login.htm#CHDHCIFG">"Logging in to Oracle Application Express Administration Services"</a>.</p> </li> <li> <p>Click <span class="bold">Manage Service</span>.</p> </li> <li> <p>Under Manage Environment Settings, click <span class="bold">Instance Settings</span>.</p> </li> <li> <p>Under Email, enter the following:</p> <ol> <li> <p><span class="bold">SMTP Host Address</span> - Defines the server address of the SMTP server. By default on installation, this is set to <code>localhost</code>. If you are using another server as an SMTP relay, change this parameter to that server's address.</p> </li> <li> <p><span class="bold">SMTP Host Port</span> - Defines the port the SMTP server listens to for mail requests. The default setting is 25.</p> </li> <li> <p><span class="bold">Administration Email Address</span> - Defines the "from" address for administrative tasks that generate email, such as approving a provision request or resetting a password.</p> </li> </ol> </li> <li> <p>Click <span class="bold">Apply Changes</span>.</p> </li> </ol> </div> <!-- class="sect3" --> <a id="BABGEHGI" name="BABGEHGI"></a> <div class="sect3"><!-- infolevel="all" infotype="General" --> <h2><a name="AEADM212" id="AEADM212"></a>Configuring Email in a Runtime <a id="sthref221" name="sthref221"></a>Environment</h2> <p>To configure Oracle Application Express to send mail in a runtime environment:</p> <ol> <li> <p>Start SQL*Plus and connect to the database where Oracle Application Express is installed as <code>SYS</code>. For example:</p> <ul> <li> <p>On Windows:</p> <pre xml:space="preserve" class="oac_no_warn"> <span class="italic">SYSTEM_DRIVE:\</span> sqlplus /nolog connect sys as sysdba </pre></li> <li> <p>On UNIX and Linux:</p> <pre xml:space="preserve" class="oac_no_warn"> $ sqlplus /nolog connect sys as sysdba </pre></li> </ul> <p>When prompted enter the appropriate password.</p> </li> <li> <p>Run the following statement:</p> <pre xml:space="preserve" class="oac_no_warn"> ALTER SESSION SET CURRENT_SCHEMA = APEX_030200 </pre></li> <li> <p>Run the following statement:</p> <pre xml:space="preserve" class="oac_no_warn"> BEGIN APEX_INSTANCE_ADMIN.GET_PARAMETER(<span class="italic">PARAMETER_NAME</span>, <span class="italic">PARAMETER_VALUE</span>); END; </pre> <p>For a description of email parameters, see <a href="#BABCEDBA">Table: Email Parameters</a>.</p> <div class="tblformal"><a id="sthref222" name="sthref222"></a><a id="BABCEDBA" name="BABCEDBA"></a> <p class="titleintable">Email Parameters</p> <table class="Formal" title="Email Parameters" summary="his table lists parameter names and values for determining and setting email settings in a runtime environment." dir="ltr" border="1" width="100%" frame="hsides" rules="groups" cellpadding="3" cellspacing="0"> <col width="31%" /> <col width="*" /> <thead> <tr align="left" valign="top"> <th align="left" valign="bottom" id="r1c1-t33">Parameter Name</th> <th align="left" valign="bottom" id="r1c2-t33">Description</th> </tr> </thead> <tbody> <tr align="left" valign="top"> <td align="left" id="r2c1-t33" headers="r1c1-t33"> <p><code>SMTP_FROM</code></p> </td> <td align="left" headers="r2c1-t33 r1c2-t33"> <p>Defines the "from" address for administrative tasks that generate email, such as approving a provision request or resetting a password.</p> <p>Enter a valid email address, for example:</p> <p><code>someone@somewhere.com</code></p> </td> </tr> <tr align="left" valign="top"> <td align="left" id="r3c1-t33" headers="r1c1-t33"> <p><code>SMTP_HOST_ADDRESS</code></p> </td> <td align="left" headers="r3c1-t33 r1c2-t33"> <p>Defines the server address of the SMTP server. If you are using another server as an SMTP relay, change this parameter to that server's address.</p> <p>Default setting:</p> <pre xml:space="preserve" class="oac_no_warn"> localhost </pre></td> </tr> <tr align="left" valign="top"> <td align="left" id="r4c1-t33" headers="r1c1-t33"> <p><code>SMTP_HOST_PORT</code></p> </td> <td align="left" headers="r4c1-t33 r1c2-t33"> <p>Defines the port the SMTP server listens to for mail requests.</p> <p>Default setting:</p> <pre xml:space="preserve" class="oac_no_warn"> 25 </pre></td> </tr> </tbody> </table> <br /></div> <!-- class="tblformal" --></li> </ol> <div align="center"> <div class="inftblnotealso"><br /> <table class="NoteAlso oac_no_warn" summary="" cellpadding="3" cellspacing="0"> <tbody> <tr> <td align="left"> <p class="notep1">See Also:</p> "SET_PARAMETER Procedure" in <a href="http://www.oracle.com/pls/db112/lookup?id=AEAPI246"><span class="italic">Oracle Application Express Application Builder User’s Guide</span></a></td> </tr> </tbody> </table> <br /></div> <!-- class="inftblnotealso" --></div> </div> <!-- class="sect3" --> <a id="BABGJFAB" name="BABGJFAB"></a> <div class="sect3"><!-- infolevel="all" infotype="General" --> <h2><a name="AEADM213" id="AEADM213"></a>Determining Email Settings <a id="sthref223" name="sthref223"></a>in a Runtime Environment</h2> <p>To determine email settings in runtime environment:</p> <ol> <li> <p>Start SQL*Plus and connect to the database where Oracle Application Express is installed as <code>SYS</code>. For example:</p> <ul> <li> <p>On Windows:</p> <pre xml:space="preserve" class="oac_no_warn"> <span class="italic">SYSTEM_DRIVE:\</span> sqlplus /nolog connect sys as sysdba </pre></li> <li> <p>On UNIX and Linux:</p> <pre xml:space="preserve" class="oac_no_warn"> $ sqlplus /nolog connect sys as sysdba </pre></li> </ul> <p>When prompted enter the appropriate password.</p> </li> <li> <p>Run the following statement:</p> <pre xml:space="preserve" class="oac_no_warn"> ALTER SESSION SET CURRENT_SCHEMA = APEX_030200 </pre></li> <li> <p>Run the following statement:</p> <pre xml:space="preserve" class="oac_no_warn"> SELECT APEX_INSTANCE_ADMIN.GET_PARAMETER(<span class="italic">PARAMETER_NAME</span>) FROM DUAL; </pre> <p>For a description of email parameters, see <a href="#BABCEDBA">Table: Email Parameters</a>.</p> </li> </ol> <div align="center"> <div class="inftblnotealso"><br /> <table class="NoteAlso oac_no_warn" summary="" cellpadding="3" cellspacing="0"> <tbody> <tr> <td align="left"> <p class="notep1">See Also:</p> "GET_PARAMETER Function" in <a href="http://www.oracle.com/pls/db112/lookup?id=AEAPI247"><span class="italic">Oracle Application Express Application Builder User’s Guide</span></a></td> </tr> </tbody> </table> <br /></div> <!-- class="inftblnotealso" --></div> </div> <!-- class="sect3" --></div> <!-- class="sect2" --> <!-- Start Footer --> <div class="footer"> <table class="simple oac_no_warn" summary="" cellspacing="0" cellpadding="0" width="100%"> <col width="86%" /> <col width="*" /> <tr> <td align="left"><span class="copyrightlogo">Copyright © 2003, 2009, Oracle and/or its affiliates. All rights reserved.</span><br /> <a href="../dcommon/html/cpyr.htm"><span class="copyrightlogo">Legal Notices</span></a></td> <td align="center"><a href="adm_env_sec_config.htm"><img src="../dcommon/gifs/leftnav.gif" alt="Previous" /><br /> <span class="icon">Previous</span></a> </td> <td align="center"><a href="adm_wallet.htm"><img src="../dcommon/gifs/rightnav.gif" alt="Next" /><br /> <span class="icon">Next</span></a></td> </tr> </table> </div> <!-- class="footer" --> </body> </html>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de