I am using the email function in Apex, and it works fine with my email

address, but when I change it to an email other than mine, it doesn't work.
I am using this:
for c1 in (select cust_email
from demo_customers
where customer_id = :P201_CUSTOMER_ID) loop
if c1.cust_email is not null then
HTMLDB_MAIL.SEND(
P_TO => c1.cust_email,
P_FROM => c1.cust_email,
P_BODY => 'Your order has been received and '||chr(10)||
'will be processed shortly.',
P_SUBJ => 'Order Number '||:P201_ORDER_ID||' received.');
end if;
end loop;
Message was edited by:
Pinnex

Can you be more specific about the problem? Can't really understand much from your one-line question!
Edit:
By the time I posted, u had edited ur 1 liner into multiple liner...no offense!
Message was edited by:
Scorpio

Similar Messages

  • How to Use the language function for assignment and validation

    Hi All,
    If anyone can explain me in details with example ,how to use the language function for assignments and validations?
    Thanks
    Arnab

    Hi Arnab,
    The expression is checked only for the current MDM session.
    If u login with the ABC language it will always show the ABC language no matter how many times u execute it.
    Try connecting to the DM with the XYZ language.
    It should go to the if part rather than else.
    Hope it helps.
    Thanks,
    Minaz

  • I have an ipad mini that won't power on. It was turned off to charge overnight. In the morning it was warm and now won't turn on no matter what I do. I've tried resetting using the power / home button combination and nothing works.

    I have an ipad mini that won't power on. It was turned off to charge overnight. In the morning it was warm and now won't turn on no matter what I do. I've tried resetting using the power / home button combination and nothing works.

    If you have owned the device, as in purchased from Apple, less than a year then there will be no charge to repair, or most likely, replace the device. If you have had the device more than a year you will be charged an out of warranty cost for replacement ($219 I think) and that is much cheaper than a new device. If you have Applecare+ then you have an additional year of coverage and the replacement will be $49 or $79 depending on when you got the Applecare.

  • I have just transferred elements 11 to a new windows 7 64 bit computer using the original purchased disc. Organiser is working fine, but I cant get the Editor to open at all.

    I have just transferred elements 11 to a new windows 7 64 bit computer using the original purchased disc. Organiser is working fine and all my photos are there, but I cant get the Editor to open. It just says editor workspace is loading and then it eventually gives up.

    Try opening directly from your desktop, by passing the welcome screen.
    Go to Windows Explorer>C drive>Program Files (x86)>Adobe>Photoshop elements 11. Right click, then Send to>Desktop
    Double click on the shortcut and see it will open.

  • I have an Itel based iMac on which I created a Wifi network using Airport. My iPhone5 uses the Wifi on my iMac and still works.My problem is that I can't remember the Wifi password and it is not in my Keychain.

    I have an Itel based iMac on which I created a Wifi network using Airport. My iPhone5 uses the Wifi on my iMac and still works.My problem is that I can't remember the Wifi password and it is not in my Keychain. What can I do so that I can connect other devices to my Wifi?

    Read the router's user manual on how to change your password.
    If you are going to select another password, make sure it's one that you will NEVER forget AND no one else can figure it out.  Print it out & keep in a safe place.  A place that ONLY you know about AND never forget.

  • I use an online application that doesn't work with FF, but I had been able to use an IE plugin within FF and it worked fine. After the last update (3.6.12), it says plugin is not compatable with version. Help?

    I use an online application that doesn't work with FF, but I had been able to use an IE plugin within FF and it worked fine. After the last update (3.6.12), it says plugin is not compatable with version. Help

    go to '''TOOLS '''then '''OPTIONS''' then '''ADVANCED''' then '''NETWORK tab''' then '''SETTINGS tab''' and select the options '''NO PROXY''' click '''OK''' and '''OK '''again in the next screen. With that you have disabled the proxy settings.
    ''if you like to not disable the proxy settings choose'' : '''Auto-detect proxy settings for this network''' (it is in the same session)
    thank you
    Please mark "Solved" the answer that really solve the problem, to help others with a similar problem.

  • HT4060 Can I use the power cord (30-pin and USB) that came with iPad 2 to charge it in my car's USB port?

    Can I use the power cord (30-pin and USB) that came with iPad 2 to charge it in my car's USB port?  Or do I need to purchase one of those cigarette lighter charging devices?  Thanks!

    You'd have to read your car manual but chances are it won't put out enough power for the iPad. The car is likely set up to charge a phone, most of which typically want half the power an iPad wants.
    I think your  options are to get a cigarette lighter looking charger, making sure it's powerful enough for an iPad...or you can get power inverters for about $25, where they plug into the cigarette lighter/power point and have a normal household type outlet on the other end. Then you'd just plug your charger  in like you would at home.
    Another option would be to look for something like a Zagg Sparq, which is a battery operated charger...plug the Sparq into the outlet at home. Its battery holds a charge and you can use that to charge your device. (zagg isn't the only manufacturer of such a device, Targus has one as well). Just look for portable chargers.
    The key to remember is to make sure it's rated for an iPad, which will want more power than a cell phone.

  • Can i use The iPod shuffle cable (3rd and 4th generation) comes with a 45 mm USB cable for syncing and charging. with 2nd generation ipod?

    can i use The iPod shuffle cable (3rd and 4th generation) comes with a 45 mm USB cable for syncing and charging. with 2nd generation ipod?

    thanks

  • I have the latest edition of the Flash player and it works fine with IE but Firefox keeps telling me I can play things because I dont have it

    Since I updated Firefox I cant play anything that requires Flash player. I have the up to date player and it works perfectly with IE but Firefox keeps telling me I need another plug in and when I follow the instructions it says 'download failed try manual download' but even that fails too.
    Before I updated Firefox I had no issues, can you help
    Alan.

    There are 2 versions of Adobe Flash:
    *an '''ActiveX version''' for IE only
    *a '''Plugin version''' for most other browsers including Firefox
    *On a Windows system, you should always update both individually.
    '''''You do not appear to have the Plugin version for Firefox installed. ''''' If you did, in Add-ons > Plugins you would see "Shockwave Flash ''(version)''". If "Shockwave Flash" is there and is disabled, click the "Enable" button.
    Check your Plugins often --> http://www.mozilla.org/en-US/plugincheck/
    *only the most popular/used Plugins are known by this page
    *page will detect only installed, '''''enabled''''' Plugins
    '''<u>Install or update Adobe Flash</u>'''<br />
    #'''<u>Using Firefox</u>''', go to the following link and SAVE the download to your desktop so you can find it later. Un-check any items on that page that you do not want to download (i.e., "McAfee Security Scan Plus":
    #*http://get.adobe.com/flashplayer
    #When the download is finished, close Firefox (File > Exit '''''OR''''' Firefox button > Exit)
    #Click or double-click on the file you just saved to your desktop
    #*In the installation window that appears, click the box to the left of "I have read and...." to place a check mark in the box
    #*The "Install" button in the lower right corner will now be highlighted, click it.
    #*The installation is quick.
    #Start Firefox and test your installation here: https://www.adobe.com/software/flash/about/
    #To update/install the ActiveX version for IE '''''only''''', repeat the process, '''<u>but use IE to go to the above website</u>'''.
    '''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''

  • HT4009 Purchasing gems on the clash of clans game.  It tells me to contact customer support   This happens a lot  and support takes the block off my account  and everything works fine. Looking forward to y'all resolving my issue   Ryan Hinger

    Purchasing gems on the clash of clans game.  It tells me to contact customer support   This happens a lot  and support takes the block off my account  and everything works fine. Looking forward to y'all resolving my issue   Ryan Hinger

    If you are getting a message to contact iTunes support then only they can help you (these are user-to-user forums, we won't know why you are getting the message) : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page

  • I bought a new iphone 4s and I have a problem with the service. How can it be solved? the SIM card is new and was working perfect withe iPhone 4G

    I bought a new iphone 4s and I have a problem with the service. How can it be solved? the SIM card is new and was working perfect withe iPhone 4G

    Under the answer you want to mark as correct you should see a box that says Correct with a green symbol to the left and a box with Helpful with an orange star to the left. Click on the one you want.
    And thanks for thinking about that, it is appreciated.

  • The screen goes black 2 or 3 secs after lifting the lid, but comes back on if I disconnect the magnetic power lead, after that it works fine with or without lead. Anyone had this problem, and is it symptomatic of a serious fault

    The screen goes black 2 or 3 secs after lifting the lid, but comes back on if I disconnect the magnetic power lead, after that it works fine with or without lead. Anyone had this problem, and is it symptomatic of a serious fault?

    It could be a software issue. I would reinstall the OS. You don't have to lose or reinstall any apps from archive and install. This way, your user folder remains intact but you get a fresh copy of the OS.

  • If youran ATT customer and you buy a I-Phone off ebay thats undercontract with ATT all you need to do is put your sim in the phone which I did and it worked fine, is that all I need to do?

    I purchased a I-phone off ebay  that was under contract with ATT which I am also, I put my sim in it and it worked fine, is that it as far as set up????

    Yes to working , I am still under contract so thats why the phone IS working and I have the max data plan already, I had a galaxy that broke and I purchased the I-Phone off ebay and they said it was under ATT contract so it would work for me and it did, so I am all set correct?

  • I receive the following error: (Error code: ssl_error_renegotiation_not_allowed) which worked fine with previous version of firefox and current safari

    Trying to get to secure website (Login site for IRB at Ochsner). Worked fine with previous version of Firefox and continues to work with safari. I receive the following error code:
    (Error code: ssl_error_renegotiation_not_allowed)
    Any Thoughts?
    Thanks,
    M White New Orleans

    Here's one solution from last year: http://dotomaz.tumblr.com/post/786443743/firefox-4-0b1-and-ssl-renegotiation

  • Is it possible to use an external hard drive to use the music collection at home and at work?

    I recently started using iTunes both on my home notebook as on my desktop computer at work. I also discovered it is not possible to download the songs I bought on both machines. It's a pitty, but I can understand Apple's point of view.
    I was thinking of bying a small portable USB powered hard drive to store my music collection on but I'd like to know whether this is possible before I buy myself a USB drive only to find out it's a waste of time and money. I assume it is possible the USB drive is assigned a different letter on each machine, but I think I can work around that. But is there anything else I need to keep into account?

    Sync iPod/iPad/iPhone with two computers
    Although it isn't possible to sync an Apple device with two different libraries it is possible to sync with the same logical library from multiple computers. Each library has an internal ID and when iTunes connects to your iPod/iPad/iPhone it compares the local ID with the one the device normally syncs with. If they are the same you can go ahead and sync...
    I have my library cloned to a small 1Tb USB drive which I can take between home & work. At either location I use SyncToy 2.1 to update the local copy with the external drive. Mac users should be able to find similar tools. I can open either of the local libraries or the one on the external drive and update the media content of my iPhone. The slight exception is Photos which normally connects to a specific folder on a specific machine, although that can easily be remapped to the current library if you create a "Photos" folder inside the iTunes Media folder so that syncing the iTunes folders keeps this up to date as well. I periodically sweep my library for new files & orphans with iTunes Folder Watch just in case I make changes at one location but then overwrite the library with a newer copy from the other. Again Mac users should be able to find similar tools.
    As long as your media is organised within an iTunes Music or Tunes Media folder, in turn held inside the main iTunes folder that has your library files (whether or not you let iTunes keep the media folder organised) each library can access items at the same relative path from the library folder so the library can be at different drives/paths on different machines. This solution ensures I always have adequate backups of my library and I can update my devices whenever I can connect to the same build of iTunes.
    When working with an iPhone earlier builds of iTunes would remove any file not physically present in the local library, even if there was an entry for it, making manual management practically redundant on the iPhone. This behaviour has been changed but it will still only permit manual management with a library that has the correct internal ID. If you don't want to sync your library between machines on a regular basis just copy the iTunes Library.itl file from the current "home" machine to any other you want to use, then clean out the library entires and import the local content you have on that box.
    tt2

Maybe you are looking for

  • IIS Express Issue?

    I am working in a visual studio premium 2013 solution that has a web project and class library. The web project is called UI and the class library project is called AppService. We are using ServiceStack and AngularJS. The UI project is calling the Ap

  • DISPLAY/PRINT MY EXPENSE REPORTS UNDER TERA FAILS WITH THE ERROR MESSAGE

    Hi Techies, When i click on "Display/print" button under my expense report ( Employee --> Travel & expenses --> Manage Expenses (TERA) --> My trip reports), it opens up a new window with the error message "SOAP Framework error: SOAP Runtime Exception

  • Country of Delv.Plant in Sale order

    Dear all,          Could anybody tell me that where to specify country of delivering plant in the sale order. Since i have created a condition table that has fields as country of delv.plant and region of delv.plant.           During creation of sales

  • Could not find the main class : HelloWorldApp program will exit

    please help me i downloaded and installed jdk-6u13-windows-i586-p(1) from sun.java.com in my computer --> Advanced --> environment variables --> i had set user variable : variable value java_home C:\Program Files\Java\jdk1.6.0_13\bin System variable:

  • LF to CR/LF in FlatFile

    Hi All , We have an Idoc to flat file scenario in which the flat file that is generated from PI has LF as the delimiter. It is required that the delimeter be changed to CR/LF character. Is there a standard SAP adapter module for the same. What are th