How To Build an E-mail option in apex .

hi friends
How Can i send mail to client via using apex.
How can i do this.
Any One could tell me or send me any Packaged Application or Instraction to sent e-mail.
Thanks
Manoj

This is a modified example I am using:
CREATE OR REPLACE PROCEDURE stu_email_confirmation (
   p_stu_email_id   IN   NUMBER,
   p_stu_id         IN   NUMBER,
   p_stu_session    IN   VARCHAR2
IS
   v_text   VARCHAR2 (4000);
BEGIN
   FOR c IN (SELECT stu_id, stu_first_name, stu_last_name, stu_email,
                    stu_num_spaces
               FROM edu_students
              WHERE stu_id = p_stu_id)
   LOOP
      v_text :=
            'Hello '
         || c.stu_first_name
         || ' '
         || c.stu_last_name
         || CHR (10)
         || CHR (10)
         || c.stu_email
         || CHR (10)
         || CHR (10)
         || 'Regards.';
   END LOOP;
   wwv_flow_api.set_security_group_id (apex_util.find_security_group_id ('OC'));
   apex_mail.send (p_to           => c.stu_email,
                   p_from         => '[email protected]',
                   p_body         => v_text,
                   p_subj         => 'Hello',
                   p_cc           => NULL,
                   p_bcc          => NULL,
                   p_replyto      => NULL
END stu_email_confirmation;Denes Kubicek
http://deneskubicek.blogspot.com/
http://www.opal-consulting.de/training
http://apex.oracle.com/pls/otn/f?p=31517:1
-------------------------------------------------------------------

Similar Messages

  • How to build my own SELECT-OPTIONS?

    Hi experts,
    I hv 4 values like for a field, (say VBAK-BNAME),
    NAME_A
    NAME_D
    NAME_M
    NAME_Z
    My selection- screen is like,
    SELECT-OPTIONS: MANAGER FOR VBAK-BNAME.
    So,
    1) How to build the SELECT-OPTIONS table in my ABAP code?
    I mean, if the user enters the NAME_A TO NAME_Z in select-options, the system shuld take in-between NAMEs also!
    (Actually, I thiught that, the SAP will take care of building the select-options table based on Alphabetical Order, but, When I observed in debug mode, its not like that!)
    2) And Where I hv to write the code for building select-options? I mean, Is it DATA DECLARATION part, AT SELECTION SCREEN or AT SELECTION SCREEN OUTPUT or START OF SELECTION?
    thanq.
    Message was edited by:
            Sridhar
    Message was edited by:
            Sridhar

    Hi,
    Pls. suggest me other than RANGES?
    Well, if you don't want to use RANGE then you can do it at SELECT statement.
    SELECT BNAME
    INTO TABLE ITAB
    FROM VBAK
    WHERE BNAME IN ( NAME_A, NAME_D, NAME_M, NAME_Z )
    OR
    SELECT BNAME
    INTO TABLE ITAB
    FROM VBAK
    WHERE BNAME BETWEEN 'NAME_A' AND 'NAME_Z'.
    2) under which event i hv to write it?
    If you are using in SELECT statement, then you use at START-OF-SELECTION.
    If you are buiding RANGE, then you can use at any events such as INITIALIZATION, AT SELECTION-SCREEN OUTPUT, START-OF-SELECTION, etc.
    Regards,
    Ferry Lianto

  • How to remove the voice mail option

    How can i remove the voice mail option in my iphone 4s . Whenever i tap that icon the carrier  charges me ? pls help me ...................

    Hi, I'm having the same problem. I need the email icon disabled or removed. It can be done via the UI but I'm running it on a Citrix server and need it to default to disable or best case gone.

  • How to build an E-mail sending and receiving application in Windows Azure?

    I am a beginner Windows Azure Developer and I am trying to build applications like Gmail, Hotmail, YahooMail, etc. However, I am unable to build such an application. I have come to know how to send e-mail using SendGrid. Even, I don't know how to configure
    to receive e-mails. Please help me on how to develop such an application in windows azure.
    Regards

    hi Yash,
    Thanks for posting!
    About how to send mail using sendgrid, I suggest you could try this tutorials firstly via smarx's blog(http://blog.smarx.com/posts/emailtheinternet-com-sending-and-receiving-email-in-windows-azure).
    It supplied the method and code sample you could download . You may need create a listener to listen on the right port on workrole always.
    Please try it.
    Regards,
    Will
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to enable send e-mail option through browser window

    Hi all,
    i need to configure browser enabled e-mail sending option in my sharepoint 2013 site , here is my requirements.....
    From Address  : Default do not reply e-mail address
    To Address : Default my E-mail address
    Subject Line - Here is subject line
    Body  - here i need to enter my message
    want to add attachments if possible ,
    i have all this options using infopath form , but i need this in browser window ...
    am using below code for send through outlook , but i need this with browser enabled and adding default from and to address ...
    please help me with this ASAP.
    Thanks,
    Mani L
    Mani L

    Hi Mani,
    The A tag using the MailTo: can only work with a client mail program. There's no way to send an e-mail from the server using it.
    You can specify Subject and Body texts within the A tag, but you cannot specify the from and to addresses.
    In order to send e-mail from the server, you'd need to use either an app-part or custom web part. I don't think you can do it through CSOM.
    Paul.
    EDIT: It looks like you can do it through C# CSOM, but that would require an AppPart. I can't see SendEmail in any of the JavaScript based CSOM files.
    http://msdn.microsoft.com/en-us/library/office/microsoft.sharepoint.client.utilities.utility.sendemail(v=office.15).aspx
    Please ensure that you mark a question as Answered once you receive a satisfactory response. This helps people in future when searching and helps prevent the same questions being asked multiple times.

  • How can I get my mail app to sync from my mac to iPhone, I don't have the 'info' option in iTunes?

    How can i get my mail app to sync from my mac to iphone? i dont have the 'info' option in itunes!
    I have created files within the mail app and want them to be the same on my mac and iphone.

    You need a mail server that supports this then. Hotmail premium I believe does, but the free version does not. Gmail supports it, and any ISP that offers IMAP supports this capability. iCloud definitely supports it, so if you create a free iCloud email account and switch your primary email to it you would have this capability.

  • MAC OS X 10.9.3 setting up 0365 exchange on mail 7.3, but cannot find the option to adjust how many days worth of mail to store. At the moment it is only synching todays mail. Please assist.

    MAC OS X 10.9.3 setting up 0365 exchange on mail 7.3, but cannot find the option to adjust how many days worth of mail to store. At the moment it is only synching todays mail. Please assist.

    MAC OS X 10.9.3 setting up 0365 exchange on mail 7.3, but cannot find the option to adjust how many days worth of mail to store. At the moment it is only synching todays mail. Please assist.

  • How to block yahoo new messenger option in mail beta

    Hi,
    Anyone know how to block yahoo's new option of messenger being in the
    yahoo mail beta? I know we could just block access to yahoo mail, but
    that hasn't been a real problem at this point (according to our logs
    anyway) but now that messenger has been added there, it certainly could
    become a problem.
    Have already blocked webmessenger for yahoo and msn, are there others
    now? we have the other general blocks for the clients (port
    redirections etc)
    Thank you,
    Mike

    Mike,
    It appears that in the past few days you have not received a response to your
    posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Do a search of our knowledgebase at http://support.novell.com/search/kb_index.jsp
    - Check all of the other support tools and options available at
    http://support.novell.com.
    - You could also try posting your message again. Make sure it is posted in the
    correct newsgroup. (http://support.novell.com/forums)
    Be sure to read the forum FAQ about what to expect in the way of responses:
    http://support.novell.com/forums/faq_general.html
    If this is a reply to a duplicate posting, please ignore and accept our apologies
    and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Product Support Forums Team
    http://support.novell.com/forums/

  • How to define multiple recipents for send mail option

    Dear all,
    I am trying to send mail to multiple recipients. can some help me with a solution as we donot have orgnizational chart maintained in our organization.
    also
    is there some study material for how to use expression in send mail option
    thanks in advance.
    Best of regards,
    Gaurav Sood

    I don't know if there is a comparable FM like SO_USER_READ_API1 that uses a table for SOUDNAMEI1. I simply create a table of SOUDNAMEI1, loop SO_USER_READ_API1 adding to recipients and then SEND.
    This what you referring to?
    if there is a comparable FM, let me know. I don't 'see' any in package SO's FGs.
    Rick

  • How can I setup a mail-specific passcode/restriction on iPad used by multiple family members?

    How can I setup a mail-specific passcode/restriction on iPad used by multiple family members?
    Have an Exchange mail account setup and accessible in my mail on iPad... however my kids use it and i would like to restrict them from accessing this specific portion of the device.  I tried viewing restriction options and do not see that i can apply a restriction specifically to Mail.  Thanks for your help.

    Not a feature of iOS. Check the AppStore to see if there are other
    mail apps that allow passcode protection.
    Or use Safari to log onto your email via a web-based interface and
    enter your credentials each time. A bit slower, but the kids will
    not know the details to login.

  • EMAIL BILLING DOCUMENT TO CUSTOMER THROUGH SEND MAIL OPTION IN VF02

    Hi
    I want to make active mode in send mail option is in VF02/VF03.
    see below how to reach send mail option is in vf03
    There is one more option if u go vf03 give the billing document and go to issue out put , choose the print preview and go to text which is placed at top right side and click on that option there send mail option available. can we make active that option since it is showing in gray mode.
    Regards
    Venkat

    Venkat,
    If your SAP system's Output is configured with the proper output type and SMTP or IMAP mail sending servers then its possible to send mail directly by clicking the send email tab.
    I have a little knowledge about this technical congiguration. But we have solution manager from where we send mail directly to the user's Email.
    And also yu have to configure Workflow setting.
    Please take help of Workflow ABAP consultant.
    Thanks,
    Raja

  • I have just started to use Muse for our design agency and learning how to build ourselves a new site, I have manged to create a basic lightbox which contains sliding images, what I need to do now is have a pop up window which goes into detail about the pr

    I have just started to use Muse for our design agency and learning how to build ourselves a new site, I have managed to create a basic lightbox which contains sliding images, what I need to do now is have a pop up window which goes into detail about the projects, what I would like is a piece of text  or icon that when you roll over it and then click a separate window pops up with additional information in, once finished reading the info you can then click to close the box, any advice on how to do this?

    The best way to do what you're asking is with the Composition widget. Start with the Tooltip preset, which, by default shows the info on rollover. You can change the option to show on click, which is what you're after. You can also add the close button or have the info disappear on rollout.
    David

  • Verizon Blackberry Internet Service Client (BIS)- How to create an e-mail Filter

    Hello. Thank you in advance for replying to my question. I am trying to create an e-mail filter so that a contact's e-mail messages do not get delivered to my BB and instead just go straight to my regular e-mail account. I understand that you can do this function from the BIS, however when I tried to create an account I received a message that said "please use your device to access the BIS." I did just as the message told me but I did not get the same menu options from my BB as I would have gotten from doing it from the internet. The page only showed a list of my e-mails and an "edit" and "delete" choice for each one. There was no "Filter" button for me to click. I remember a while ago I able to access this page and was able to remove the BB signature (i.e.. "This message is being sent from a BB"), so I know that it was possible to access this page. I do not know why I am not able to accesses it now.               
    If anyone out there has Verizon and knows how to access the BIS, please let me know how. Or if you know how to create an e-mail filter function, please let me know.
    Thank you,
    Fred
    Solved!
    Go to Solution.

    Hi there!
    To log into your BIS account from a PC/browser (not the BB browser), go to this URL:
    https://bis.na.blackberry.com/html?brand=vzw
    Enter your BIS credentials and you will then be in your BIS account screen. From there, use this KB to create the filter you desire:
    KB04558 Add a filter to a BlackBerry Internet Service account
    Good luck and let us know!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • How can I disable e-mail and text messages when I'm close to or over my data quota ?

    How can I disable e-mail and text messages when I'm close to or over my data quota ?
    Is this possible? I don't see any options?
    All I see is this:
      Receive confirmations of many account transactions via Email and/or free Text Alerts delivered right to your cell phone. You can receive these confirmations for  
       transactions done online, over the phone or from your handset. Account management Text Alerts do not count against any Messaging allowances.
          Your bill is ready for review.
         Payment Confirmations: Your payment has been  received    Your credit/adjustment     has been applied.1
         Account Activity Confirmations     Plan changes     Feature changes1

    What phone?
    You would need to disable data on the phone itself.  You wouldn't do it online on your account.
    Note also that text messages do not count toward your data allowance.

  • (Mac Mail) How to obtain Yahoo! Mail when: You're inbox dissapears or does not show after all settings seem perfectly in place.

    Hello everyone!
    Note**: I am in no way attempting to illustrate how to get FREE email listing from Yahoo! Mail, I am only reciting what I have stumbled upon. I do not know if Yahoo! actually wants this to work in Mail. but it does, so if they didn't want it to work they will patch it or something. I recommend that you take advantage of their paid service(annual) which allows POP forwarding of emails quickly and withou any need for reconfiguration.
          I hope this "fix" is not being rementioned or creates redundancy, however after hours of searching all sorts of foums(including the Apple forums ofcourse) I was unable to find a true fix. Simply put, I just got a brand new Macbook Air 13'' for Christmas 2011. I also bought a Macbook Pro 15'' back in late 2010. I was never able to get Yahoo! Mail configured even through methods of IMAP rather than POP or POP3. Oddly enough, on my Macbook Air and Pro, now, when I try to redo the Yahoo! settings, my Inbox would display messages for a matter of seconds and then the messages would dissapear. However, there was still a number next to my Yahoo! e-mail, accurately indicating how many unread messages I had. I fixed it like so:
    1) Go to www.yahoo.com-- Configure Yahoo! account via account settings to work off of IMAP rather than POP Forwarding. Do so by going into account options on the top right or left hand of your screen and clicking through the forwarding options until you see IMAP. Make sure you save your new settings! This is very simple and I feel requires no further explanation. If you become confused, let me know and I will go into detail then.
    2) Once your Yahoo! Mail account is IMAP simply go into the Mail application on OSX (Mac). On the top bar of the Mail pane click on the "Mail" option in between the Apple sign and File.  Then, Click on Preferences from that dropdown pane. When this window appears, Click on the "@" symbol that says "Accounts" right under it. This is in between General and RSS options. Under the left-hand list that says "Accounts", click on the "+" sign as opposed to the "-" sign you will see there. This will allow you to setup an account or additional accounts. A window then will appear with options:
    3) ****Make sure you ARE connected to the internet wirelessly or via ethernet for this part!****
    ---------- Full Name: (Enter Full Name Here)
    ---------- Email Address: (Type in full email address, e.g.: [email protected])
    ---------- Password: (Type in your password to your email account, this IS CASE SENSITIVE.)
    4) Now! Listen! (lol), hit create and let the mac show you the settings it has pinged back from the Yahoo! mail server. It should illustrate that your e-mail is an IMAP based email address etc. As long as the account is created with the IMAP configuration and Mail reads it as so, you have succeeded thus far.
    5) Critial Step here: Go into the Mail application on OSX (Mac). On the top bar of the Mail pane click on the "Mail" option in between the Apple sign and File.  Then, Click on Preferences from that dropdown pane. When this window appears, Click on the "@" symbol that says "Accounts" right under it. This is in between General and RSS options. Under the left-hand list that says "Accounts", click on the Yahoo! IMAP account. Close to the top of that page between the different Mail options and the account settings you will see three different bar pages: a) Account Information, b) Mailbox Behaviors and c) Advanced.
    6) Click on the Advanced tab. Do not touch anything on this page, except, IMAP Path Prefix. This is located in the middle of the Advanced page screen right above Port, where you will see |Port:   993   (Box IS checked for: USE SSL). In that IMAP Patch Prefix type the name of your Inbox(I say this because some people rename it in Yahoo!). Mine is simply "Inbox" so my configuration in Mail looks like so: | Imap Path Prefix:  Inbox |. After this, click on "General" or attempt to close the Mail options window and it will as you to save the new setting. Ofcourse, hit yes and click the Get Mail envelope and you will see your Inbox populate, assuming you have new mail.
    What this means: Test your OUTGOING mail server by sending yourself an e-mail either from your Yahoo! Mail or from another email. Thus, this will allow you tot est your INCOMING email as was now reconfigured to IMAP by seeing if you actually receive the email.
    Reason for doing so in this sequence: By letting Mail create the account it will properly import all of your mail folders you have in your Yahoo! Mail account. Obviously, your Inbox and Outbox as well as Sent and Trash folders will import but I have additional folders, for example, that also imported for putting financials or receipts into different folders for organization. Once these are populated naturally, by changing the IMAP Path Prefix you're telling the Mail application where to send your new emails. Atleast this is my understanding of it.
    Unfortuntely, I am not an officially educated 'techie", however, I have been fiddling with computers over the last 20 years and have been training myself to become Apple expert, seing as I have decided to completely convert to Apple products. Apple is just reliable. This, to me, is priceless. I truly hope I have helped you and that I have saved hours of Youtube video watching as well as forum searching for many. Should you have any questions, FEEL FREE to ask! I love helping others, hense why I have made this post(my first Apple post). Happy Holidays everyone and enjoy!

    dechamp wrote:
    What Mac Mail did was delete ALL inbox messages from my yahoo account, after one week from importing them to Mac Mail.
    The Yahoo server did exactly what you Mail program told it to do.
    Mail/Preferences/Account/Advanced - This setting is adjustable for each mail account.
    I didn't know about this feature until it was too late. I have already unchecked it for future emails.
    I was wondering if there is a way to retrieve these deleted messages back to my yahoo inbox.
    Not Really, you could forward them to your account, after you've told your mail program not to delete the emails at all, but they will show up as being from you instead of the original sender. The originals at Yahoo have been dumped and probably purged. It would take an IT manager at Yahoo to manually replace the emails, not much chance of that.
    I've already asked yahoo to "restore" my inbox to a day ago. That should help me with retrieving some of the messages back, I hope.
    Also, I was wondering about the sync feature on the Mac Mail and what will actually happen if I use it. Does it apply to mail messages, or to address book and calendar entries?
    The sync feature refers to IMAP email accounts like .Mac or .Me or an Imap gmail account. I didn't think Yahoo offered IMAP email accounts.
    Apple's MobileMe membership will let you sync your Mail, AddressBook, Calender, personal website with iWeb, etc.
    "MobileMe is a service that pushes new email, contacts, and calendar events over the air to all your devices. So your iPhone, Mac, and PC stay in perfect sync."
    http://www.apple.com/mobileme/
    I wanted to use Mac Mail, see if I liked it or not, then decide to get a MobileMe account. However, this is still a side note, since my yahoo account is my main email client.
    You seem to be very well informed, and I was wondering if I can ask you to clarify a point for me. Do you know how to archive the inbox in the Mac Mail?
    And thank you for answering my queries.

