Programmatically configure email instance settings

I am looking to configure the Email Instance Settings of our Production apex environment and am hoping this can be done programmatically to reduce the complexity of the pending release.
Is there an API, Procedure or Package I can call that will set the required values (Servername and Port) without having to unlock the builder, log into the INTERAL workspace and make the changes via the GUI?
Thanks for any help.
Duncs

Hi Duncs,
you may have a look into the APEX Administration Guide concerning managing runtime environments, especially section "Configuring Email in a Runtime Environment".
http://download.oracle.com/docs/cd/E17556_01/doc/admin.40/e15521/adm_mg_service_set.htm#BEJBCEEH
The above link is for APEX 4.0. If you use an older version of APEX, use the corresponding document.
-Udo
P.S.: I just found a little doc-bug. The documentation refers to
BEGIN
   APEX_INSTANCE_ADMIN.GET_PARAMETER(PARAMETER_NAME, PARAMETER_VALUE);
END;where of the call should be
BEGIN
   APEX_INSTANCE_ADMIN.SET_PARAMETER(PARAMETER_NAME, PARAMETER_VALUE);
END;Parameters SMTP_FROM, SMTP_HOST_ADDRESS and SMTP_HOST_PORT appear to be correct.
Edited by: Udo on 13.10.2010 13:27

