How to send an e-mail from an ADF BC application?

Hi all,
I have a requirement of sending e-mail from my ADF BC application.I am using JSF and Jdeveloper 10.1.3.3.0.
Can anyone please help me out?
Thanx in advance,
Arijit

You can do it easily, there are 2 ways;
1- add a mail class and call its method from a managed bean. (viewcontroller) sample: http://www.javacommerce.com/displaypage.jsp?name=javamail.sql&id=18274
2- write a stored procedure and create a view object in model side. Then use this viewobject. (model) reference: Oracle UTL_SMTP plsql package , sample: http://www.oracle-base.com/articles/9i/EmailFromPLSQL9i.php
Mucahid

Similar Messages

  • How to send a e-mail from folio with subj and text

    Hello!
    I need send an e-mail from folion. I knew how to make hypperlink but a need not only subj and address. I need a text there. Can somebody explain how it's should be?
    Best regards

    You can make an object have a mailto: hyperlink that has subject and body variables included.
    It would look like this:
    mailto:[email protected]?subject=Subject-text-goes-here&body=Body-text-goes-here
    Fill in the variables with your own text, and make sure to replace spaces in your subject and body text with figure dashes.

  • How to send an e-mail from a store procedure

    Hi,
    I need to find a way to send an e-mail from an store procedure every time a table is fetched.
    Is there a way to accomplish this task?. The e-mail should only display the rows in the table (no more than 5 rows) on a daily basis.
    Any help or example any of you can provide, it's greatly appreciated.
    Thanks
    Ed

    With Oracle 10g you can use UTL_MAIL to send mails.
    For earlier versions see the sample code on OTN
    http://www.oracle.com/technology/sample_code/tech/pl_sql/htdocs/Utl_Smtp_Sample.html
    Use DBMS_JOB to schedule the sending of the mail

  • How to send information/warning message from CRM to B2B application

    Hi,
    I need to send information/warning mesage from CRM to B2B application.
    I am using FM CRM_MESSAGE_COLLECT to send the required message to application log first and then implemented a BADI called CRM_ISA_BASKET_MSGS for reading that message to dispay it in Internet Sales.
    When I am passing message type as E in FM CRM_MESSAGE_COLLECT ,it is correctly showing it in B2B internet sales application as an error message but when I tried to pass message type as I/W it is not dispaying the message in B2B internet sales application although that information/warning message is being displayed in application log in CRM
    Can anyone pls provide some useful inputs for passing information or warning message type from CRM to Internet Sales allpication??
    BR,
    Bykam

    You need to fire the action from B2B, maybe when the b2b is all loaded you can call a FM in CRM that will handle some validations, this FM will return a result, store it in a session attribute, and put a condition in the JSP that will handle the response, inside this condition (if the attribute session is not empty) print a block, a label or something in html, css class will help to put some colors and maybe make a custom alert block.

  • Help, how to send an e-mail from JSP

    I need to know if there's any method or library that helps me to send a mail from a web page, i need to send data from a query from mysql, does anybody knows how??? PLEASE!!!!

    here are the links that can help you.. you must download the jar files needed in order for you to send mail using java
    http://www.javaworld.com/javaworld/jw-10-2001/jw-1026-javamail.html
    http://java.sun.com/products/javamail/
    http://java.sun.com/products/javamail/FAQ.html

  • How to send an external mail from workflow.

    Hi,
    I have created a send mail in my workflow but it isnot sending the external mail
    Any guesses?

    Check the status in SOST . If not ask ur BASIS guys to work on SCOT.
    Richard A

  • How to skip dialogue box which ask you to confirm the operation when your used labview to send an e-mail from Outlook?

    I'm using Labview to send an e-mail from outlook and everytime I got a dialogue box which inform that a software is trying to send an e-mail. To send this e-mail I have to confirm operation. How can I avoid this dialogue box ?

    I don't know what code you're using but the attached VI works with my version of Outlook and doesn't have any pop-up messages. I downloaded it from somewhere a while ago but don't remember where it was from.
    Attachments:
    Email_sender.vi ‏54 KB

  • How do I stop Mac Mail from sending an unauthorized "out of office" message to a few, not all, my associates

    How do I stop Mac Mail from sending an unauthorized "Out off Office" reply to several, not all, of my associates emails?  Only happens with me.com mailbox, not Earthlink.  Am not getting some important e-mail from brokerage and business associates.

    If Earthlink is unaffected it is probably a settimg in me.com.  Log into me.com account in a browser such as Safari (will get icloud.com) and select the settings (gear) icon bottom left, and then click on the airplane icon. Make sure vacation setting is unchecked.

  • How do I stop  my mail from send out my e-mails with the mobile me acct instead of my default provider?  I have checked the "use only this server" in my provider account.

    How do I stop  my mail from send out my e-mails with the mobile me acct instead of my default provider?  I have checked the "use only this server" in my provider account.

    There is no such option/setting on an iPhone to determine this. Whether you can view the attachment has more to do with your connection, WiFi or cellular, and the size of the attachment than anything else. There will be a paperclip indicating the message includes an attachment regardless if downloaded with the message or not. When connected to the cellular network, if an attachment is below a designated size the attachment will be downloaded automatically. If over a certain size, you must select the attached file icon in the body of the message to download the attachment. The size limit varies by carrier/provider.
    Tell her you're gonna leave her out of the Will if she doesn't stop .

  • How to Send Appointment via mail adapter

    Hi Guys,
         I need to send the appointment and vTodo via mail adapter, any way i need to develop a mail adapter module. Till now i have finished this part,and i can send normal mail even normal mail with attachment. But i don't know how to send appointment via mail adapter.
    This is payload content of appointment which got from Exchange server to gmail:
    _=_NextPart_001_01C71EC0.97A011C6
    Content-Type: text/plain;
        charset="GB2312"
    Content-Transfer-Encoding: quoted-printable
    When: 2007=C4=EA6=D4=C227=C8=D5=D0=C7=C6=DA=C8=FD 3:30 =CF=C2=CE=E7-4:00 = =CF=C2=CE=E7 (GMT+05:30) Chennai, Kolkata, Mumbai, New Delhi.
    Where: China
    ~*~*~**
    This is calendar content
    _=_NextPart_001_01C71EC0.97A011C6
    Content-class: urn:content-classes:calendarmessage
    Content-Type: text/calendar;
        method=REQUEST;
        name="meeting.ics"
    Content-Transfer-Encoding: 8bit
    BEGIN:VCALENDAR
    METHOD:REQUEST
    PRODID:Microsoft CDO for Microsoft Exchange
    VERSION:2.0
    BEGIN:VTIMEZONE
    TZID:(GMT+01.00) Sarajevo/Warsaw/Zagreb
    X-MICROSOFT-CDO-TZID:21
    BEGIN:STANDARD
    DTSTART:20070112T140000
    TZOFFSETFROM:+0100
    TZOFFSETTO:+0100
    END:STANDARD
    BEGIN:DAYLIGHT
    DTSTART:20070112T140000
    TZOFFSETFROM:+0100
    TZOFFSETTO:+0200
    END:DAYLIGHT
    END:VTIMEZONE
    BEGIN:VEVENT
    DTSTAMP:20061213T141132Z
    DTSTART;TZID="(GMT+01.00) Sarajevo/Warsaw/Zagreb":20070112T140000
    SUMMARY:This is calendar test
    UID:040000008200E00074C5B7101A82E0080000000030D51864C81EC701000000000000000
    010000000CA9F127EA8947844BC4DD47F269BDEA9
    ATTENDEE;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=TRUE;CN="Xu, Rocky":MAILTO:rocky@***.com
    ORGANIZER;CN="Xu":MAILTO:rocky@**.com;roc*@gmail.com
    LOCATION:Shanghai
    DTEND;TZID="(GMT+01.00) Sarajevo/Warsaw/Zagreb":20070112T160000
    DESCRIPTION:This is calendar content\N
    SEQUENCE:0
    PRIORITY:5
    CLASS:
    CREATED:20061213T141132Z
    LAST-MODIFIED:20061213T141133Z
    STATUS:CONFIRMED
    TRANSP:OPAQUE
    X-MICROSOFT-CDO-BUSYSTATUS:BUSY
    X-MICROSOFT-CDO-INSTTYPE:0
    X-MICROSOFT-CDO-INTENDEDSTATUS:BUSY
    X-MICROSOFT-CDO-ALLDAYEVENT:FALSE
    X-MICROSOFT-CDO-IMPORTANCE:1
    X-MICROSOFT-CDO-OWNERAPPTID:367904726
    X-MICROSOFT-CDO-APPT-SEQUENCE:0
    X-MICROSOFT-CDO-ATTENDEE-CRITICAL-CHANGE:20061213T141132Z
    X-MICROSOFT-CDO-OWNER-CRITICAL-CHANGE:20061213T141132Z
    END:VEVENT
    END:VCALENDAR
    _=_NextPart_001_01C71EC0.97A011C6--
    My question is
      1. How to generate this kind of payload in mail adapter module?
      2. It is possible to send appointment via mail adapter?
    Following i can get from other system, even using mail package check or not using mail package check.
    BEGIN:VCALENDAR
    METHOD:REQUEST
    PRODID:Microsoft CDO for Microsoft Exchange
    VERSION:2.0
    BEGIN:VTIMEZONE
    TZID:(GMT+08.00) Kuala Lumpur/Singapore
    X-MICROSOFT-CDO-TZID:21
    BEGIN:STANDARD
    DTSTART:16010101T000000
    TZOFFSETFROM:+0800
    TZOFFSETTO:+0800
    END:STANDARD
    BEGIN:DAYLIGHT
    DTSTART:16010101T000000
    TZOFFSETFROM:+0800
    TZOFFSETTO:+0800
    END:DAYLIGHT
    END:VTIMEZONE
    BEGIN:VEVENT
    DTSTAMP:20070608T025852Z
    DTSTART;TZID="(GMT+08.00) Kuala Lumpur/Singapore":20070608T110000
    SUMMARY:This is meeting request with attachment
    UID:040000008200E00074C5B7101A82E0080000000000A9BD0BA7A9C701000000000000000
    010000000C5E16D144D1612498C0EF7E2115EFEC4
    ATTENDEE;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=TRUE;CN="Xu, Rocky
    ":MAILTO:roc*@**
    ORGANIZER;CN="Xu,y":MAILTO:roc*@**
    LOCATION:India labs
    DTEND;TZID="(GMT+08.00) Kuala Lumpur/Singapore":20070608T113000
    DESCRIPTION:This is content!  <<shanghai.txt>> \N
    SEQUENCE:0
    PRIORITY:5
    CLASS:
    CREATED:20070608T025925Z
    LAST-MODIFIED:20070618T033505Z
    STATUS:CONFIRMED
    TRANSP:OPAQUE
    X-MICROSOFT-CDO-BUSYSTATUS:BUSY
    X-MICROSOFT-CDO-INSTTYPE:0
    X-MICROSOFT-CDO-INTENDEDSTATUS:BUSY
    X-MICROSOFT-CDO-ALLDAYEVENT:FALSE
    X-MICROSOFT-CDO-IMPORTANCE:1
    ATTACH:CID:008501c7b159$a9d41d3b$_CDOEX
    X-MICROSOFT-CDO-OWNERAPPTID:1468557271
    X-MICROSOFT-CDO-APPT-SEQUENCE:0
    X-MICROSOFT-CDO-ATTENDEE-CRITICAL-CHANGE:20070608T025852Z
    X-MICROSOFT-CDO-OWNER-CRITICAL-CHANGE:20070608T025852Z
    END:VEVENT
    END:VCALENDAR
    Thanks & regards
    Rocky

    Hi
    have a look at this
    You can use Java/ABAP proxies to do this job for you..
    Java Proxy >> will read the mail(with the attachments) with the help of Java APIs and send the message into XI ABAP Proxy >> for this you will have to first convert the attachment into a message and then you can proceed in the regular fashion.
    Not all adapters can process attachments, I'm not sure why you are having trouble with using module processor in the mail adapter. Just check if the service pack that you are using supports this feature.
    If you are on WAS 6.10 and above you can achieve this and there is an excellent weblog by Thomas Jung on this topic at
    /people/thomas.jung3/blog/2004/09/09/receiving-e-mail-and-processing-it-with-abap--version-610-and-higher
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/6d967fbc-0a01-0010-4fb4-91c6d38c5816
    reading Pdf Through mail easly done with Java Proxy, which will read the mail(with the attachments) with Java APIs and send the message into XI and then map with the Target ABAP proxy structure .
    Thanks

  • In iCloud, how to send an e-mail to a group of contacts, once I've created the group?

    I have created a group  from my iCloud contacts, but do not see how to send an e-mail message to this group.
    The help topics don't go this far.  Can anyone help?

    Thanks Winnie;  but why didn't that work when I typed in the whole title of the group?   Just the 1st 2 letters did the trick.
    Over & out

  • Mail is in a loop.  I tried to send a bulk mailing from Filemaker Pro 10 and it has my mail program in a loop.

    I attempted to send a bulk mailing from my Filemaker Pro 10 database.  There were two bad addresses in the mix and mail continues to paint the attempts on my screen.  I have force quit the program but when I open it again, it goes back into the loop and paints messages until the program crashes.  How can I stop the emailing?

    Start off by trying to reset the ipad. Press and hold the power and home buttons at the same time until the device powers down and you see the Apple logo.

  • How to send an encryted mail

    Hi all,
             I have an issue. How to send an encrypted mail using smartform output.
    I am using the output from smartform and converting it to pdf and then sending that pdf as attachement through mail. But before sending,  i have to encrypt the contents of the mail. Plz anybody know the solution for this issue?

    check this link...
    http://help.sap.com/saphelp_nw04/helpdata/en/4e/c153426da9bd30e10000000a155106/content.htm
    Encrypt.?
    How to Encrypt?

  • How to send birthday wish mail to Employees on daily basis

    Hi ,
    How to send birthday wish mail to employee with greeting card as background image in Mail Content area.
    Is there any Standard program available in SAP.
    _Requirement:_
        Normal , Birthday Wish mail can be done through function module SO_NEW_DOCUMENT_SEND_API1.
        How to write program for getting , Greeting card as background image in Mail Content area.
        Is there solution in SAP .
    Regards
      Surendar

    Hi,
    Check this for embedding image in your email : Using CL_BCS to send email from ABAP
    And this about image as background and other related stuff : http://www.reachcustomersonline.com/2010/01/23/09.27.00/#faqs
    Best regards,
    Guillaume

  • Send connector - e-mails from two domains to distinct anti-spam IPs

    I have an Exchange enviroment that has two domains. I want that e-mails sent from a domain do the relay to an anti-spam, and e-mails sent from another domain do the relay to another anti-spam.
    Example:
    I need to config send connector to send the e-mails from "test1.com" to IP 10.160.190.66 and from "test2.com" to IP 10.160.190.69
    How do I do?
    I need this because each domain uses distincts anti-spam
    Tks.

    Hi,
    Before going on, I would like to confirm the following information.
    What's the version of the Exchange?
    Whether the two domains have their own Exchange or share one Exchange?
    Thanks
    Allen

Maybe you are looking for

  • Using iPhote Keywords with PS Elements and visa-versa

    Howdy, Does anyone know if you can xfer (import/export) iPhoto keywords to PS Elements 4 or Photo Bridge and visa-versa? Or do you have to create a new Keyword list with Photo Bridge and PS Elements 4

  • Macbook suddenly cannot connect to WiFi

    Hi guys, All of a sudden, overnight, my Macbook Pro cannot connect to our home wifi network. I have tried every trick in the book, rebooting, changing "locations," changing the password of the router, moving around the priority of the difference conn

  • Dremweaver CC doesn't start on Mac os maverick

    Hi I've installed Dreamwear CC but it doesn't start... when i click on it, simply nothing happen. i've read in forum some solutions and tryed but without success ( uninstalled java ecc...) but seem's nobody's had my problem... No problem with other a

  • How to find out the selected item in the lsit

    Hi all, How to find out the selected item in the list,can any please post some examples which easy to understand,because iam not a good programmer

  • ITunes and QuickTime gone

    I tried to install the latest version of iTunes, and when I did, it erased the old version of it as well as QuickTime. I ran the install and it went through the whole process ok up till it got done installing QuickTime. I recieved an error message (Q