How to combine apex with mail

Hi,
I know how to send an e-mail to someone registered in a database maintained with an apex-application, but now I want to store the message itself in my database. Or the other way: by typing the content in my application and sending it as message.
Has anyone an example how to solve any of these ?
Any reaction will be appreciated.
Leo

<p>Leo,</p>
<p>These posts can help you:<ul><li>Mail from Application Express</li>
<li>Mail from Application Express again</li></ul></p>
<p>With kind regards,</p>
<p>Jornica</p>

Similar Messages

  • How to combine rows with small numbers into single "other" row?

    How can I combine rows with value 6(for example) or lower to single row representing the SUM of all this values and label OTHER, so the pie chart will have a chance to display all small values combined?
    I'm using Numbers 09

    HI Peter,
    When you write a decimal number, is the decimal separator a period ( . ) or a comma ( , )? If it's a comma, then the syntax error can be corrected by replacing the list separator in the formula, a comma in Jerry's formula, with a semi colon ( ; ):
    =SUMIF(B; "<6"; B)
    (Added): The two Bs appear in blue 'lozenges' in Jerry's image because that is the way cell (or column) references are displayed in Numbers when a formula has correct syntax.
    Regards,
    Barry
    Message was edited by: Barry

  • How to integrating APEX with the Oracle eBusiness suite release 11i

    I need to integrate Apex with Oracle eBusiness Suite Release11. APEX need to use ERP authentication (user name/password) and oracle APEX pages will be called from oracle eBusiness Relese 11i menu.
    I have followed metalink doc. 373604.1 and also looked into http://www.oracle.com/technology/products/database/application_express/pdf/Extend_Oracle_Applications_11i.pdf
    I have setup DAD on Apache server, oracle Apps functions/menu and created apex_authorise function and added to my APEX application. I have followed the all the steps from above pdf file.
    Here is my issues:
    1. When I try to launch a APEX page again it asking me for the user name password
    2. If I remove login page from APEX application then I can launch my APEX application but I cannot see any images
    3. I need to pass oracle ERP 11i user and responsibility information to APEX. How should I do this?
    Any help will be really appreciated
    Thanks in advance

    Many customers want this and would have hoped that Oracle would have included this as an option. Unfortunately, the left hand(Oracle Apps product managers) don't talk to the right hand(Apex product managers). They totally missed this great opportunity to make life much easier for Oracle Apps customers who have been waiting for this capability that Apex provides. At the present time this is somewhat a black hole. There are people who have figured it out but no one has provided the recipe for everyone else. It's very unfortunate and a complete oversight by Oracle in my opinion. They've got thousands of people developing code but no one had any foresight to see who would use Apex and how they would use it.

  • How to connect APEX with MYSQL via Apex's Database link

    How do i connect APEX with MYSQL via Apex's Database link? The OBE doesn't go into specific detail about how to link the two.
    can someone please elaborate on what these are and where i can find them in mysql:
    Database Link Name      
    Connect To Schema      
    Password      
    Remote Hostname or IP      
    Remote Host Port      
    SID or Service Name      
    I need to link to mysql database so I can set up a 3D pie chart in apex

    Hi jononioo
    A database link is a device for connecting between Oracle database instances only. Oracle does have a method for connecting to other database systems (Transparent Gateway) but this is restricted to other commercial databases and I don't believe there is a gateway for Mysql. (I could be wrong)
    I don't know Mysql but maybe there is some way to push data to the Oracle instance. Other than that, is there any reason why the data has to reside in the Mysql database?
    Regards
    Andre

  • How to combine TrivialPageFlowEngine with JAZN XML-based provider ?

    With help TrivialPageFlowEngine possible will limit access to pages, and also to set pages for logon. However, JAZN XML-provider provides the same functionality. How to combine these two approaches

    Rustam,
    can you help me with "TrivialPageFlowEngine"? Where can I get documentation for it to have a quick lokk before replying to your request. Oracle9iAS JAAS (aka JAZN) is based on the Java Authentication and Authorization Service and implements it's own provider.
    If you look in the OC4J demos for jazn, there are two samples explaining how to setup JAZN (If installing OC4J with Oracle9iDS or Oracle9iAS then jazn already is defined to be the default provider).
    If e.g. you use Oracle9iAS and configure (and deploy) a Servlet for basic authentication, then this automatically is performed by the Oracle Single Sign-on server (if configured for OID) or direct jazn-data.xml (if not using OID). All your code needs to do is to get the authenticated principal's name.
    From your posting it is not clear if you require authentication or authorization alike. Authorization requires permission classes to be written and assigned.
    Fran

  • How to combine BOMs with Free Goods?

    Dear all.
    I am currently working on setting up a retail store in SAP ERP (6.0). Our client requires from us creating a functionality that would allow to create sets and add free goods to a certain set. For example: if you buy a set consisting of a hammer and a drill at a regular price, you get a pair of gloves free of charge.
    We used BOMs to create the sets and attempted to combine them with Free Goods, which prooved impossible -- FGs don't work with BOMs. We also tried to use Bonus Buys, but these seem to be working only with SAP Retail, which is not available to us.
    Do you know any way around this problem?
    Grzegorz

    Shantanu
    It sounds pretty helpful, however, what we just found out it is impossible to give away free goods according to the local tax standards - so we have to give them away for a fraction of the price rather than free of charge. This forced us to create a separate logic to deduce different item categories in a sales order and different prices according to that.
    Thanks anyway.
    Grzegorz

  • How to combine sound with video to an AVI Using IMAQ?

    I need to combine sound with video I capture and write it out as an AVI. Is there anyway in Labview to combine sound with and AVI? Or an easy to use third party product?

    Hello,
    The AVI tools that are provided with Vision allow for data to be added to your video.  Sound information can be stored this way, but if you are looking for a way to add audio support to your video (such that it will play the sound file when the video is played in Windows Media Player or other applications) you may want to look into finding a shareware or freeware product that can accomplish this.  LabVIEW does not have tools specifically targetted to this operation.
    Good luck,
    Robert

  • How To Use Stationery With Mail Replies

    The issue of using stationery files was one of the main reasons why I personally resisted switching to Apple Mail from Eudora 6.2.4 for many years. I use stationery files a lot in Eudora.
    Now that I have begun to use Apple Mail after all of these years -- I've been a solid Mac user for 21 years -- while I have been able to set up almost thirty custom stationery files, and can use them in original messages that I create -- although it takes seven steps from the time that I hit the "New Message" button to the time that I hit the "Send" button, while this can be accomplished in Eudora in only three steps using the "Message With" or "Reply With" message commands -- I have found absolutely no way to use my custom stationery files in reply messages in Apple Mail.
    Surely there must be a simple way to include stationery files in reply messages. Can someone here please point me in the right direction? From what I can tell, there doesn't even appear to be a way to add the stationery button to the toolbar that is located on the top right side of the reply window.
    I am also disappointed that there appears to be no way to delete the built-in stationery files that I have no use for, and which are just taking up space.
    Furthermore, I haven't found any way to rearrange my custom stationery files in the order that I like them. I want to place the ones that I use the most on the left side of the display window. As it is now, the one that I use the most is located on the very end on the far right side, so I have to scroll way over to use it.
    Apple, will you please address these basic Mail issues. Considering how advanced Mac OS X is, I am rather surprised that Apple Mail is deficient in these areas.
    Thanks so much!

    As much as I have enjoyed using Eudora over the years, sadly, it is now falling behind the times. Some time ago, I began experiencing certain problems in some email messages, such as links not being clickable when they should have been, or at least not recognizing a certain link format, which resulted in Eudora throwing an error message. In other instances, email messages that were formatted in HTML were not displaying properly in Eudora.
    The minute that I switched to Apple Mail, both of these issues were resolved, and I was quite surprised. It really made me realize how old Eudora has become. And the supposedly "new" Eudora? Nope, sorry, no thanks! That is not the real Eudora. I have now grown used to using Apple Mail, but again, I would really like the ability to respond with stationery files.
    What also bugs me is that you cannot use stationery files with attachments, unless those attachments are images. For example, try attaching a zipped archive to an outgoing message that uses a stationery file. Everything seems okay until you hit the send button. Then you get a message which informs you that you either have to remove the zipped archive, or remove the stationery.
    In the second decade of the 21st Century, I find these various problems with Apple Mail -- including the problems that I mentioned in my previous message -- totally unacceptable.

  • How to avoid attachment with mail code

    Hi ,
    I have written a code for sending e-mail notification .Code is working fine as e-mail is triggered as expected but when mail is recieved an attachment comes along with it named attzurlm.dat. Plz provide pointers how to remove this attachment .
    PFB the code
    public String sendEmail( List<String> recipientList, String subject, String message , String from,String cc,String logoPath,Logger LOGGER) {
    try{
    functionName="sendEmail()";
    //Set the host smtp address
    Properties props = new Properties();
    Utils util=new Utils();
    //Fetching values from lookup
    tcLookupOperationsIntf lookupIntf = Platform.getService(tcLookupOperationsIntf.class);
    String smtpHost=util.getLookUpValueByKey("LookUp.EmailInfo","CG_EMAIL_SERVER",lookupIntf,LOGGER);
    LOGGER.debug(functionName+ " SMTP Host Name :"+smtpHost);
    props.put("mail.smtp.host", smtpHost);
    props.put("mail.smtp.auth", "false");
    // create some properties and get the default Session
    Session session = Session.getDefaultInstance(props, null);
    //session.setDebug(debug);
    // create a message
    Message msg = new MimeMessage(session);
    //Check if cc is required
    if (cc.length() != 0) {
    InternetAddress ccAddress = new InternetAddress(cc);
    msg.setRecipient(RecipientType.CC, ccAddress);
    // set the from and to address
    InternetAddress addressFrom = new InternetAddress(from);
    msg.setFrom(addressFrom);
    InternetAddress[] addressTo = new InternetAddress[recipientList.size()];
    for (int iCountMail = 0; iCountMail < recipientList.size(); iCountMail++)
    addressTo[iCountMail] = new InternetAddress(recipientList.get(iCountMail));
    msg.setRecipients(Message.RecipientType.TO, addressTo);
    // Setting the Subject and Content Type
    msg.setSubject(subject);
    msg.setText(message);
    MimeMultipart multipart = new MimeMultipart("related");
    // first part (the html)
    BodyPart messageBodyPart = new MimeBodyPart();
    String htmlText = "<br>"+ message + "<BR><BR><P align=\"left\">" + "<br><img src=\"cid:image\"><br><br>" + "</P>";
    messageBodyPart.setContent(htmlText, "text/html");
    multipart.addBodyPart(messageBodyPart);
    messageBodyPart = new MimeBodyPart();
    DataSource fds=null;
    try{
    fds= new FileDataSource(logoPath);
    }catch(Exception exe){
    LOGGER.debug("Function:+ sendEmial :logofile path is missing"+logoPath);
    messageBodyPart.setDataHandler(new DataHandler(fds));
    messageBodyPart.setHeader("Content-ID", "<image>");
    multipart.addBodyPart(messageBodyPart);
    // put everything together
    msg.setContent(multipart);
    Transport.send(msg);
    LOGGER.info("Email sent to recipient :"+recipientList);
    }catch(MessagingException msgExc){
    LOGGER.error(functionName+" Error occurred while sending email:"+msgExc);
    msgExc.printStackTrace();
    return "ERROR";
    }catch(Exception exception){
    LOGGER.error(functionName+" Error occurred while sending email:"+exception);
    exception.printStackTrace();
    return "ERROR";
    return "SUCCESS";
    }

    Code Goes as below in curley braces :
    public String sendEmail( List<String> recipientList, String subject, String message , String from,String cc,String logoPath,Logger LOGGER)     {
            try{
                 functionName="sendEmail()";
                 //Set the host smtp address
                 Properties props = new Properties();
                 Utils util=new Utils();
                 tcLookupOperationsIntf lookupIntf = Platform.getService(tcLookupOperationsIntf.class);
                 String smtpHost=util.getLookUpValueByKey("CG.LookUp.EmailInfo","EMAIL_SERVER",lookupIntf,LOGGER);
                 LOGGER.debug(functionName+ " SMTP Host Name :"+smtpHost);
                 props.put("mail.smtp.host", smtpHost);
                 props.put("mail.smtp.auth", "false");
                // create some properties and get the default Session
                Session session = Session.getDefaultInstance(props, null);
                //session.setDebug(debug);
                // create a message
                Message msg = new MimeMessage(session);
                //Check if cc is required
                if (cc.length() != 0) {
                    InternetAddress ccAddress = new InternetAddress(cc);
                    msg.setRecipient(RecipientType.CC, ccAddress);
                // set the from and to address
                InternetAddress addressFrom = new InternetAddress(from);
                msg.setFrom(addressFrom);
                InternetAddress[] addressTo = new InternetAddress[recipientList.size()];
                for (int iCountMail = 0; iCountMail < recipientList.size(); iCountMail++)
                    addressTo[iCountMail] = new InternetAddress(recipientList.get(iCountMail));
                msg.setRecipients(Message.RecipientType.TO, addressTo);
                // Setting the Subject and Content Type
                msg.setSubject(subject);
                msg.setText(message);
                MimeMultipart multipart = new MimeMultipart("related");
             // first part (the html)
                BodyPart messageBodyPart = new MimeBodyPart();
                String htmlText = "<br>"+ message + "<BR><BR><P align=\"left\">" + "<br><img src=\"cid:image\"><br><br>" + "</P>";
                messageBodyPart.setContent(htmlText, "text/html");
                multipart.addBodyPart(messageBodyPart);
                messageBodyPart = new MimeBodyPart();
                DataSource fds=null;
                try{
                    fds= new FileDataSource(logoPath);
                }catch(Exception exe){
                    LOGGER.debug("Function:+ sendEmial :logofile path is missing"+logoPath);
                messageBodyPart.setDataHandler(new DataHandler(fds));
                messageBodyPart.setHeader("Content-ID", "<image>");
                multipart.addBodyPart(messageBodyPart);
                // put everything together
                msg.setContent(multipart);
                Transport.send(msg);
                LOGGER.info("Email sent to recipient :"+recipientList);
            }catch(MessagingException msgExc){
                 LOGGER.error(functionName+" Error occurred while sending email:"+msgExc);
                 msgExc.printStackTrace();
                 return "ERROR";
            }catch(Exception exception){
                LOGGER.error(functionName+" Error occurred while sending email:"+exception);
                 exception.printStackTrace();
                 return "ERROR";
            return "SUCCESS";

  • How I solved issues with Mail.app and Spotlight

    Even though my upgrade from Tiger 10.4.10 to Leopard was painless, the new OS X did have a few issues that had bothered me:
    *Mail.app: * Every now and then, the app would behave like on its first startup, saying it needs to import my mail before I can work with it. What's more, at times I've had the phenomen that messages would appear empty on the preview pane and sometimes even when being opened.
    *Spotlight: * Even though I let the indexing finish on the first day of working under Leopard, every now and then it seemed to start all over. First, I thought it's the NAS being indexed but it just went on to restart indexing each time I thought I had let it finish.
    *Free disk space: * I tried to bring the usage of my homedirectory down so I would have enough free disk space to switch FileVault off and then back on so I could start using TimeMachine. But whatever I did, the free disk space just wouuldn't inrease - it just stayed the same (yes, I did let the system recover space on shutdown).
    The *free disk space* issue made me think there was a problem with my disk but repeated runs with the Disk Utility yielded nothing...not for about a month. Yesterday I got some warnings about 'damaged but not repaired' but according to an Apple doc those could be safely ignored.
    Somebody suggested to apply the combo update for 10.5.1 as that could solve some issues so I went ahead - after all, the update had already been applied earlier so just re-installing wouldn't hurt much, right?
    Wrong.
    The install of the combo update went smoothly, FileVault recovered some space on shutdown but upon restart I couldn't log in anymore: My homedirectory was damaged. The friendly OS X Leopard offered to repair it but soon later reported back that it failed doing so.
    Now, to cut a long story short - deleting the affected user's account and using a different user on the same machine (without FileVault) solved any issues I've had. Mail now works like a charm (despite 40k+ messages with attachments), spotlight doesn't restart all it's indexing and disk space is shown correctly again. Also the odd corrupt file copy I had experienced occasionally (especially with large files) was gone.
    My advise to anyone who didn't de-activate FileVault under Tiger to make the switch to Leopard: Even if you think it worked, switch it off and let Leopard set it up again. You may think things went right...but the above shows that there may be issues with it that you may blame other apps for...but they're probably not guilty at all.
    I don't think the combo update actually caused FileVault to turn corrupt, it was just what broke the camel's neck. While it's no fun to lose your homedirectory, I'm glad the underlying issue finally came to light.

    Thanks to this thread, it's been solved.
    https://bbs.archlinux.org/viewtopic.php?id=97653

  • How to combine text with variable in process flow

    Hi,
    I have created a function that returns the environment that a process flow is running in, Production, Test or Development. I have been able to bind the output of the function into a variable in a process flow and bind the variable to the subject of an email activity. I'd like to go one step more and combine the value of the variable with some text to explain which step in the process flow generated the email. Is there a way to concatenate text to a variable or to add an OWB system variable? I've seen an example where the subject of the email is
    "Failed mapping <mapping name>"
    but I want my subject to be "PROD Failed mapping <mapping name>" where the "PROD" is from a process flow variable or function return value.
    Is this possible?
    Thanks
    Don Keyes

    Hi Don,
    you can perform this task with ASSIGN activity.
    For example, you have two variable V_ENV_TYPE (with type of environment) and V_TEXT ("Failed mapping <mapping name>"). Define additinal variable V_NEW_TEXT, bind Variable parameter of Assign activity to V_NEW_TEXT variable and define value in Assign activity as
    V_ENV_TYPE || ' ' || V_TEXTRegards,
    Oleg

  • How to combine integers with JTextFields?

    Hello
    I have 2 textFields and i want to add on each a integer
    I also have 3 buttons 1for the "+"function 2 for the "-" function and 3 for the "="
    function
    How can i put integers and make the above functions using (JTextFields which are working with Strings as far i know)without throwing me exception thread String needed?
    thanks

    Why not just set the text to whatever number you want (or have the user do it by typing in the JTextField), then use getText() to retrieve the text and do your operations on it?
    User enters stuff into textfields
    User hits "enter" (or whatever)
    Use JTextField.getText()
    Use Integer.valueOf(String)
    etcOr whatever floats your boat.

  • How to combine HexByte with StringByte

    I have Hex string number, for example 1234. "" is equal to 2 bytes. Then I have a string, for example "HelloWorld", equal to 10bytes. In principle, the combination have to be 12 bytes.
    I want to combine them together and the result is given 1234HelloWorld, equal to 12 bytes. Meaning, the frist 4 charachters are still considered as HexString. How can I do that...
    I convert HexByte to string and combine them... but that gives the answer 14 bytes

    package util.encode.combine;
    import util.encode.convert.HexToByte;
    import util.encode.convert.toHexString;
    public class CombineByte {
         //Constructor
         public CombineByte() {
         //Method
         public byte[] merge (byte[] Array1, byte[] Array2) {
              StringBuffer Sbuff = new StringBuffer();
              //Calling constructor
              toHexString con1 = new toHexString();
              HexToByte con2 = new HexToByte();
              //Converting byte into hex-string --display purpose
              String printA1 = con1.convert(Array1);
              return outputArray;
         } // End of merge method.
              String printA2 = con1.convert(Array2);
              return outputArray;
         } // End of merge method.
              //Adding two string together & casing back to string
              Sbuff.append(printA1).append(printA2);
              String addString = Sbuff.toString();
              //Convert the output string into a byte array
              byte[] outputArray = con2.convert(addString);     
              return outputArray;
         } // End of merge method.
    } //End of class
              return outputArray;
              return outputArray;
         } // End of merge method.
         } // End of merge method.
    This class is the example which works perfectly well to combine 2 Hexbyte(Array1 and Array2). con2.convert(addString) give a result of OutputArray, which is HexByte.
    file:///usr/share/doc/HTML/index.html
    However if Array 2 is not Hexnumber...... For example, it the byte[] represent "HelloWorld".. My problem is how can modified to combine Array1 and Array2...(I still want Array 1 represent HexNumber).
    I've been tried to solve this for a couple of day, if someone know, could you please kindly tell me?
    Regard

  • How to combine SurfaceImageSource with Media Foundation?

    Hi,
    I am using following walkthrough, it works just fine but don't know how to integrate with SurfaceImageSource as a singleton.
    https://msdn.microsoft.com/en-us/library/windows/apps/jj207074(v=vs.105).aspx
    Could you give me some advise, any document that relevant to this scenarios? I am new to this.
    Thanks and Best Regards,
    Weera

    Hello,
    You should be familiar with this sample from our previous conversations:
    Media engine native C++ video playback sample. This sample should give you what you need to render the video from the Media Engine onto a D3D surface. You should then be able to use D3D and XAML interop to integrate with the SurfaceImageSource.
    Keep in mind that with the SurfaceImageSource the XAML compositing stack handles when the frame is updated. Because of this is it very likely that you will see tearing of the video when mixing the Media Engine render with the SurfaceImageSource. Because
    of this it is not recommended.
    I hope this helps,
    James
    Windows SDK Technologies - Microsoft Developer Services - http://blogs.msdn.com/mediasdkstuff/

  • Combining TextEdit with Mail

    I've never used TextEd, so I thought I'd familarize myself with it, particularly since I saw that you could drag sound and picture files into it, and since it has a Mail function. I did succeed in creating a TextEdit window/panel/screen that included text, sound and picture, but when I went to TextEdit>Services>Mail>"Send" and "Send to" and sent it as an e-mail, the message arrived,but it was blank. There was a minute or so delay in getting the message to my mailbox, but when it arrived and when I opened it, there was no message, no sound, and no picture.
    First of all, is it possible to use the TextEdit Services>Mail>"Send" and "Send to" commands do send the TextEdit file by Mail? Secondly, why didn't it work for me, and what am I missing?

    MARK THIS FILE AS CLOSED.

Maybe you are looking for