How to send email through oracle bpm suite 10.3.2?

I need to send an email to a particular participant each time the instance change activities.
I have created the "External Resource - Outgoing Mail" but to use the code below, I had no success ...
do
          Mail.from = "[email protected]";
          Mail.recipient = "[email protected]"
          Mail.subject = "Hi";
          Mail.contentType= "Content-type: text/plain;";
          Mail.message = "Hello";
          send Mail;
     on e as Exception
          display "Error!";
I use the Oracle BPM Suite 10.3.2
Grateful.
Wellington.

Using your logic you'd need to set the SMTP field for the Engine.
Since you configured the Outgoing Email External Resource, you might try this instead:
mail as Mail
mail.from = "[email protected]"
mail.recipient = "[email protected]"
mail.subject = "Hi"
mail.message = "Hello"
mailSender as MailSender = Fuego.Net.MailSender(mail : mail)
send(mailSender, implname : "{name of Mail Outgoing Service}")Dan

Similar Messages

  • How to sending email from Oracle Forms

    How to sending email from Oracle 6i(Forms)
    I need to send email to a distribution list(multiple email addresses).

    send email of multiple email address
    [email protected],[email protected],[email protected]
    create or replace function mailout
    (sender in varchar2,
    recipient in varchar2,
    ccrecipient in varchar2,
    subject in varchar2,
    message in varchar2) return number
    is
    crlf varchar2(2) := chr(13)||chr(10);
    connection utl_smtp.connection;
    mailhost varchar2(50) := 'Add email server Ip Address here';
    header varchar2(4000);
    v_num number :=1;
    str number:=0;
    email varchar2(50);
    begin
    connection := utl_smtp.open_connection(mailhost,25);
    header := 'Date: '||to_char(sysdate,'dd mon yy hh24:mi:ss')||crlf||
    'From: '||sender||' '||crlf||
    'Subject: '||subject||crlf||
    'To: '||recipient||crlf||
    'Cc: '||ccrecipient||crlf||message;
    utl_smtp.helo(connection,mailhost);
    utl_smtp.mail(connection,sender);
    utl_smtp.rcpt(connection,recipient);
    while (instr(ccrecipient,',',1,v_num)>0) loop
    email:=substr(ccrecipient,str+1,instr(ccrecipient,',',1,v_num)-str-1);
    dbms_output.put_line(email);
    utl_smtp.rcpt(connection,email);
    str:=instr(ccrecipient,',',1,v_num);
    v_num:=v_num+1;
    end loop;
    utl_smtp.open_data(connection);
    -- utl_smtp.write_data(connection,header);
    utl_smtp.write_data(connection,'MIME-Version:1.0'||crlf||'Content-type:text/html'||crlf||header);
    utl_smtp.close_data(connection);
    utl_smtp.quit(connection);
    return 0;
    exception
    when utl_smtp.invalid_operation then
    dbms_output.put_line('Invalid Operation in SMTP transaction');
    return 1;
    when utl_smtp.transient_error then
    dbms_output.put_line('Temporary problem with sending email ');
    return 2;
    when utl_smtp.permanent_error then
    dbms_output.put_line('Permanent problem with sending email ');
    return 3;
    end;

  • How to sending email from Oracle 6i(Forms)

    How can I send email from Oracle Forms(6i).
    I need to send email to a distribution list(multiple email addresses).

    send email of multiple email address
    [email protected],[email protected],[email protected]
    create or replace function mailout
    (sender in varchar2,
    recipient in varchar2,
    ccrecipient in varchar2,
    subject in varchar2,
    message in varchar2) return number
    is
    crlf varchar2(2) := chr(13)||chr(10);
    connection utl_smtp.connection;
    mailhost varchar2(50) := 'Add email server Ip Address here';
    header varchar2(4000);
    v_num number :=1;
    str number:=0;
    email varchar2(50);
    begin
    connection := utl_smtp.open_connection(mailhost,25);
    header := 'Date: '||to_char(sysdate,'dd mon yy hh24:mi:ss')||crlf||
    'From: '||sender||' '||crlf||
    'Subject: '||subject||crlf||
    'To: '||recipient||crlf||
    'Cc: '||ccrecipient||crlf||message;
    utl_smtp.helo(connection,mailhost);
    utl_smtp.mail(connection,sender);
    utl_smtp.rcpt(connection,recipient);
    while (instr(ccrecipient,',',1,v_num)>0) loop
    email:=substr(ccrecipient,str+1,instr(ccrecipient,',',1,v_num)-str-1);
    dbms_output.put_line(email);
    utl_smtp.rcpt(connection,email);
    str:=instr(ccrecipient,',',1,v_num);
    v_num:=v_num+1;
    end loop;
    utl_smtp.open_data(connection);
    -- utl_smtp.write_data(connection,header);
    utl_smtp.write_data(connection,'MIME-Version:1.0'||crlf||'Content-type:text/html'||crlf||header);
    utl_smtp.close_data(connection);
    utl_smtp.quit(connection);
    return 0;
    exception
    when utl_smtp.invalid_operation then
    dbms_output.put_line('Invalid Operation in SMTP transaction');
    return 1;
    when utl_smtp.transient_error then
    dbms_output.put_line('Temporary problem with sending email ');
    return 2;
    when utl_smtp.permanent_error then
    dbms_output.put_line('Permanent problem with sending email ');
    return 3;
    end;

  • How to send EMAIL through SmartForms

    Hi,
    Anyone plz help me how to send mails through smartforms.
    I want to send mails through smartforms.
    Plz suggest me regarding the same.
    Thanks & Regards,
    Sumivasu

    Hi Sumi,
    Same method as normal program, use the function SO_OBJECT_SEND.
    I'm sure you have tips about that in this forums.
    Regards
    Frédéric

  • Sending Email from Oracle BPM 11.1.1.4

    Hi,
    From my process i want to send an email to non- workspace user. How to do that.
    Am aware of the 11.1.1.6 Notifications, but my client requires 11.1.1.4 version
    Its urgent.
    Thanks,
    Priya

    We used java Mail API to send emails in 11.1.1.5 + Feature Pack too.
    Though as you said PS5 has this new feature - http://technology.amis.nl/2012/05/18/proces-email-with-the-new-ums-adapter-of-soa-suite-ps5/

  • How to send email through jsp

    can anyone please help me ...
    how do we send an email from a jsp page to any gmail,hotmail,yahoomail etc....
    what is the code for that
    if anybody know the solution it will be greatly appreciated ..
    regards
    santhosh
    9341208148

    I have a writeup that shows how to use JavaMail. It presents my EmailDelivery class (and example of how to use it) which I wrote to help me easily send emails from my Java applications using JavaMail. It supports relaying through SMTP servers that require authentication and has convenience methods for easily adding file attachments.
    Check it out at:
    http://timarcher.com/?q=node/53

  • [b]How to Send Email Through Developer using Micrsoft Outlook[/b]

    Here is the Code to Send Email From Developer 2000 using Microsoft Outlook(Note :- Outlook should be configured)
    Steps:-
    1. First Add the Wrapper Procedures for Outlook Express from the OLE Importer Utility such as
    · OUTLOOK_ATTACHMENT
    · OUTLOOK_MAILITEM
    PROCEDURE SENDEMAIL(to_Person varchar2,subject varchar2,body varchar2) IS
    EmailApp ole2.obj_type;
    EmailItem Ole2.Obj _Type;
    EmailAttachment Ole2.Obj_Type;
    EmailAttach ole2. obj_Type;
    aa number(5):=1;
    begin
    EmailApp:=ole2.create_obj('outlook.application');
    EmailItem:=ole2. create_obj('outlook.mail item');
    EmailAttachment:=ole2.create_obj('outlook.Attachment');
    EmailItem:=Outlook_Application.create Item(Email App,Outlook_Constants.olmailitem);
    EmailAttach:=Outlook_Mail Item.Attachment(Email Item);
    Add attachment From Block
    Go_block('BLK_ATTACHMENT');
    FIRST_RECORD;
    LOOP
    Email Attachment:=OutLook_Attachment.ole_Add(EmailAttach,;BLK_ATTACHMENTS.attach,1,AA,ISPNAME);
    AA:=AA+1;EXIT WHEN:SYSTEM.LAST_RECORD='TRUE';
    NEXT_RECORD;
    END LOOP;
    Outlook_mailitem.OLE_to(EmailItem,TO_PERSON);
    Outlook_mailitem.subject(emailitem,SUBJECT);
    Outlook_mailitem.Ole_body(emailitem,MAIL.BODY);
    Outlook_mailitem.send(emailItem);
    End;

    Here is the Code to Send Email From Developer 2000 using Microsoft Outlook(Note :- Outlook should be configured)
    Steps:-
    1. First Add the Wrapper Procedures for Outlook Express from the OLE Importer Utility such as
    · OUTLOOK_ATTACHMENT
    · OUTLOOK_MAILITEM
    PROCEDURE SENDEMAIL(to_Person varchar2,subject varchar2,body varchar2) IS
    EmailApp ole2.obj_type;
    EmailItem Ole2.Obj _Type;
    EmailAttachment Ole2.Obj_Type;
    EmailAttach ole2. obj_Type;
    aa number(5):=1;
    begin
    EmailApp:=ole2.create_obj('outlook.application');
    EmailItem:=ole2. create_obj('outlook.mail item');
    EmailAttachment:=ole2.create_obj('outlook.Attachment');
    EmailItem:=Outlook_Application.create Item(Email App,Outlook_Constants.olmailitem);
    EmailAttach:=Outlook_Mail Item.Attachment(Email Item);
    Add attachment From Block
    Go_block('BLK_ATTACHMENT');
    FIRST_RECORD;
    LOOP
    Email Attachment:=OutLook_Attachment.ole_Add(EmailAttach,;BLK_ATTACHMENTS.attach,1,AA,ISPNAME);
    AA:=AA+1;EXIT WHEN:SYSTEM.LAST_RECORD='TRUE';
    NEXT_RECORD;
    END LOOP;
    Outlook_mailitem.OLE_to(EmailItem,TO_PERSON);
    Outlook_mailitem.subject(emailitem,SUBJECT);
    Outlook_mailitem.Ole_body(emailitem,MAIL.BODY);
    Outlook_mailitem.send(emailItem);
    End;

  • How to send emails from of pdf's generated by oracle reports

    I have several pdf documents , I want to email those pdf's . Please let me know how to send emails from oracle reports .
    Thanks,
    Previn

    I have integrated Oracle Reports with Oracle Portal and used the scheduling feature via portlets. We have reports that run every monday morning for management. For more info go to:
    http://otn.oracle.com/products/reports/htdocs/getstart/demonstrations/index.html
    OR
    I think if you set destype=mail, desformat=PDF, and desname=[email protected] that should also do the trick.
    Just be sure that you have put your mail server's IP address in the rep_<machine_name>.conf file located in your <oracle_home>/reports/conf directory. If this is not set up, the mail feature won't work.
    Martin

  • How to Send mail in oracle 10g

    I am new in oracle developer.....we are using oracle 10g developer...how to send mail through oracle 10g on a button click.pease help me.
    Thanks in advance

    This question have been asked many times on this forum, see if you get help from following:
    https://forums.oracle.com/message/5395438#5395438
    Search results: https://forums.oracle.com/thread/search.jspa?peopleEnabled=true&userID=&containerType=&container=&q=form+email
    Check this out as well:
    http://nzchaudhry.wordpress.com/2013/05/31/send-report-via-email-attachment-in-oracle-forms-10g/
    You can find init.ora or initSID.ora file under $ORACLE_HOME/dbs on linux and on Windows under $ORACLE_HOME/database. Otherwise you can create it using "create pfile from spfile" command
    Aneel

  • Good resources on Oracle BPM Suite 11g

    Hi
    I have a good knowledge as well as working experience on SOA & Oracle SOA Suite 11g.
    Now, I've decided to learn Oracle BPM Suite 11g.
    Would you please suggest me the best resource for this.
    I've started going through Oracle BPM Suite 11g Handbook. The book is good, but just want to know if there is another resource/book that's better than this.
    Regards
    RaviKiran.

    Hi Sudipto
    Thanks for the response.
    These were good links. The webinars seem to be good.
    I'm actually looking for a book that covers the entire suite
    In learn more section, I find two books
    Oracle Business Process Management Suite 11g Handbook and Getting Started With Oracle BPM Suite 11g R1: A Hands-On Tutorial
    Which among these two is better? If there's anyone who has gone thru these books, please suggest me a good book.

  • Sending email through outlook

    Hi,
    i got a email functionality requirement , i need to send the report output to recipient inbox as an attachment, through outlook.
    i know how to send email from sap, but through outlook i am not aware,
    how to send email through outlook.
    can any one please help me.
    Thanks In Advance
    raagati

    Hi,
       check below link.
    How to send email from outlook to SAP inbox

  • About how to send ALV through email

    Hi  everyone ,
          I have a problem about how to send ALV through email  in background . if someone knows , pls tell me .
    thanks in advance
    Best Regard
    Nick

    I write a test program , but it doesn't work , use any exists ALV program in the system , and use the "sendlist " program to send the email.  what I want is when I restrict some conditons in the selection-screen , then it send ALV to Email .
    Thanks
    Nick

  • How to set attched file name while sending email through ABAP

    Hi All- tell me how to set attched file name while sending email through ABAP.
    regards...
    Abhay

    Sure,  when you are adding your entry to the packing list,  give the name in the obj_name field.
    *File 2
      mailbin = 'This is file 2'.
      append mailbin.
      data: start type i.
      data: end type i.
      start = tab_lines + 1.
      describe table mailbin lines end.
      mailpack-transf_bin = 'X'.
      mailpack-head_start = 1.
      mailpack-head_num = 1.
      mailpack-body_start = start.
      mailpack-body_num = end.
      mailpack-doc_type = 'TXT'.
      mailpack-obj_name = 'TEST2'.        "<-  RIGHT HERE
      mailpack-obj_descr = 'Subject'.
      mailpack-doc_size = tab_lines * 255.
      append mailpack.
    Regards,
    RIch Heilman

  • Oracle bpm suite

    Can anyone give me some suggestions on Oracle bpm suite. rightnow i am working as an oracle dba.
    I got a fulltime chance to work on oracle bpm suite. I am a newbie to oracle bpm suite.
    What are the chances for oracle bpm? can we work as an oracle bpm consultant and oracle dba together?
    Please help

    It will be uploaded to the cb site soon. In the meanwhile, send me an email at [email protected] and I will email it to you.

  • Oracle BPM Suite : Oracle BPM vs Oracle BPEL PM

    Hi All,
    I am new in Oracle BPM and how some experience learning how to use Oracle BPM. Now when reading about the components products inside "Oracle BPM Suite" in detail , I am some what confuse about :
    1) In What situation that we should use "Oracle BPM" rather than "Oracle BPEL PM" ?
    2) In What situation that we should use "Oracle BPEL PM" rather than "Oracle BPM" ?
    I am confuse about these issue since both of the products come together when we order "Oracle BPM Suite" and both of the products can be used for "HUman Workflow Applications" as well
    Could you please help clarify these issues ? Thank you very much in advance.
    Best Regards
    Pearapon S.

    Hi Pearapon,
    You’ve raised a good point.
    Every once in a while, I see an article written by a BPM pundit that attempts to make the case that the BPMN approach (Oracle BPM uses this) is superior to the BPEL approach or vice versa. Here's one example on InfoQ - http://www.infoq.com/articles/bpelbpm. Its title "Why BPEL is not the holy grail for BPM" is very misleading. This is a typical example of an author sitting in either the BPMN or BPEL camp criticizing the other camp's standard. In this article, the author attempts to indict all BPMN to BPEL conversion attempts based on the author's poorly drawn process.
    Although I know that controversy boosts readership of these types of articles, in my opinion it’s not a “vs.”. Both the BPMN and BPEL standards have strengths when used with certain use cases.
    Here’s one scenario where Oracle BPM and Oracle BPEL PM are synergistic. My background is with Oracle BPM, but I’ve used Oracle BPEL PM on a project for the orchestration of composite services. I used Oracle BPM to model the business processes understood by executives, managers, subject matter experts, business analysts and developers. Using the same simple role based activity flow process diagram, everyone understands what the business problem is and how the process will work solve the problem. The Oracle BPM Automatic activities in the process hit Oracle BPEL processes. Here we used the BPEL processes to hit and orchestrate the underlying IT components . We exposed the BPEL processes using the customer’s service bus and we invoked it from the Oracle BPM process’s Automatic activity (Oracle BPM -> OSB -> Oracle BPEL). Alternatively, If the customer had not had a service bus, I could have invoked the BPEL process directly from the Oracle BPM process via a cataloged web service in Oracle BPM.
    Hope this helps,
    Dan

Maybe you are looking for

  • How do I create a Launchpad folder for a single item?

    Some items that came with a few apps have their own folder in Launchpad  - "AppName (Other)". Is there a way to create a folder in Launchpad with a single item? I tried dragging one item to another and got a folder but as soon as I removed one of the

  • How can I transfer photos in an iphoto album to a usb in the order they are in the album?

    I just got a digital photo frame and want to transfer pictures from an iPhoto album in the order they are in the album. When I try and move them to a usb or card they are rearranged according to the number of the photo. How can I transfer them in the

  • Itunes still won't open, quicktime error

    I have followed all of the instructions to delete itunes and Quicktime from my computer. I went into the local drive and deleted them and I went to the control panel and deleted them. I have emtied my recycle bin and restarted my computer, but when I

  • Quickbooks Problem or MacBook Pro Problem

    While using Quickbooks on my MacBook Pro the screen suddenly goes black?  Anybody seen this before?  The only way to fix this is to restart the computer.

  • CreateUserWizard error with duplicate email

    Hi, I am using the oracle membership provider for an application and have found that I can create users and log in just fine however if I try to create a user with a duplicate email address or username the application crashes with the message below.