Sending an email after creation of new role

Whenever new role is created in Transaction PFCG I need to email to all the users.
There is no User-Exit in PFCG and we can't create any new Program for this.
So how it will be done?
If anyone worked on it please reply to this as soon as possible.

hi Zahid Khan,
as said i tried the same.
i have created a button "send" action :submit.
and also have created a process"send mail" with the folloing code
DECLARE
l_body CLOB;
BEGIN
l_body := 'Thank you for your interest in the APEX_MAIL package.'||utl_tcp.crlf||utl_tcp.crlf;
l_body := l_body ||' Sincerely,'||utl_tcp.crlf;
l_body := l_body ||' The APEX Dev Team'||utl_tcp.crlf;
apex_mail.send(
p_to => '[email protected]',
p_from => '[email protected]',
p_body => l_body,
p_subj => 'APEX_MAIL Package - Plain Text message');
APEX_MAIL.push_queue;
END;
and , Process Success Message as "done" and When Button Pressed (Process After Submit When this Button is Pressed): "SEND" WITH Process Point : "ON SUBMIT AFTER COMPUTATIONS AND VALIDATION"
The process is running.., getting the """success message""" but unable to""" get the mail""".(tried different combinations of mail ids)
any help !!!

Similar Messages

  • Issue sending bulk email after Exchange 2010 to 2013 migration

    Hi!
    I have an issue with some reporting software sending bulk emails after our Exchange 2013 migration. 
    I can see the connections in the firewall and I can see the first connections under the protocol logs in the Exchange servers. What happens is that after ~10 emails, within the same amount of seconds from what I can tell, the mail flow just stops to the
    Exchange server. I cant seem to find an error message anywhere within the Exchange logs and I've tried updating the receive connector with higher timeouts / Connection limits but the users still cant send all the invoices etc right away. 
    We have multiple applications / receive connectors with this issue and the users did not report any issues with Exchange 2010 so I am assuming that this issue did not exist there. 
    We're running two multi-role (CAS/MB) Exchange 2013 servers in a DAG. Exchange 2010 is not fully decommissioned yet but all links and users are moved to 2013.
    Any help is much appreciated!

    Hi ,
    To avoid the issues when relaying the emails from application server through exchange then we need concentrate on the below mentioned parameters on the receive connectors in exchange 2013 cas servers and also we need to set the parameter value as per your
    environment requirement.
    Please check the below mentioned values on the dedicated receive connectors in exchange 2013 cas server to relay emails from the application server
    Parameters :
    ConnectionInactivityTimeout
    ConnectionTimeout
    MaxInboundConnection
    MaxInboundConnectionPercentagePerSource
    MaxInboundConnectionPerSource
    MaxRecipientsPerMessage
    MessageRateLimit
    Note : In case if none of the above changes help you then the final option would be to enable the protocol logging on the receive connector utilized by the application server to relay emails via exchange server and with the help of the logs we can can came
    to know that why the connections from the application server to exchange server is disconnecting after some emails has send.
    Thanks & Regards S.Nithyanandham
    Here are the relevant values for the receive connector, doublechecked and it's the same on both DAG members;
    ConnectionTimeout                       : 00:20:00
    ConnectionInactivityTimeout             : 00:05:00
    MaxInboundConnection                    : 5000
    MaxInboundConnectionPerSource           : Unlimited
    MaxInboundConnectionPercentagePerSource : 100
    MaxRecipientsPerMessage                 : 200
    MessageRateLimit                    
    : Unlimited
    Adding logs for one big connection spike from the customer. About 50 inbound connections to the Exchange servers . 
    SMTP Receive;
    2015-01-26T18:02:46.991Z,RECEIVE CONNECTOR,08D2051B7AE3DA8E,0,DAG member 01:587,Customer IP:60262,+,,
    2015-01-26T18:02:47.006Z,RECEIVE CONNECTOR,08D2051B7AE3DA8E,1,DAG member 01:587,Customer IP:60262,*,SMTPSubmit SMTPAcceptAnySender SMTPAcceptAuthoritativeDomainSender AcceptRoutingHeaders,Set Session Permissions
    2015-01-26T18:02:47.006Z,RECEIVE CONNECTOR,08D2051B7AE3DA8E,2,DAG member 01:587,Customer IP:60262,>,"220 DAG member 01 Microsoft ESMTP MAIL Service ready at Mon, 26 Jan 2015 19:02:46 +0100",
    2015-01-26T18:02:47.006Z,RECEIVE CONNECTOR,08D2051B7AE3DA8E,3,DAG member 01:587,Customer IP:60262,<,EHLO customerdomain.com,
    2015-01-26T18:02:47.006Z,RECEIVE CONNECTOR,08D2051B7AE3DA8E,4,DAG member 01:587,Customer IP:60262,>,250-DAG member 01 Hello [Customer IP],
    2015-01-26T18:02:47.006Z,RECEIVE CONNECTOR,08D2051B7AE3DA8E,5,DAG member 01:587,Customer IP:60262,>,250-SIZE 36700160,
    2015-01-26T18:02:47.006Z,RECEIVE CONNECTOR,08D2051B7AE3DA8E,6,DAG member 01:587,Customer IP:60262,>,250-PIPELINING,
    2015-01-26T18:02:47.006Z,RECEIVE CONNECTOR,08D2051B7AE3DA8E,7,DAG member 01:587,Customer IP:60262,>,250-DSN,
    2015-01-26T18:02:47.006Z,RECEIVE CONNECTOR,08D2051B7AE3DA8E,8,DAG member 01:587,Customer IP:60262,>,250-ENHANCEDSTATUSCODES,
    2015-01-26T18:02:47.006Z,RECEIVE CONNECTOR,08D2051B7AE3DA8E,9,DAG member 01:587,Customer IP:60262,>,250-STARTTLS,
    2015-01-26T18:02:47.006Z,RECEIVE CONNECTOR,08D2051B7AE3DA8E,10,DAG member 01:587,Customer IP:60262,>,250-AUTH LOGIN,
    2015-01-26T18:02:47.006Z,RECEIVE CONNECTOR,08D2051B7AE3DA8E,11,DAG member 01:587,Customer IP:60262,>,250-8BITMIME,
    2015-01-26T18:02:47.006Z,RECEIVE CONNECTOR,08D2051B7AE3DA8E,12,DAG member 01:587,Customer IP:60262,>,250-BINARYMIME,
    2015-01-26T18:02:47.006Z,RECEIVE CONNECTOR,08D2051B7AE3DA8E,13,DAG member 01:587,Customer IP:60262,>,250 CHUNKING,
    2015-01-26T18:02:47.022Z,RECEIVE CONNECTOR,08D2051B7AE3DA8E,14,DAG member 01:587,Customer IP:60262,<,STARTTLS,
    2015-01-26T18:02:47.022Z,RECEIVE CONNECTOR,08D2051B7AE3DA8E,15,DAG member 01:587,Customer IP:60262,>,220 2.0.0 SMTP server ready,
    2015-01-26T18:02:47.022Z,RECEIVE CONNECTOR,08D2051B7AE3DA8E,16,DAG member 01:587,Customer IP:60262,*,,Sending certificate
    2015-01-26T18:02:47.022Z,RECEIVE CONNECTOR,08D2051B7AE3DA8E,17,DAG member 01:587,Customer IP:60262,*,CN=server,Certificate subject
    2015-01-26T18:02:47.022Z,RECEIVE CONNECTOR,08D2051B7AE3DA8E,18,DAG member 01:587,Customer IP:60262,*,CN=server,Certificate issuer name
    2015-01-26T18:02:47.022Z,RECEIVE CONNECTOR,08D2051B7AE3DA8E,21,DAG member 01:587,Customer IP:60262,*,server;DAG member 01,Certificate alternate names
    2015-01-26T18:02:47.053Z,RECEIVE CONNECTOR,08D2051B7AE3DA8E,22,DAG member 01:587,Customer IP:60262,*,,TLS negotiation succeeded
    2015-01-26T18:02:47.069Z,RECEIVE CONNECTOR,08D2051B7AE3DA8E,23,DAG member 01:587,Customer IP:60262,<,EHLO customerdomain.com,
    2015-01-26T18:02:47.069Z,RECEIVE CONNECTOR,08D2051B7AE3DA8E,24,DAG member 01:587,Customer IP:60262,*,,Client certificate chain validation status: 'EmptyCertificate'
    2015-01-26T18:02:47.069Z,RECEIVE CONNECTOR,08D2051B7AE3DA8E,25,DAG member 01:587,Customer IP:60262,*,,TlsDomainCapabilities='None'; Status='NoRemoteCertificate'
    2015-01-26T18:02:47.069Z,RECEIVE CONNECTOR,08D2051B7AE3DA8E,26,DAG member 01:587,Customer IP:60262,>,250-DAG member 01 Hello [Customer IP],
    2015-01-26T18:02:47.069Z,RECEIVE CONNECTOR,08D2051B7AE3DA8E,27,DAG member 01:587,Customer IP:60262,>,250-SIZE 36700160,
    2015-01-26T18:02:47.069Z,RECEIVE CONNECTOR,08D2051B7AE3DA8E,28,DAG member 01:587,Customer IP:60262,>,250-PIPELINING,
    2015-01-26T18:02:47.069Z,RECEIVE CONNECTOR,08D2051B7AE3DA8E,29,DAG member 01:587,Customer IP:60262,>,250-DSN,
    2015-01-26T18:02:47.069Z,RECEIVE CONNECTOR,08D2051B7AE3DA8E,30,DAG member 01:587,Customer IP:60262,>,250-ENHANCEDSTATUSCODES,
    2015-01-26T18:02:47.069Z,RECEIVE CONNECTOR,08D2051B7AE3DA8E,31,DAG member 01:587,Customer IP:60262,>,250-AUTH LOGIN,
    2015-01-26T18:02:47.069Z,RECEIVE CONNECTOR,08D2051B7AE3DA8E,32,DAG member 01:587,Customer IP:60262,>,250-8BITMIME,
    2015-01-26T18:02:47.069Z,RECEIVE CONNECTOR,08D2051B7AE3DA8E,33,DAG member 01:587,Customer IP:60262,>,250-BINARYMIME,
    2015-01-26T18:02:47.069Z,RECEIVE CONNECTOR,08D2051B7AE3DA8E,34,DAG member 01:587,Customer IP:60262,>,250 CHUNKING,
    2015-01-26T18:02:47.085Z,RECEIVE CONNECTOR,08D2051B7AE3DA8E,35,DAG member 01:587,Customer IP:60262,<,AUTH LOGIN,
    2015-01-26T18:02:47.085Z,RECEIVE CONNECTOR,08D2051B7AE3DA8E,36,DAG member 01:587,Customer IP:60262,>,334 <authentication response>,
    2015-01-26T18:02:47.100Z,RECEIVE CONNECTOR,08D2051B7AE3DA8E,37,DAG member 01:587,Customer IP:60262,>,334 <authentication response>,
    2015-01-26T18:02:47.131Z,RECEIVE CONNECTOR,08D2051B7AE3DA8E,38,DAG member 01:587,Customer IP:60262,*,SMTPSubmit SMTPAcceptAnyRecCustomer IPient BypassAntiSpam AcceptRoutingHeaders,Set Session Permissions
    2015-01-26T18:02:47.147Z,RECEIVE CONNECTOR,08D2051B7AE3DA8E,39,DAG member 01:587,Customer IP:60262,*,[email protected],authenticated
    2015-01-26T18:02:47.272Z,RECEIVE CONNECTOR,08D2051B7AE3DA8E,40,DAG member 01:587,Customer IP:60262,*,,Proxy session was successfully set up. Session [email protected] will now be proxied
    2015-01-26T18:02:47.272Z,RECEIVE CONNECTOR,08D2051B7AE3DA8E,41,DAG member 01:587,Customer IP:60262,>,235 2.7.0 Authentication successful,
    2015-01-26T18:02:47.819Z,RECEIVE CONNECTOR,08D2051B7AE3DA8E,42,DAG member 01:587,Customer IP:60262,-,,Local
    SMTP Send
    2015-01-26T18:02:47.163Z,Client Proxy Send Connector,08D2051B7AE3DA8F,0,,DAG member 02:465,*,,attempting to connect. Client proxy session for [email protected]
    2015-01-26T18:02:47.163Z,Client Proxy Send Connector,08D2051B7AE3DA8F,1,DAG member 01:57446,DAG member 02:465,+,,
    2015-01-26T18:02:47.163Z,Client Proxy Send Connector,08D2051B7AE3DA8F,2,DAG member 01:57446,DAG member 02:465,<,"220 DAG member 02 Microsoft ESMTP MAIL Service ready at Mon, 26 Jan 2015 19:02:46 +0100",
    2015-01-26T18:02:47.163Z,Client Proxy Send Connector,08D2051B7AE3DA8F,3,DAG member 01:57446,DAG member 02:465,>,EHLO DAG member 01,
    2015-01-26T18:02:47.163Z,Client Proxy Send Connector,08D2051B7AE3DA8F,4,DAG member 01:57446,DAG member 02:465,<,250-DAG member 02 Hello [DAG member 01],
    2015-01-26T18:02:47.163Z,Client Proxy Send Connector,08D2051B7AE3DA8F,5,DAG member 01:57446,DAG member 02:465,<,250-SIZE 36700160,
    2015-01-26T18:02:47.163Z,Client Proxy Send Connector,08D2051B7AE3DA8F,6,DAG member 01:57446,DAG member 02:465,<,250-PIPELINING,
    2015-01-26T18:02:47.163Z,Client Proxy Send Connector,08D2051B7AE3DA8F,7,DAG member 01:57446,DAG member 02:465,<,250-DSN,
    2015-01-26T18:02:47.163Z,Client Proxy Send Connector,08D2051B7AE3DA8F,8,DAG member 01:57446,DAG member 02:465,<,250-ENHANCEDSTATUSCODES,
    2015-01-26T18:02:47.163Z,Client Proxy Send Connector,08D2051B7AE3DA8F,9,DAG member 01:57446,DAG member 02:465,<,250-STARTTLS,
    2015-01-26T18:02:47.163Z,Client Proxy Send Connector,08D2051B7AE3DA8F,10,DAG member 01:57446,DAG member 02:465,<,250-X-ANONYMOUSTLS,
    2015-01-26T18:02:47.163Z,Client Proxy Send Connector,08D2051B7AE3DA8F,11,DAG member 01:57446,DAG member 02:465,<,250-AUTH GSSAPI NTLM,
    2015-01-26T18:02:47.163Z,Client Proxy Send Connector,08D2051B7AE3DA8F,12,DAG member 01:57446,DAG member 02:465,<,250-X-EXPS GSSAPI NTLM,
    2015-01-26T18:02:47.163Z,Client Proxy Send Connector,08D2051B7AE3DA8F,13,DAG member 01:57446,DAG member 02:465,<,250-8BITMIME,
    2015-01-26T18:02:47.163Z,Client Proxy Send Connector,08D2051B7AE3DA8F,14,DAG member 01:57446,DAG member 02:465,<,250-BINARYMIME,
    2015-01-26T18:02:47.163Z,Client Proxy Send Connector,08D2051B7AE3DA8F,15,DAG member 01:57446,DAG member 02:465,<,250-CHUNKING,
    2015-01-26T18:02:47.163Z,Client Proxy Send Connector,08D2051B7AE3DA8F,16,DAG member 01:57446,DAG member 02:465,<,250-XEXCH50,
    2015-01-26T18:02:47.163Z,Client Proxy Send Connector,08D2051B7AE3DA8F,17,DAG member 01:57446,DAG member 02:465,<,250-XRDST,
    2015-01-26T18:02:47.163Z,Client Proxy Send Connector,08D2051B7AE3DA8F,18,DAG member 01:57446,DAG member 02:465,<,250 XSHADOWREQUEST,
    2015-01-26T18:02:47.163Z,Client Proxy Send Connector,08D2051B7AE3DA8F,19,DAG member 01:57446,DAG member 02:465,>,X-ANONYMOUSTLS,
    2015-01-26T18:02:47.163Z,Client Proxy Send Connector,08D2051B7AE3DA8F,20,DAG member 01:57446,DAG member 02:465,<,220 2.0.0 SMTP server ready,
    2015-01-26T18:02:47.257Z,Client Proxy Send Connector,08D2051B7AE3DA8F,21,DAG member 01:57446,DAG member 02:465,*,,Received certificate
    2015-01-26T18:02:47.257Z,Client Proxy Send Connector,08D2051B7AE3DA8F,23,DAG member 01:57446,DAG member 02:465,*,,Proxy target certificate
    2015-01-26T18:02:47.257Z,Client Proxy Send Connector,08D2051B7AE3DA8F,24,DAG member 01:57446,DAG member 02:465,*,"CN=*.email.com, OU=IT, O=X, L=X, S=X, C=SE",Certificate subject
    2015-01-26T18:02:47.257Z,Client Proxy Send Connector,08D2051B7AE3DA8F,25,DAG member 01:57446,DAG member 02:465,*,"CN=DigiCert High Assurance CA-3, OU=www.digicert.com, O=DigiCert Inc, C=US",Certificate issuer name
    2015-01-26T18:02:47.257Z,Client Proxy Send Connector,08D2051B7AE3DA8F,28,DAG member 01:57446,DAG member 02:465,*,*.email.com;email.com,Certificate alternate names
    2015-01-26T18:02:47.257Z,Client Proxy Send Connector,08D2051B7AE3DA8F,29,DAG member 01:57446,DAG member 02:465,>,EHLO DAG member 01,
    2015-01-26T18:02:47.257Z,Client Proxy Send Connector,08D2051B7AE3DA8F,30,DAG member 01:57446,DAG member 02:465,<,250-DAG member 02 Hello [DAG member 01],
    2015-01-26T18:02:47.257Z,Client Proxy Send Connector,08D2051B7AE3DA8F,31,DAG member 01:57446,DAG member 02:465,<,250-SIZE 36700160,
    2015-01-26T18:02:47.257Z,Client Proxy Send Connector,08D2051B7AE3DA8F,32,DAG member 01:57446,DAG member 02:465,<,250-PIPELINING,
    2015-01-26T18:02:47.257Z,Client Proxy Send Connector,08D2051B7AE3DA8F,33,DAG member 01:57446,DAG member 02:465,<,250-DSN,
    2015-01-26T18:02:47.257Z,Client Proxy Send Connector,08D2051B7AE3DA8F,34,DAG member 01:57446,DAG member 02:465,<,250-ENHANCEDSTATUSCODES,
    2015-01-26T18:02:47.257Z,Client Proxy Send Connector,08D2051B7AE3DA8F,35,DAG member 01:57446,DAG member 02:465,<,250-AUTH GSSAPI NTLM LOGIN,
    2015-01-26T18:02:47.257Z,Client Proxy Send Connector,08D2051B7AE3DA8F,36,DAG member 01:57446,DAG member 02:465,<,250-X-EXPS EXCHANGEAUTH GSSAPI NTLM,
    2015-01-26T18:02:47.257Z,Client Proxy Send Connector,08D2051B7AE3DA8F,37,DAG member 01:57446,DAG member 02:465,<,250-X-EXCHANGEAUTH SHA256,
    2015-01-26T18:02:47.257Z,Client Proxy Send Connector,08D2051B7AE3DA8F,38,DAG member 01:57446,DAG member 02:465,<,250-8BITMIME,
    2015-01-26T18:02:47.257Z,Client Proxy Send Connector,08D2051B7AE3DA8F,39,DAG member 01:57446,DAG member 02:465,<,250-BINARYMIME,
    2015-01-26T18:02:47.257Z,Client Proxy Send Connector,08D2051B7AE3DA8F,40,DAG member 01:57446,DAG member 02:465,<,250-CHUNKING,
    2015-01-26T18:02:47.257Z,Client Proxy Send Connector,08D2051B7AE3DA8F,41,DAG member 01:57446,DAG member 02:465,<,250-XEXCH50,
    2015-01-26T18:02:47.257Z,Client Proxy Send Connector,08D2051B7AE3DA8F,42,DAG member 01:57446,DAG member 02:465,<,250-XRDST,
    2015-01-26T18:02:47.257Z,Client Proxy Send Connector,08D2051B7AE3DA8F,43,DAG member 01:57446,DAG member 02:465,<,250-XSHADOWREQUEST,
    2015-01-26T18:02:47.257Z,Client Proxy Send Connector,08D2051B7AE3DA8F,44,DAG member 01:57446,DAG member 02:465,<,250-XPROXY,
    2015-01-26T18:02:47.257Z,Client Proxy Send Connector,08D2051B7AE3DA8F,45,DAG member 01:57446,DAG member 02:465,<,250-XPROXYFROM,
    2015-01-26T18:02:47.257Z,Client Proxy Send Connector,08D2051B7AE3DA8F,46,DAG member 01:57446,DAG member 02:465,<,250-X-MESSAGECONTEXT ADRC-2.1.0.0 EPROP-1.2.0.0,
    2015-01-26T18:02:47.257Z,Client Proxy Send Connector,08D2051B7AE3DA8F,47,DAG member 01:57446,DAG member 02:465,<,250 XSYSPROBE,
    2015-01-26T18:02:47.257Z,Client Proxy Send Connector,08D2051B7AE3DA8F,48,DAG member 01:57446,DAG member 02:465,>,X-EXPS EXCHANGEAUTH SHA256 ,
    2015-01-26T18:02:47.257Z,Client Proxy Send Connector,08D2051B7AE3DA8F,49,DAG member 01:57446,DAG member 02:465,>,<Binary Data>,
    2015-01-26T18:02:47.272Z,Client Proxy Send Connector,08D2051B7AE3DA8F,50,DAG member 01:57446,DAG member 02:465,<,235 <authentication information>,
    2015-01-26T18:02:47.272Z,Client Proxy Send Connector,08D2051B7AE3DA8F,51,DAG member 01:57446,DAG member 02:465,>,XPROXY SID=08D2051B7AE3DA8E IP=Customer IP PORT=60262 DOMAIN=customerdomain.com CAPABILITIES=0 
    2015-01-26T18:02:47.272Z,Client Proxy Send Connector,08D2051B7AE3DA8F,52,DAG member 01:57446,DAG member 02:465,<,250 XProxy accepted and authenticated,
    2015-01-26T18:02:47.272Z,Client Proxy Send Connector,08D2051B7AE3DA8F,53,DAG member 01:57446,DAG member 02:465,*,,Proxy session successfully set up for [email protected]. Inbound session will now be blindly proxied
    2015-01-26T18:02:47.819Z,Client Proxy Send Connector,08D2051B7AE3DA8F,54,DAG member 01:57446,DAG member 02:465,-,,Remote
    Nothing after these logs indicating any type of issue with the receive connector. Tried to make the logs as anonymous as possible. Hope they still make sense.
    Note; Database was active on DAG member 02 but all incoming traffic on port 587 was directed to DAG member 01.

  • Thunderbird is no longer able to connect to internet (sending/receiving email, updating, creating a new account,...Firefox connects well

    Version 24.4.0 worked fine until yesterday (2014-04-06) running under windows 8.1 and suddenly it could no longer connetc to internet (sending/receiving email, updating, creating a new account,..). No change was done on my accounts configuration. Other applications connect correctly to internet. Some Windows 8.1 updates were automaticaly applied during the same period (??).
    Any suggestion would be appreciate
    Rgds

    Thank you for your answer. Of course before posting I checked the differetn relmated topics..
    As I explained nothing changed between the moment Thunderbird worked and the moment it stopped working. I checked the firewall (Norton intenet security) and the firewall of my router (Netgear). Nothing relates to Thunderbird.
    I cans get my mail from another workqtation (ubuntu/evolution) with the same provider (same parameters). I just wonder if the last windows 8.1 updates could provoke this trouble...
    For the moment I cannot get rid of this.

  • When needing to send an email from Pages a new email document does not come up. PDF

    When needing to send email document from Pages when I hit Share, send via email then PDF no new email document comes up. Please advise.

    Chances are you have an "illegal" character in the file name such as a / or *.

  • Trigger to Send Seperate Emails per Address on New Subscricption Insert

    Hi Everyone,
    I am trying to create a trigger that, on insert into and delete from a email_subscription table, will send an email to our MailMan server to subscribe or unsubscribe a member for each email address they have. The problem is I am not sure how to get the information form the other two related tables required to compose the message(s).
    The tables are:
    Email_Subscription (Member, Email_List)
    Email (Member, Email)
    EmailList (EmailListID, Email_List)
    (where Email_Subscription.Member = Email.Member and Email_Subsciption.Email_List = EmailList.EmailListID)
    A Member can have zero or more Email addresses but can only have one Email Subscription per Email List.
    So this code:
    utl_mail.send(
    '[email protected]', --From
    EmailList.Email_List || '[email protected]', --To
    '', --BCC
    '', --CC
    'subscribe nodigest address=' || Email.Email, --Subject (subscribe on insert, unsubscribe on delete)
    '', --Message
    'text/plain; charset=us-ascii', --Email type
    3); --Priority
    Should be executed for each address the member has when a new email subscription is entered for them or to put it another way, the code should be run for each result of this query:
    Select E.email, EL.email_list
    From emaillist EL, email E
    Where :NEW.member = E.member
    And :NEW.email_list = EL.emaillistid
    I know how to write a trigger that will insert a record once into another table but cannot work out how to run code for multiple records from related tables.
    BTW I am using Oracle XE running on Windows 2003 and Utl_mail is set up and tested.
    Any help is much appreciated.

    Welcome to OTN.
    I'm not sure sending a mail through trigger is at all a good option or not though it sounds rational but would like to share some thoughts.
    satyaki>
    satyaki>select * from v$version;
    BANNER
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod
    PL/SQL Release 10.2.0.1.0 - Production
    CORE    10.2.0.1.0      Production
    TNS for Linux: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - Production
    Elapsed: 00:00:00.08
    satyaki>
    satyaki>
    satyaki>create table email_subq
      2   (  
      3     sr_no       number(5),
      4     s_name      varchar2(40),
      5     s_mail      varchar2(60)
      6   );
    Table created.
    Elapsed: 00:00:01.02
    satyaki>
    satyaki>create table send_mail_log
      2    (
      3      recipient_name   varchar2(40),
      4      email_id         varchar2(60)
      5    );
    Table created.
    Elapsed: 00:00:00.00
    satyaki>
    satyaki>create or replace trigger subsq_notifier
      2  before insert on email_subq
      3  for each row
      4  begin
      5    insert into send_mail_log values(:new.s_name,:new.s_mail);
      6  end;
      7  /
    Trigger created.
    Elapsed: 00:00:00.09
    satyaki>
    satyaki>
    satyaki>insert into email_subq values(1,'SATYAKI','[email protected]');
    1 row created.
    Elapsed: 00:00:00.01
    satyaki>
    satyaki>select * from email_subq;
         SR_NO S_NAME                                   S_MAIL
             1 SATYAKI                                  [email protected]
    Elapsed: 00:00:00.00
    satyaki>
    satyaki>select * from send_mail_log;
    RECIPIENT_NAME                           EMAIL_ID
    SATYAKI                                  [email protected]
    Elapsed: 00:00:00.00
    satyaki>
    satyaki>insert into email_subq values('A1','BILLY','[email protected]');
    insert into email_subq values('A1','BILLY','[email protected]')
    ERROR at line 1:
    ORA-01722: invalid number
    Elapsed: 00:00:00.01
    satyaki>
    satyaki>select * from email_subq;
         SR_NO S_NAME                                   S_MAIL
             1 SATYAKI                                  [email protected]
    Elapsed: 00:00:00.00
    satyaki>
    satyaki>select * from send_mail_log;
    RECIPIENT_NAME                           EMAIL_ID
    SATYAKI                                  [email protected]
    Elapsed: 00:00:00.00
    satyaki>
    satyaki>rollback;
    Rollback complete.
    Elapsed: 00:00:00.00
    satyaki>
    satyaki>select * from email_subq;
    no rows selected
    Elapsed: 00:00:00.00
    satyaki>
    satyaki>select * from send_mail_log;
    no rows selected
    Elapsed: 00:00:00.00Now, check the last part. If user somehow rollback it - still your mail will be send to the recipient which might be annoying for the user - i guess. ;)
    So, my suggestion would be do not implement this kind of mailing approach through trigger. You can store them in any intermediate table and then after thorough verification you can send the mail using any job or scheduler that available in your version.
    Regards.
    Satyaki De.

  • Send Welcome Email After account exists in AD with initial password

    We have FIM setup to create new users based on a workflow In the workflow I add them to the outbound sync rule, then send a welcome email, in this workflow there are several steps, one is randomly generating an initial password, what I'm trying to figure
    out is how to send the welcome email after the delta sync runs that verifies the user was created in AD.
    I thought about using the Poor Man's version of a connector detection mechanism however how to get the inital password from the workflow above into the workflow that would run after the connector detection mechanism detected the object coming in from AD?
    Thanks;
    Jon

    The other option could be to set a random password on the AD account when it is created but then have another workflow that runs in the Portal when the objectSid is set for the first time. This workflow could reset the user's password in AD to another random
    value and send the email notification with that newly generated password - this way the password is known and but it isn't stored anywhere.
    Andrew.
    Andrew & Borys thank you both for the replies.
    Andrew I like that option more I'm guessing a a set transition MPR from null/blank (not sure what the initial value is in the portal) to not null / not blank.
    One issue is I don't think ObjectSID is available to use as a filter in the portal.
    I'll check this using a custom attribute.

  • Creation of new roles in OES using BLM API

    I'm currently using policymgtapi examples for creating new roles. Its gets created but doesn't visible in OES Entitlement application console even though the entry is present in OES DB. But if you create a new User, its available immediately in OES Entitlement application. Pls let me know why Role is not available in Entitlement application after creating using policymgtapi. Thanks

    Is there any org scope to the role?
    There's some conversion process that happens when you load roles via policyloader, I suspect you would need to do the same with Policy Mgt API. There are some groups you need to add to have it show up in the EUI.

  • Configuration steps involved after creation of new personnel subarea in sap hr module

    Dear Friends,
    Let me know what all config to be done after creation of a new personnel sub area in SAP HR module?
    So that all infotypes including IT0007 & IT0008 are captured for hiring an employee & running the payroll ?
    Reg,
    TD

    Hi Tanuja,
    Normal customization only you have to do for every PA & PSA. if you don't have the steps i will give you the steps.

  • Need to send an email (after the FTP adapter does the transfer)

    I have a simple ESB project. It uses FTP adapter to pick a file and encrypt it (by using a webservice) and then transfers that
    file to a different server. As mentioned FTP (SFTP) adapter is used to do this.
    After the file is transfered ( by using the PUT mode of the FTP adapter) , i
    need to send an email to a given address telling about the succes of the file
    transfer. But the problem is I can not link or attach a router to FTP adapter
    in PUT Mode. A FTP adapter in Get mode comes with a Router but a FTP adapter
    with PUT mode does not come with a router. How can I attach a router (or a web
    service to a FTP adapter which is in PUT mode)
    Prakash

    I'm fairly certain you'll have to use BPEL to accomplish this. I'd put the FTP Adapter inside a BPEL process then you can drop the email activity in after the ftp operation.

  • Why apple doesn't send anymore emails after purchases?

    Hello everyone.
    I would like to know why apple has stopped sending me an email after my purchases to see how much I have spent, no matter if they were free apps or paid ones?
    And why the don't send me an email always to verify if the app was adquire by me or anyone else did the purchase?
    Thanks

    I would like to know why apple has stopped sending me an email after my purchases to see how much I have spent, no matter if they were free apps or paid ones?
    Give at least 24 to 48 hours before you see an email verification of purchases.
    And why the don't send me an email always to verify if the app was adquire by me or anyone else did the purchase?
    It's not Apple's policy to do so. It's up to you to check your Purchase History on your iTunes account. If you see any purchases you did not make follow the instructions for reporting here.

  • OES2 SP3: Master sends poison pill upon creation of new volumes

    I'm experiencing problems when creating a clustered pool and volume on
    OES2 SP3. After assigning a new FC LUN which is available on all nodes
    I'm using iManager to create a new pool and volume on the master node as
    described in the documentation. However, at some point in the procedure
    the master starts killing other nodes. Inspection with nssmu shows that
    the new pool is just available on some nodes. After a reboot everything
    is working nicely.
    Should I send the cluster to maintenance mode prior to adding a new
    volume? How can I force OES2 to scan for new pools other than rebooting
    the system? Is there a known problem or a TID for this behavior?
    Gnther

    Am 05.09.2012 09:38, schrieb Hans van den Heuvel:
    > On Tue, 04 Sep 2012 18:00:53 +0000, Andy Konecny wrote:
    >
    > Hi Andy
    >
    >> From this TID, it does look like the fix isn't generally available yet,
    >> especially given that the TID was last edited today.
    >
    > I have modified the wording in the TID, as the 'naming scheme' part
    > seemed to be confusing here.
    >
    > The should have read as in this particular tree, specific services are
    > installed and named in a specific way for easy identification purposes,
    > and these newly created cluster resources just did not comply to that.
    > They were just not named properly, nothing else.
    Sorry, but right now I'm completely confused. What are you talking about?
    From cluster administration manual:
    "10.1.1 Naming Conventions for Cluster Resources
    Cluster resource names can be up to 63 characters. Novell
    Cluster Services supports only
    alphanumeric characters and the underscore character in
    cluster resource names:
    ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwx yz0123456789_
    Special characters, such as the following, are not supported
    in cluster resource names:
    !@#$%&()
    Because the NSS pool name and Linux volume names are
    automatically used in the cluster resource
    name, do not use special characters !@#$%&() in names of NSS
    pools or Linux POSIX volumes that
    you plan to cluster enable."
    I did not use special characters in names of cluster resources, pools or
    volumes. So will my problem be still related to this TID?
    I will gave to go and check with CRM debugging.
    Günther

  • Unable to send any email from my brand new ipad 2 and my iphone 3gs lately

    Lately I found that my Iphone & my brand new ipad2 are unable to send out any email. it keep mentioning about the outgoing setting.."the connection to the outgoing server"webmail..." failed.Additional Outgoing mail servers can be configures in setting, bla bla bla
    .I try look for some advices from apple suport communities seems doesn't work for me...pls help...>_<

    Anyone can help?

  • No Program generated after creation of new report via Report Painter

    Hello,
    I have created a new report after copying an existing report from report painter GRR1. The new report has also been assigned to a new Report Group relevant to the same library.
    There is no Syntax error. The only change has been to the Title of the report.
    However when I am trying to execute the report nothing happens. ABAP found that no program has been generated by SAP for this mew rpeort. We confirmed this by searching with my user ID in table TRDIR.
    However there is no trace of it.
    We have tried to execute the report from GRR3 & GR53 (report group). The report & report group is having the same attributes as the old one.
    Unless the report is in executable stage we are not able to go to the Selection screen & finally from the Technical Information to the program name.
    Please could you let me know what can be the possible cause for this & how can we resolve the same.
    Thanks & Regards
    Shreenath

    @JoeSchmoe115:  Thanks for your suggestion.  Using a web service or WCF service would still mean dealing with potential timeouts for very large reports (granted you can adjust those timeouts).    
    I think an approach using a console app could work, but rather than having the web app spawn it, an alternative would be to do the following:  (1) have the web app insert report generation requests (including all necessary report parameters) into
    a database table, and (2) have a console app, periodically invoked by Windows Task Scheduler, which reads that database table and then uses the SSRS API as you describe to generate the report, save the byte stream to a file, and finally send
    the e-mail notification to the user.  
    mkedwards
    What you've described will work but saving report generation requests in separate table may not be necessary. I don't have much experience with web services but can they just spawn C# console app with needed parameters and exit without waiting for console
    app to complete?
    The positive side of using database to store report generation requests is that you would have complete log of all requests. Your console app can then update database with completion status.

  • TS2621 Home mail system cannot recieve emails after setting up new iphone?

    I just set up the email on my new iphone....but after doing so...I'm no longer able to recieve emails on my home MAC?

    Take a look at this article, you may need to contact your email provider if you use an email service other then those listed:
    HT 4810 iOS: Setting up an email account
    If you do need to contact an email provider for the server information, this document specfically states what infomration you need to obtain.

  • Searching Emails after transferring to new MacBook

    I recently purchased a new MacBook Pro and transferred my Home folder from my old PowerBook to the MacBook using the Setup utility that launched when I first powered up the MacBook. When I search for archived email I've sent in my Sent folder, Mail only finds the emails I sent from the new MacBook. The emails I sent from the old PowerBook do not come up when using the Search feature at the top fo the Sent window. The emails are there and can be seen in the list of emails but Search will not find them. I'm guessing the Mail app. on the new MacBook needs to index the files that came over from the PowerBook. Is there a way to force Mail to index all email files contained therein so that Search will see them?

    JCC,
    The mbox in the old account is evidence of leftover files, so you should also check the mailboxes in that account folder, such as Sent Messages.mbox, for leftover files.
    Quit Mail.
    I am assuming that you have never found any messages missing, and thus would have no need to make sure the mbox was fully converted when you upgraded to Tiger and Mail 2.x? If that is the case, then delete the mbox file in this INBOX.mbox, and also remove any files other than the Info.plist and Messages folder found in any other mailbox folder.
    After doing this, find the Envelope Index file at the root level of the Mail folder, and delete it. If by chance there were any other file with Envelope in the name, delete that as well. Relaunch Mail, and it will announce that it is ready to import your mailboxes. It will not really be importing anything new, but will be reindexing all your mailboxes. While using Rebuild on certain mailboxes (after removing the leftover files) might work, also, this will more or less take care of it, overall.
    After this, you should be able to search.
    Ernie

