Before sending email from your bpel Process there should be need to do some mail server configurations.
First go to emconsole there you will find usermessagingservice.In this servcie you will see emaildriverproperties.
In that window do changes as follows....
OutgoingMailServer – that should be smtp.gmail.com for Gmail
OutgoingMailServerPort – 465 for Gmail
OutgoingMailServerSecurity – Gmail uses SSL
OutgoingDefaultFromAddress (optional) – the emailaddress that is indicated as the sender of the email message
OutgoingUsername – the Gmail user account from which the email is sent
OutgoingPassword – the Gmail account’s password (stored in encrypted format)
then click on soa-infra and then workflow notification properties there you need to set as email
Now you can send emails from your bpel process by using email activity...
No comments:
Post a Comment