Maybe you are looking for

  • How to Continue Creating Recovery Disks after Updating Window 8.0 to 8.1

    My laptop is hp 2000-2d62nr notebook pc (energy star) S/N: 5CG342027W I might mess up the HP Recover Manager as follow: I was attempting to create the recovery disks for the HP Window 8.0 laptop. HP Recovery Manager needed 5 disks. After 2 disks made

  • Mac not recognizing USB external hard drive

    My Mac OS X 10.5.8 isn't recognizing my Samsung USB external hard drive. The hard drive has already been formatted for a Mac (rather than PC). My computer has recognized the external hard drive before with no problems. I've used it on a campus comput

  • Finance approved service entry date

    Hi Experts, We have an requirement, there is a Service entry sheet ( related to Service in SD ) created on suppose on 18/11/2011 and it is released for Finance approval. Suppose approver had approved it on 20/11/2011. Can we know in which table or Tc

  • History typed characters in Web UI

    Hi, colleague. All know about existing history typed-in characters and numbers in the any field. Agents(users) can press 'Backspace' and see all values typed in the this field. But, this function is NOT present in Web UI. I know about smart value, bu

  • Is possible to Integrate SAP BCM with Third party?

    Hello Everyone, Some of you can tell me if Is possible to integrate SAP BCM with another solution IBM ITSM? The integration would also have the screen pop up the same or similar to SAP CRM. Thanks in advance. Best regards Rodrigo Lucas