Maybe you are looking for

  • External monitor goes black when macbook pro has magsafe connected

    Hi, I have bought an external monitor about 1 week ago, and I have it connected with a minidisplay to dvi cable, and a dvi cable to the monitor. It was working OK -well, it had some sudden flash to black screen that lasted about 1 second, but nothing

  • Unplanned depreciation ABAA

    Hello Experts, I use ABAA to devaluate an asset(unplanned dep) with value date at 01.01.2010, but the depreciation run still not run for 01.2010. In AW01N, the column "Ord Dep" for all periods in 2010  still show the origianl depreciation value, but

  • Feed validation problem

    I would like to change some of these areas on my podcast such as add in artwork and the author title. Also in order for my feed to validate, it is imperative that I place my email on line 14. How do I access this? How can I get it done? 1. ?xml versi

  • Hosting question

    What if I want to host more than 5 Adobe Muse sites - what are my options? Or, how much is it for a client to host with Adobe and maintain in-browser editing tools for 2 different sites?

  • CRM 7.0 (SOLMAN 7.1 SP10) - Suggest Knowledge Article missing

    I am configuring Incident Management and Problem Management in SOLMAN 7.1 SP10 (which uses CRM 7.0 engine). I am getting message "There is no suggested knowledge article available" I have already create the same categorization in both ZMIN (Incident)