Email sending in BPEL

I have created a BPEL process which is used to send emails. Its working properly. But as per the requirment I have to pass the 'from account' dynamically in the runtime. Please help me to solve the issue.
Currently I have hardcoded the 'from account' email id in Workflow Notification Properties
Thanks in advance for your suggestion.

Thanks for d link..But unfortunetly my prob has not been solved. I hv already developed the bpel process to send emails which is working properly, but I want to set the from address dynamically at the runtime instead of mentioning it in the xml file xml file.

Similar Messages

  • How to send html email notification in bpel

    hi gurus,
    i want to send html email notification from bpel.
    before, i already successful send html email with attachment, but when i send an email without attachment, then the body message will turn into a plain text.
    as i check from the email accepted, email with attachment will have a mime type "text/html" but if no attachment then it will be "text/plain"
    from the bpel configuration, by default the mime type already set to "text/html; charset=UTF-8", below is the sample configuration in my bpel process
    [quote]
    <copy>
                                    <from>string('text/html; charset=UTF-8')</from>
                                    <to variable="varNotificationReq"
                                        part="EmailPayload">
                                        <query>ns10:Content/ns10:MimeType</query>
                                    </to>
                                </copy>
    [/quote]
    i think this suppose to be a easy configuration, but i'm not sure whether i miss something in configuration the email process or this is a bugs in bpel.
    environment:
    linux
    jdev 11.1.1.6
    do u guys ever facing a same problem or have a solution to this ? please throw some light.
    thanks
    ===
    update, i found a temporary solutions.
    so i add a attachment from the process design, and then i change it from the source.
    [quote]
    <copy>
                                    <from>
                                        <literal>
                                            <Content xmlns="http://xmlns.oracle.com/ias/pcbpel/NotificationService">
                                                <MimeType xmlns="http://xmlns.oracle.com/ias/pcbpel/NotificationService">multipart/alternative</MimeType>
                                                <ContentBody xmlns="http://xmlns.oracle.com/ias/pcbpel/NotificationService">
                                                    <MultiPart xmlns="http://xmlns.oracle.com/ias/pcbpel/NotificationService">
                                                        <BodyPart xmlns="http://xmlns.oracle.com/ias/pcbpel/NotificationService">
                                                            <MimeType xmlns="http://xmlns.oracle.com/ias/pcbpel/NotificationService"/>
                                                            <ContentBody xmlns="http://xmlns.oracle.com/ias/pcbpel/NotificationService"/>
                                                            <BodyPartName xmlns="http://xmlns.oracle.com/ias/pcbpel/NotificationService"/>
                                                        </BodyPart>                                            
                                                    </MultiPart>
                                                </ContentBody>
                                            </Content>
                                        </literal>
                                    </from>
                                    <to variable="varNotificationReq"
                                        part="EmailPayload">
                                        <query>ns10:Content</query>
                                    </to>
                                </copy>
    <copy>
                                    <from>string('text/html; charset=UTF-8')</from>
                                    <to variable="varNotificationReq"
                                        part="EmailPayload">
                                        <query>ns10:Content/ns10:ContentBody/ns10:MultiPart/ns10:BodyPart[1]/ns10:MimeType</query>
                                    </to>
                                </copy>
                                <copy>
                                    <from>string('your message')</from>
                                    <to variable="varNotificationReq"
                                        part="EmailPayload">
                                        <query>ns10:Content/ns10:ContentBody/ns10:MultiPart/ns10:BodyPart[1]/ns10:ContentBody</query>
                                    </to>
                                </copy>
    [/quote]
    make sure you put the mime type multipart/alternative into the email payload content. by default, when you add attachment, it will generate mime type multipart mixed automatically.
    if you don't change it to multipart/alternative, your email will show a attachment, but actually your email doesn't contain any attachment.
    and then for the message and mimetype make sure you have that ns10:bodypart, because this email already been set as a multipart email.
    when you add attachment, by default it will generate 2 body part, first one is for the body message and the second one is for the attachment. since i only want to use the body message only, then i have to erase the second bodypart
    with this workaround, i can send a html email without attachment perfectly.
    but i have to take note, when i updating the email process from process design, then the source will be generated again automatically, and the edited one will be replaced.
    thanks.

    Make sure you upload all of the images used in your email to a server you control. Then, change your image paths to point to those uploaded images with absolute links.
    You will get marked as spam if you attempt to send images as attachments to a large list of recipients and most email clients won't download images to begin with, so make sure your html email makes sense with broken pictures.
    CSS support is spotty across email clients, if you use css, make sure it's inline, not embedded in the <head> or externally linked in the <head>. Some email clients strip out the <head> section entirely.
    Basically, you need to design your html email as if you haven't moved out of the 90's yet, as far as web design is concerned, in order to get maximum cross client compatibility.
    Then, when you're ready, I would suggest using a service like www.icontact.com or www.constantcontact.com if your subscriber list is anywhere over 100 or so recipients.

  • Problem in sending Email notification from BPEL

    Hi,
    i am trying to send email from BPEL using Email activity.Using SoaSuite10.1.3.3
    i configured the ns_emails.xml file properly as below.
    when i run the process, it is executing fine without any error.
    but i am not receiving any mail.
    even i applied patch set p6148874 also.
    below pasted is the ns_emails.xml file.
    <EmailAccount>
    <Name>Default</Name>
    <GeneralSettings>
    <FromName>Oracle BPM</FromName>
    <FromAddress>[email protected]</FromAddress>
    </GeneralSettings>
    <OutgoingServerSettings>
    <SMTPHost>domain.com</SMTPHost>
              <SMTPPort>25</SMTPPort>          
    </OutgoingServerSettings>
    <IncomingServerSettings>
    <Server>domain.com</Server>
    <Port>110</Port>
    <Protocol>pop3</Protocol>
    <UserName>ckommalapati</UserName>
    <Password ns0:encrypted="false" xmlns:ns0="http://xmlns.oracle.com/ias/pcbpel/NotificationService">Chandu@1205</Password>
    <UseSSL>false</UseSSL>
    <Folder>Inbox</Folder>
    <PollingFrequency>1</PollingFrequency>
    <PostReadOperation>
    <MarkAsRead/>
    </PostReadOperation>
    </IncomingServerSettings>
    </EmailAccount>
    Even i tried adding <AuthenticationRequired> details to the above and its not working.
    i restarted the server after modifications.
    i tried pinging the SMTP server of my domain, and its connecting successfully.
    Could any one suggest me the solution for this problem.
    is there anything extra need to be configured for this..?
    Thanks in advance.

    Hi, ravigali :
    Following are some steps I take to set Email notification in BPEL:
    A important thing: get the right parameters of your Email server.
    Step:
    1. Alter ns_emails.xml (in D:\soft\SOASuite\product\10.1.3.1\OracleAS_1\bpel\system\services\config directory), an example is as following:
    <EmailAccounts xmlns="http://xmlns.oracle.com/ias/pcbpel/NotificationService"
    EmailMimeCharset=""
    NotificationMode="EMAIL">
    <EmailAccount>
    <Name>Default</Name>
    <GeneralSettings>
    <FromName>*Your Name*</FromName>
    <FromAddress>*Your Email: ***@***.com*</FromAddress>
    </GeneralSettings>
    <OutgoingServerSettings>
    <SMTPHost>*mail.***.com*</SMTPHost>
    <SMTPPort>25</SMTPPort>
    </OutgoingServerSettings>
    <IncomingServerSettings>
    <Server>*mail.***.com*</Server>
    <Port>993</Port>
    <Protocol>IMAP</Protocol>
    <UserName>***@***.com</UserName>
    <Password ns0:encrypted="false" xmlns:ns0="http://xmlns.oracle.com/ias/pcbpel/NotificationService">***</Password>
    <UseSSL>true</UseSSL>
    <Folder>Inbox</Folder>
    <PollingFrequency>1</PollingFrequency>
    <PostReadOperation>
    <MarkAsRead/>
    </PostReadOperation>
    </IncomingServerSettings>
    </EmailAccount>
    </EmailAccounts>
    Note: the detail explain of every XML element is in http://download.oracle.com/docs/cd/B31017_01/integrate.1013/b28982/service_config.htm#sthref324 (2.2.1 Configuring the E-mail Server)
    2. Add the following property to wf_config.xml (in D:\soft\SOASuite\product\10.1.3.1\OracleAS_1\bpel\system\services\config directory):
    <property name="oracle.bpel.services.notification.publisher_interval" value="1" />
    Then the BPEL server will send notification every 1 minute. More detail about this configuration to see http://download.oracle.com/docs/cd/B31017_01/integrate.1013/b28981/notif.htm#sthref1678 (14.2.1 Reliable Notification Service).
    3. Re-start all SOA Suite services. (opmnctl startall)
    After the BPEL process invoke any E-mail notification activity and if we can’t receive any E-mail notification, we need to check the BPELNOTIFICATION table (ORABPEL database schema). And delete any error data in this table, then correct the E-mail notification setting through above steps and re-start all SOA Suite services.
    Thanks,
    Melody

  • Send Email using Email Activity in BPEL

    Hi Everybody,
    I am trying to send email using email activity in BPEL
    All that I have done is,
    1.dropped Email activity between recieve i/p and reply o/p in my bpel project
    2.written all parameters in it like Default, To ,from etc.
    3.made changes in the ns_emails.xml in .........bpel/systems/services/config & in .......integration/esb/config
    4.restarted SOA,Jdeveloper
    --> but I was not succeeded.
    So please provide me with complete solution like what parameters to pass in smtp server,port no,protocols etc and which file to change in which directory. my work is pending just because of this.
    I would be very grateful to you.
    thanks in advance.
    mansoor.

    hi Eric,
    thanks once again for your instant reply.
    but still I am not able to send Email from bpel so I would be requiring your more help.
    I have gone through below link where you helped someone last year.
    Email
    As per this link I have downloaded the patch and tried but no result.
    in above link I have not understood one thing
    "the ip-address of soa-suite-server is allowed to make use of the smtp?
    you need to add this address in the mailserver-config "
    which was said by you.
    So can you please provide me the details.
    Also I wanted to know how we can come to know that our SOA suite will allow mail server to send Email.how to link mail server to SOA suite etc.
    So please help me out .
    thanks in advance.
    mansoor.

  • Email attachment in BPEL

    Hi,
    I am working on Oracle BPEL 11g.I want to send an email with an attachments of pdf files.But the problem is i am getting mail on the email server but the email doesn't contains any attachments..its just the mail which gets delievered to the "To" address.
    Please help me out its very urgent.I need to send an email with pdf files as attachments so is there any link or tutorial which can follow to sucessfully do the task.
    i have also completed the SendEmailWithAttachments.jws tutorial but its not working.Anyone who has completed the email with attachments please forward me the steps to do so will be very helpful
    Thanks in advence
    Irfan
    Edited by: Irfan Shaikh on Jan 18, 2012 4:13 PM

    Hi,
    I want to send an .pdf file by adding an attachment in the email activity in BPEL..SO please if you can send me the step step procedure to do this will be helpful.This is what the exception i am getting
    <exception class="java.lang.NullPointerException">messsage cannot be null
    <stack>
    There are many other lines in this exception
    </stack>
    </exception>
    Tnahks & Regards
    Irfan
    Edited by: Irfan Shaikh on Jan 24, 2012 7:23 PM

  • Problem with replies in Maverick's mail.  Originating emails send fine.  When replying to an email (various addresses) the reply is hung up and can not be sent.  Option becomes put in draft, delete, etc.  Any suggestions would be helpful

    Problem with replies in Maverick's mail.  Originating emails send fine.  When replying to an email (various addresses) the reply is hung up and can not be sent.  Option becomes put in draft, delete, etc.  Any suggestions would be helpful.  Mid 2013 iMac.

    I don't know how rare this is.  I went a week or so without a problem, and now it's starting to recur.  Also, in some instances, an email will look unsent (remain in the outbox on the Treo), but it has been sent, and recipients are replying while I'm trying to figure out what is going on.  Further, it will send the same email over and over during this madness.
    This is a show stopper.  If there isn't a software fix soon, I may chuck this phone in the garbage.
    Post relates to: Treo 800w (Sprint)
    UPDATE:  The problem comes and goes.  The next day, no changes to the treo, everything workeds.  Now i'm suspecting the sprint server, and how it/the phone responds from failing to send while roaming.  I've since turned off roaming, and haven't had a problem for several days.
    Message Edited by slrichardson on 12-22-2008 01:12 PM

  • Email send/receive suddenly doesn't work ; can't change email settings as BB phone won't accept valid username and password -- what to do?

    email send/receive suddenly doesn't work (as of September 24th); I can't change email settings (one suggestion from tech) as BB phone won't accept *valid* username and password -- what to do?
    I understand from a support note that if I keep trying my password/username combination, my BB will eventually delete all data!
    I can't understand this. I'm completely lost now. I can't remember what I've done or tried to do. A plethora of usernames and passwords is swimming in my head.
    Thanks for any hints. I have always loved this BB Bold and have never had any trouble with it.

    But the real question is why for the past year did the passwords work and then all of the sudden after this anomaly the disk password doesn't work?  I'm not 100% sure of what my configuration was, but I know that most of the time it required one password -- supervisor, and occasionally it asked for 2 -- disk password as well I believe.  This may have been related to the Password on Restart setting I think -- asking for the disk password on cold vs. warm boot.  But I know both were exactly the same.  But after this incident only the Supervisor password worked.

  • PSE9 - having trouble with "html email sender verification" page

    We have just purchased the PSE9. This is our first venture into a photoshop program. We are wanting to send some of our pictures to friends via email. Just after we push the "share" button, to create an attachment for the email, we get this page "html email sender verification." It contains in the first blank, our email address (given), a button "resend email", and a blank entitled " Sender verification."  Below this box are the words:
    "If this email address is not correct, or you would like to use a different e mail client, you can change your email settings by clicking Cancel and then choosing
    Edit ->Preferences->sharing."
    At the bottom right are two buttons, "OK" and "Cancel"
    When we put in our email address into the "Sender verification" box,  and press "OK" the next window is entitled "HTML Email Sender Verification" .  The only words on the page for us are  in red and they say:
    "Your email could not be sent because an unkown error has occurred. Please try again."
    Then we have the option of pushing the "OK" or "Cancel" button.
    Can anyone help us get beyond this obstacle?
    THANKS!!

    You need to enter the email id in preferences. Once you put it, you will receive a verification code. You need to put this verificaiton code in the sender verification window. This is required if you are using Adobe email service. You can change the email provider from sharing preferences.

  • TS3899 After updating to ISO6, my email sending get extremely slow or dispeard. on the botton line of mail page always indicate "sending # of 9", however I do not know where to check or delete these unsent items. Please help! It has consumed lots of data.

    After updating to ISO6, my email sending get extremely slow or dispeard. on the botton line of mail page always indicate "sending # of 9", however I do not know where to check or delete these unsent items. Please help! It has consumed lots of data.
    I use @me.com and @hotmail.com

    Hi,
    >>A CHAR datatype and VARCHAR2 datatype are stored identically (eg: the word 'WORD' stored in a CHAR(4) and a varchar2(4) consume exactly the same amount of space on disk, both have leading byte counts).
    Ok, but on the other hands:
    SGMS@ORACLE10> create table x (name char(10), name2 varchar2(10));
    Table created.
    SGMS@ORACLE10> insert into  x values ('hello','hello');
    1 row created.
    SGMS@ORACLE10> commit;
    Commit complete.
    SGMS@ORACLE10> select vsize(name),vsize(name2) from x;
    VSIZE(NAME) VSIZE(NAME2)
             10            5
    SGMS@ORACLE10> select dump(name),dump(name2) from x;
    DUMP(NAME)                                         DUMP(NAME2)
    Typ=96 Len=10: 104,101,108,108,111,32,32,32,32,32  Typ=1 Len=5: 104,101,108,108,111Cheers

  • Email sender's name incorrect - can I change it?

    Emails I receive from one person are labeled as coming from "Verizon" instead of the person's name. I have the person correctly entered into my Contacts Book and I think that messages I send from my email are correctly addressed.  Can I edit the name of this email sender and, if you, how?  Thanks.

    Found the answer.  The problem was not at my end but in my Verizon friend's email settings.

  • Workflow Issue : Email sender display name not as the same as alert email sender

    Dear Support,
    we customized a workflow for sending alert to some user when someone create a new item in the specified document library. 
    what we already done as below
    1. the email sender address has been setup at "Central Administrator", for example "[email protected]".
    2. team site title is "Customer Center Platform".
    3. we customized a new workflow to trigger system send a email to recipient when someone create a new record.
    what we expected is 
    Recipient will got a email which send from "[email protected]", the email display name should be "Customer Center Platform [[email protected]]", but in this case, the display name is "[email protected]".
    it's been our experience that when we used "Alert Me" function, system will send the email and used "Customer Center Platform [[email protected]]" as email display name.
    we want to change workflow email sender display name, what can we do? we are looking forward to your advice, many thanks.

    Dear Hemendra,
    thanks for your reply.
    we follow the below guide to setup the workflow step by step
    http://blogs.msdn.com/b/publicsector/archive/2007/05/22/document-workflow-how-to-sending-an-email-with-sharepoint-2007-moss.aspx
    we used "Send an email" Action, the recipient can receive email, but the email sender's display name is "[email protected]",
    we want to change to "Customer Center Platform [[email protected]]".
    There is a native "Alert me" function under sharepoint team site, we compared the email sender display name, we found the display name in "Alert me" notification email
    is "Customer Center Platform [[email protected]]". 
    we have no idea what is wrong when we setup the workflow.

  • Is it possible to create a cc in email sending for dunning using 1040?

    Hi experts,
    Is it even possible to create a carbon copy of email sending using BTE 1040?
    I have been looking around and can't see any solution yet.
    Thanks.

    Hi James,
    Request you to go through the below link for checking the functionality.
    Email Output to Multiple Recipients Functionality in SAP
    If the same does not help you then please share the issue faced by you.
    Thanks,
    Vishal

  • Encoding issue in email send from SAP

    Hi,
    I am currently having encoding issue in email send by SRM .
    Can some one help me ?
    My problem :
    When i key in my SC subject/desc through IE7 with encoding unicode (UHT-8). Everything look fine.
    After i order the SC, Email will be sending out to the approver.
    The email received by approver is including strange character.
    Example desciption i putting on SC : Testing Encoding from IE7
    Result : Email which received by approver : Testing Encoding from IE7Â.
    Can some one advice me on this?
    Thanks,
    Vanece

    Hello Vanece,
    >
    Vanece Hee wrote:
    > (...)
    > They look fine in BBP_PD as well.
    >
    > when i trace them in SOST, the word will be look weird.
    > (...)
    Problem could come from internal and external data format.
    Depending on your SRM release, check OSS notes for report you used to generate approval mail ( RSWUWFMLEC, RBBP_NOTIFICATION_APP, etc.).
    >
    Vanece Hee wrote:
    > (...)
    > When i change the encoding setting in outlook to unicode for the email, it work for some email only.
    > (...)
    Ask to your Outlook team to have a look at Outlook settings.
    You can also check OSS note 1319517 - Unicode Collection Note.
    Regards.
    Laurent.

  • Hi, Using MAC OSX 10.6.8 and have intermittent issues with receiving new emails - sending is OK. I've tried the workarounds (take offline & take online), quitting mail etc - no luck. Any suggestions?

    Hi, I'm using MAC OSX 10.6.8 and have intermittent issues with receiving new emails - sending is OK. I've tried the workarounds (take offline & take online), quitting mail etc - no luck. Have cleared space, checked Window - Doctor and server has green light.  Mail Activity shows 47 emails waiting to download, iPad and iPhone download them all OK - no extra big files stopping the download either.    In the past, quitting mail has worked, but not today... Any suggestions?

    Hi, I'm using MAC OSX 10.6.8 and have intermittent issues with receiving new emails - sending is OK. I've tried the workarounds (take offline & take online), quitting mail etc - no luck. Have cleared space, checked Window - Doctor and server has green light.  Mail Activity shows 47 emails waiting to download, iPad and iPhone download them all OK - no extra big files stopping the download either.    In the past, quitting mail has worked, but not today... Any suggestions?

  • Why won't my imac email send unless I restart the whole computer?

    why won't my imac email send unless I restart the whole computer?

    Two things, first see if it shows up in "Apple > About This Mac > More Info.. > Disc Burning" . If you still see it there the system still recognizes it but it isn't responding. Next do a
    SMC RESET
    http://support.apple.com/kb/HT3964
    Shut down the computer.
    Unplug the computer's power cord and ALL peripherals.
    Wait 15 seconds.
    Attach the computers power cable.
    Wait another 5 seconds and press the power button to turn on the computer.
    The 5 second timing is important to a successful reset.
    Hopefully this will reset the power to the drive.