Similar Messages

  • Configuring Email Environment Settings

    hi
    can any one tell me how to configure APEX 3.1 to send an email
    i want to know how to go to Manage Environment Settings

    Login as workspace: internal / user: admin and go to
    Home>Manage Service>Instance Settings
    and enter the IP and port of your SMTP Server.
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://apex.oracle.com/pls/otn/f?p=31517:1
    -------------------------------------------------------------------

  • How to configure Email setting for Gmail in 4.1?

    Hello,
    I have problem to configure Email settings in Internal Administration\Instance Settings.
    What is correct settings for Gmail? (smtp port, ssl/tls).
    Regards.

    d_wilhelm wrote:
    Hello,
    as far as i know you need to use authentication with gmail to send mails through their smtp server. There are no options in the apex_mail package to set a username and password, so you can't use the inbuilt apex mail. You can try to use utl_mail.
    Regards,
    DirkHi,
    As I understand there is new feature in Apex 4.1 to use SMTP server that need authentication.
    http://download.oracle.com/docs/cd/E23903_01/doc/doc.41/e21678/adm_mg_service_set.htm#sthref258
    Regards,
    Jari

  • How to configure Email output in SD

    Dear friends Pls sent me details of how to configure email output in SD module.
    <REMOVED>
    Thanks & Regards,
    <REMOVED>

    Hi
    Idoc Def :Standard SAP format for electronic data interchange between systems (Intermediate Document). Different message types (such as delivery confirmations or purchase orders) normally represent different specific formats, the IDoc types. However, multiple message types with related content can be assigned to one IDoc type: For example, the IDoc type ORDERS01 transfers the "logical" message types ORDERS (purchase order) and ORDRSP (order confirmation).
    Idocs are of two types basic type and the extension type .we need to configure the system settings for this process .
    IDOC (Intermediate Document) - A data holder.
    IDOC is divided in to three parts.
    Control Record
    Data Record
    Status Record
    Control record (Table: EDIDC):
    - Every IDOC has only one Control Record
    - Each Control Record contains header information like:
    o IDOC Number
    o Direction of IDOC: Inbound or Outbound
    o Date and Time of creation of IDOC
    o Date and time when the IDOC was last modified.
    o Message Type of IDOC
    o IDOC type and extension of IDOC
    o Sender and Receiver Partner
    Data record – (Table: EDID4):
    - Data Record contains Data to be processed.
    - Every IDOC has one data record with multiple segments in hierarchy.
    - Segments and Hierarchy of Segments are defined by IDOC Type and Extension.
    - IDOC created has to strictly follow the hierarchy; else IDOC fails with Syntax error.
    - Segments which are repetitive have qualifiers attached to it
    Status record – (Table: EDIDS):
    - Status Record describes the status of IDOC.
    - Each IDOC contains one status Record with multiple status information.
    - Status at each level is appended to IDOC. E.g. When IDOC is created in SAP, Status is “This IDoc has been generated through a test transaction”, When the IDOC is added to system it is “IDOC added”, “IDOC ready to be transferred to Application”……
    - Status should always be read bottom-up. Status at the top is the latest status.
    - Some Example of Status Records:
    o Inbound:
    § 53 - IDOC successfully posted
    § 51 – IDOC Failed
    § 64 - IDOC ready to be transferred to Application
    o
    Outbound:
    § 30 – IDOC ready for Dispatch
    § 03 – IDOC passed to port OK
    § 12 – IDOC Dispatched
    § 16 – Functional Acknowledgement Positive
    § 17 – functional Acknowledgement Negative
    IDoc Type: Defines the segments and hierarchy of segments
    o Transaction Code:
    § WE30 – To create, change or display the IDOC type and the extension.
    § WE31 – To create the Segment
    - IDOC type defines the segments to be used in the IDOC.
    - It also defines the hierarchy and syntax of the segments.
    - IDOC extension is nothing but to add segments to standard IDOC types.
    - Transaction WE31 allows you to create segments.
    - Program RSEIDOC3 documents the use of each IDOC type.
    Segments:
    Attributes of a Segment:
    - Mandatory Segment: If checked, this segment should always exist in the IDOC.
    - Minimum Number:
    - Maximum Number: Maximum number of times this segment can be repeated in IDOC. -
    Parent Segment: Parent of this segment
    - Hierarchy level: Level of hierarchy.
    Segment Definition (WE31):
    Messsage Type: Defines the type of data in the IDOC
    o Transaction Code:
    § WE81 – To create, change or display the Message type and the extension.
    § WE82 – Using this transaction you can link Message Type, IDOC Type, IDOC Extension and version.
    - Message type identifies the type of data IDOC holds. E.g. Orders (ORDERS), Delivery (DESADV), Invoice (INVOICE). It also defines what needs to be done with the data in the IDOC, in case of Inbound IDOC, and which data to be extracted in case of Outbound IDOC.
    - Message Type is linked to a process code, which in turn is linked to a Function Module. This function module extracts from or posts data to SAP depending on direction of IDOC.
    - Relation between Message Type, IDOC type and IDOC extension needs to define. Without this relation Message type or IDOC type cannot be used.
    Message Type Create, Change or Display (WE81):
    Setup link between Message Type, IDOC Type, IDOC Extension and Version (WE82)
    Process Code: Function Module is linked to a process code. This function module in executed for inbound or outbound IDOC.
    o Transaction Codes:
    § WE41 – Outbound Process Code
    § WE42 – Inbound Process Code
    - Process codes are linked to a Function Module.
    - Relationship is Message Type is linked to a Process Code which is linked to a Function Module.
    - In case if you are using a stand alone code to trigger an IDOC, you need not define a process code.
    RFC Destination: System definition of destination.
    o Transaction Code: SM59
    - RFC destination identifies the destination of IDOC.
    - In case of ALE:
    o In ALE the communication mode is IDOC to IDOC, hence the type used is R/3 Connections.
    o It is the destination SAP system which will receive the IDOC.
    o In RFC destination you define the destination SAP system details like System, Login and Password.
    Go thr below links:
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCMIDALEIO/BCMIDALEIO.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCMIDALEPRO/BCMIDALEPRO.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/CABFAALEQS/CABFAALEQS.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVEDISC/CAEDISCAP_STC.pdf
    Sail

  • Unable to configure email in OATS administrator

    Hi All,
    I'm using latest version of oats,12.1.0.2.58.For configuring email settings in OATS administrator,I'd given my SMTP sever name and tested with valid email address.But the result is failed and an error screen pops out with a message "error while sending email".I just want to figure out the error.Where do i find the error log of this?Please help me on this.
    Thanks in advance...
    Regards,
    Sandeep.

    Hi Jamie,
    Thanks for the reply.
    It was a bug in the previous versions of OATS.This bug was fixed and I'd successfully tested it in OATS 12.1.0.2.0 build 58.The testing was done on a windows XP machine.But when i tried to test E-mail configuration on a Windows 2008 R2 server,test fails and the system gives "Error while sending mail".Is there any error logs that would help me find the cause of the error?Are there any OTM specific error logs?
    Regards,
    Sandeep.

  • Configuring Email and Notifications in SCSM 2012 R2

    Hi all,
    There appears to be three places to configure email in Service Manager 2012:
    - Administration > Settings > Incident Settings > Incoming email
    - Administration > Notifications > Channels > Email notification
    - Administration > Connectors > Exchange Connector
    Could someone provide a quick rundown on what each of these pieces is designed to do, and why they are separated? Perhaps some are even legacy, or shouldn't really be used at all.
    Any insights are much appreciated.
    Thanks,
    Joe.

    Yes this is by design, You can't provides access rights on field levels in SCSM. You may use:
    1. read-Only Operator: Read-Only Operators have read-only access to work items in their queue scope and to configuration items that are in their group scope.
    2. Incident-Resolvers: Incident Resolvers can edit and create incidents, problems, and manual activities that are in their queue scope. Incident Resolvers also have read-only access to other work items such as change requests that are in their queue scope
    and to configuration items that are in their group scope.
    3. Advanced-Operators: Advanced Operators can create or edit any work items that are in their queue scope and any configuration items that are in their group scope. They can also create, edit, and delete the announcements that are displayed on the Service
    Manager Self-Service portal.
    Any custom Role will inherit the permission basics from the built-in roles.
    Regards
    Antoine AL Ibry

  • Unable to configure email in N8

    I got a new N8 a couple of days back. However, when I try to configure email over WiFi or GPRS/Edge, I get an error message saying - "Service Temporarily Unavailable. Try again later" I searched the forums and found that a few people with new C7s are also facing the same problems. Any suggestions?
    Present: Lumia-820
    Past: E6, L-800, N8, N900, 5800 XM, 6500 Slider, 6303c

    abjbhat wrote:
    That worked. Thanks! OT : Do you know if the N8 supports IMAP folders? I don't see my gmail folders here. I have a feeling MFE folders won't be available either.
    In email select:
    Settings > Google mail > Sync Content > Folder Subscriptions
    It will then get a list of folders from the server which so you can select which ones you want.
    N8-00 pc059C9F6 Belle
    808 PureView pc059P6W5

  • Instance Settings: Wallet path and wallet password

    What is the purpose of the wallet settings in the instance settings for apex if you are using the modplsql instead of the XDB http server. Do you still need to set the wallet if you are doing ssl and the oracle app server with modplsql.

    Am I understanding correctly that if I select "Replace the default Microsoft template" in my GPO that ONLY my custom templates will be used? This means that, for instance, the IE settings that are available out of the
    box will not be captured?
    It will use all of the templates in the settings template catalog only. The local copies that are installed by the agent will be deleted. This setting must be used with the configuration setting parameter ‘RegisterMSTemplates’ set to true. Please see the
    section titled ‘Replace the inbox Microsoft Templates’ in the TechNet article ‘Planning for Custom Template Deployment for Desktop Applications in UE-V 2.0’.
    If that's the case how do I use a template such as this one from the template gallery that says, "To use it just delete or move the original DesktopSettings.xml from your Location Template store and copy EnhancedWorkSpace.xml
    to the store location."
    The creator of that template states that ‘I just mentioned to disable the DesktopSettings.xml template because my template already includes the Default values from that template.’
    In the Q&A section of that template
    Would it be better to just remove all the default templates and use only the ones I need? Where would I get a copy of the default ones so I can put them in my settings template path if I want to use them?
    When you install the agent on a client, the default templates are stored in the
    install\templates directory. The default is c:\program files\Microsoft User Experience Virtualization\Templates. You can copy these to the settings template catalog location to use them even with the above settings. Note: Once you
    set the GP to replace the default Microsoft templates, the default templates on the clients are deleted. If you have this setting turned on, you may need to install to a machine that is not governed by this GP setting in order to get the default templates.
    Hope this helps,
    David
    MDOP on the Springboard Series on TechNet

  • E6, Help configure email

    Can anyone guide me on how to configure email manual on E6. Have a lot of problem with the email and configuration wizard configuration on E6 - pity the E71 doesn't work any more, there was no problem with this on the E71. I had to delete a email account on the E6 since it stopped working after 2 month - could not get any more email down to E6.
    I now need to configure an mail account, type Other that uses pop3, and cant get around the wizard! It keeps telling me that the mail box is not available - try later. I know that the mail box is available and working. So how do I get around the wizard so I can configure the mail manually?
    The E6 is updated, the SIM is in and I'm on the ear, and I know that the mail box is up and running since I using it with other devices.
    An other question.
    When I configure an mail account (telia.com) I get different functions in the E6. In some accounts I can just do simple configurations, in some accounts I also get an option "advanced set up".
    How do I do the installation to get the advanced set up option in the mail account?

    Try to set up the e-mail manually
    Start the e-mail guide, choose e-mail type 'Other'
    When asked for the e-mail address type a non existing e-mail address
    as an example: [email protected], and as password type anything .. like: 123
    The automatic configuration will then fail and is forced to ask you for manual settings.
    Choose e-mail POP/IMAP
    then enter all e-mail settings you have gotten from your e-mail provider.
    (and change the e-mail adress to the correct one.
    When asked in the end if you accept the terms of use ... choose No

  • Pop email server settings after latest IOS 7.0.3, 7.0.4 update

    So, after IOS 7.0.3 update my phone email server settings for bellsouth.net would not work which they did previously...............I had to manually configure the settings as follows:
    Pre IOS 7.0.3: (worked flawlessly prior to update)
    pop.att.yahoo.com...............using port 995 with SSL checked
    smtp.att.yahii.com...............using port 465 with SSL chekced
    After IOS 7.0.3 update: (worked flawlessly, previous settings would not work)
    inbound.att.net....................using port 995 with SSL checked
    outbound.att.net..................using port 464 with SSL checked
    After IOS 7.0.4 update.....Nothing has changed and neither of the settings work. Account has been deleted, and added back with automatic settings and both of the manual settings above to no avail. Any help is appreciated as it seems that server settings with IOS updates continue to be a revolving door.

    So, after IOS 7.0.3 update my phone email server settings for bellsouth.net would not work which they did previously...............I had to manually configure the settings as follows:
    Pre IOS 7.0.3: (worked flawlessly prior to update)
    pop.att.yahoo.com...............using port 995 with SSL checked
    smtp.att.yahii.com...............using port 465 with SSL chekced
    After IOS 7.0.3 update: (worked flawlessly, previous settings would not work)
    inbound.att.net....................using port 995 with SSL checked
    outbound.att.net..................using port 464 with SSL checked
    After IOS 7.0.4 update.....Nothing has changed and neither of the settings work. Account has been deleted, and added back with automatic settings and both of the manual settings above to no avail. Any help is appreciated as it seems that server settings with IOS updates continue to be a revolving door.

  • How to configure email server so that I can reply without "relaying" issues

    I've setup the Snow Leopard Server 10.6 and setup the email server. The problem we have is that when a user sends an email using an ISP other than the one where the server is connected, or replys to an email using a different ISP it gets bounced with the message that our server doesn't allow relaying. That is correct. We didn't set it up to relay because of concerns that we might be blacklisted as a spammer. Can you tell me how to configure the email server settings so we don't have this bounce problem and can send and reply using our domain.com email address regardless of the ISP we're connect to? Thanks

    Such a seemingly innocuous question. If only the answer were that simple.
    There are many factors in getting a working mail server.
    For one, if you expect to receive incoming mail for your domain you will need a static IP address with matching forward and reverse DNS entries. You might already have this, or you might not. You don't say anything about your network environment to know.
    Once you've addressed the network side of things there are two common elements to implement.
    First is you tell the server about your local networks - the ones that you trust users on. Typically this is your private LAN (e.g. a 192.168.x.x network) where your users are. This works well for an office environment and lets users send mail unhindered, but doesn't cater to remote users (you probably cannot whitelist all the remote user's IP addresses, especially those that are mobile).
    For those users you implement SMTP Authentication. This ensures the mail client authenticates to the server using a valid username and password. If your user can authenticate then you inherently trust them and allow the mail to be relayed. If the user is remote and cannot authenticate then they're out of luck.
    All of this can be configured in Server Admin.

  • EarlyWatch Individual Email Configuration - configure email transmission

    All,
    Is it possible to configure EarlyWatch Alerts to be received via email on an individual basis?
    We have 5 EWAs created each week for 5 different production systems. I would like to send 2 reports to one email recipient, 5 to another, 1 EWA to another recipient etc... so that I can choose which EWA is sent to who.
    At the moment, I can only see via SMSY -> Edit -> Automatic Email Transmission to be able to add a recipient and they will receive all EWAs.
    Please help?
    Regards,
    -Rohan

    Hi Rohan,
    There is a way to send individual EWA reports for systems that are part of one solution to a separate users.
    For example if you have solution called u201CXYZu201D that contains 5 systems and you want to send EWA for 1.,2. and 3. system to one e-mail address and 1.,3.,4. and 5. another email address.
    1. You need to set up automatic e-mail transmission for EWA session for all e-mail addresses that will receive EWA reports:
    Tx. DSWP -> Edit -> Automatic e-mail Transmission -> create E-mail Recipient
    2. Then you need to setup 2 things in tx. SPRO:
    2.1 Tx. SPRO -> Solution Manager -> Configuration -> Scenario-Specific Settings -> Solution Monitoring/Reporting -> Sending Service Reports by Internet E-mail -> E-mail Filter (Maintenance)-> Map Systems to E-Mail Addresses
    Here you enter table name: DSWP_SYS_EMAIL and choose icon u201CCreate Entriesu201D (same thing you can do with Tx. SM30).
    Fill table with e-mail addresses and SID; for each combination specifically and save.
    2.2. Then return to SPRO and setup: Tx. SPRO -> Solution Manager -> Configuration -> Scenario-Specific Settings -> Solution Monitoring/Reporting -> Sending Service Reports by Internet E-mail -> E-mail Filter (Maintenance)-> BAdi EWA E-Mail Filter
    Here you should have and activate Enhancement Implementation u201CDSWP_EWA_EMAILFILTER_BADI_IMPLu201D which sap provided for this purpose.
    To activate in this screen mark check box u201CActive(IMG)u201D and whole line and then click on button display in the bottom of the screen.
    Then choose Enhancement Implementation -> Activate (Ctrl+F3) and Save.
    Now, near Enhancement implementation field should write u201CActiveu201D, in the middle of screen in u201CRuntime Behavioru201D section u201CImplementation is activated in Customizing (IMG)u201D check box should be marked and u201CEffect in current Clientu201D should be Implementation is calledu201D
    If you set up all 3 steps properly, your future EWA reports for systems should go only to e-mail addresses as you enter in table: DSWP_SYS_EMAIL.
    Note that all e-mails must be also visible in automatic e-mail transmission (step 1.) do not delete them there.
    Mirjana

  • Email signature settings

    Is there any way to configure email settings in order to enable a signature only on outgoing messages that I initiate but not on replies?

    If you are using the Verizon.com website to access your email, there is no way to set that up. When you setup an email signature its for all messages or none. If you are using a third party email program such as Outlook, then you can setup a signature just for new messages.
    Anthony_VZ
    **If someones post has helped you, please acknowledge their assistance by clicking the red thumbs up button to give them Kudos. If you are the original poster and any response gave you your answer, please mark the post that had the answer as the solution**
    Notice: Content posted by Verizon employees is meant to be informational and does not supersede or change the Verizon Forums User Guidelines or Terms or Service, or your Customer Agreement Terms and Conditions or plan

  • Email synchronization settings

    Is it possible with a Pearl 8100 to adjust the email synchronization settings for the email account I have configured, for example when I'm at the office I don't want my bb to download the emails from my work account since I my computer downloads emails every five minutes and sometimes between those five minutes my BB synchronizes, and this can turn annoying if I'm receiving over 50 emails daily

    i hope you are on BIS. there is no such option, what you can do is drop ata connectivity, and this will stop flow of email but they will all come in when u turn data connection back on , Other option is to log into BIS and chnage filter not to forward messages to device and then turn it nback off when you leave work. This might be hectic
    Click on KUDOS to appreciate our efforts and mark the thread RESOLVED if your issue is resolved.

  • Configure Email Alerts in SCOM

    Hi
    I have configured Email notifications, Subscribers and Subscriptions using SCOM console. Now I just want to receive only those alerts on email-id which keeps open for atleast 24hrs.
    E.g.- 
    Alert- A Domain Controller has failed the AD Op Master Response test Resolution state: New
    Frequency- If open for Over 24 hours, then alert should be generated.
    Any help would be really appreciated.
    Thanks in advance.
    Abhinav | MCTS-Server Virtualization

    You can configure delay in channel wizard, step (Channels) add the command channel we created in step 1 and specify the desired delay (1440 minutes in this case). As shown below:
    Click “Next”, in the summary step make sure “Enable this notification subscription” is checked and click “Finish”.
    You should now have an subscription ready for new SCOM alerts.
    Please remember, if you see a post that helped you please click "Vote As Helpful" and if it answered your question, please click "Mark As Answer"
    Mai Ali | My blog: Technical

Maybe you are looking for

  • Help for a MOBILE application...

    Hello friends, I am working on a mobile application that would be similar to dictionary. We need to store words in form of database. User would have to type a word to get all related stuff stored in database. I am unable to figure out what technologi

  • What oracle best practices in mapping budgeting to be implement at item

    Dear Consultant's Really i need you values Consultantancy What oracle best practices in mapping budgeting to be implement at item category level or item level I want to check fund at encumbrance account according to item level Case: I have there item

  • Datagrid checkbox renderer refresh?

    I am using a checkbox renderer for one of the columns in a flex datagrid. When i scroll up or down, the checkboxes i have alread clicked, change to different boxes (records). ???? Not sure if this is a redraw issue. Tried to validate, but did not hel

  • Create report to list all computers with chrome or mozilla browser al editions

    Hi All, I have SCCM 2007 R3 and I need to create report to list all computers with chrome or Mozilla browser all editions. any help? Thanks, Kareem Behery

  • Kernal Panic & Immediate shutdown

    Hello. I have had my Macbook Pro shut down on me 3 times now. A gray screen appears and a power down button appears in the middle of my screen and in about 5 different languages says something like, "You must shut down the computer". I can't do anyth