Maybe you are looking for

  • Phase 2 issue in IPSEC site-to-site

    Hi All, I have got an issue while creating an IPSEC site-to-site VPN between cisco2901-15.2(4)M3 ---> cisco861-12.4 Phase#1 is successfully up but when i'm putting command #show crypto ipsec sa i can't see encry & decry packets. below is the running-

  • How to lock panels in fullscreen mode

    Hi all This might be a silly question, but since I converted from CS3 on Windows to CS5 on Mac I´ve been unable to do the following with the layout: I want the panels to be locked to the main window in full screen mode, so that when I open and work w

  • How do i vpn and browse files on a network server through ipad?

    I'm having trouble finding an app that allows me to access my work network server public drive to view files. I assume I can use VPN, but can't seem to find a reliable file browser.  Suggestions?

  • Possible to import new mac address vendor code translation list in WCS 6?

    Is it possible to import new (IEEE) vendor code list to get correct information regarding clients MAC-addresses? There are too many client vendor codes reported as "Unknown" lately...... Running 6.0.196.0. /jonas

  • WLI/JMS Message problem

    I have written a WLI client program that has JMS listeners for assigned, update, and remove WLI Notify messages. The basic format for each selector is simple: orgId = 'ORG1' and action = 'assigned' I've noticed an inconsistency when it comes to the J