SOA Suite 12c – Gmail as mail provider

Get the certificate for smtp.gmail.com

openssl s_client -connect smtp.gmail.com:465 | sed -n ‘/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p’

MobaXterm_Personal_10.5_2018-03-15_12-17-33

Copy the above highlighted into a text file.

Login to Enterprise Manager, got o keystore
firefox_2018-03-15_12-21-13
Select trust under system and click manage
firefox_2018-03-15_12-22-04
Click on import
firefox_2018-03-15_12-23-01
Enter the details as below, paste the earlier copied certificate text and click ok.
firefox_2018-03-15_12-25-47firefox_2018-03-15_12-26-33

Edit Set Domain Environment Script
Modifying the $DOMAIN_HOME/bin/setDomainEnv.sh script, remove the following from EXTRA_JAVA_PROPERTIES
-Djavax.net.ssl.trustStore=${WL_HOME}/server/lib/DemoTrust.jks

Below is edited EXTRA_JAVA_PROPERTIES

EXTRA_JAVA_PROPERTIES=”${EXTRA_JAVA_PROPERTIES} -Dsoa.archives.dir=${SOA_ORACLE_HOME}/soa -Dsoa.oracle.home=${SOA_ORACLE_HOME} -Dsoa.instance.home=${DOMAIN_HOME} -Dtangosol.coherence.log=jdk -Djavax.xml.soap.MessageFactory=oracle.j2ee.ws.saaj.soap.MessageFactoryImpl -Dweblogic.transaction.blocking.commit=true -Dweblogic.transaction.blocking.rollback=true -Doracle.xml.schema/Ignore_Duplicate_Components=true -Doracle.xdkjava.compatibility.version=11.1.1 -Doracle.soa.compatibility.version=11.1.1 -Ddisable-implicit-bean-discovery=true”
export EXTRA_JAVA_PROPERTIES

Restart WebLogic servers.

Configure UMS mail driver
Login to Enterprise Manager, got
firefox_2018-03-15_12-40-41
firefox_2018-03-15_12-41-09
firefox_2018-03-15_12-41-37
firefox_2018-03-15_12-44-24
Specify sender email. (Format “EMAIL:sender@example.com”)firefox_2018-03-15_12-51-29
firefox_2018-03-15_12-50-29
firefox_2018-03-15_14-45-32firefox_2018-03-15_14-46-21
You can also verify from SOA server log
image

Set workflow properties
firefox_2018-03-15_14-47-01
firefox_2018-03-15_14-47-42

Test
firefox_2018-03-15_14-50-25
firefox_2018-03-15_14-50-55
firefox_2018-03-15_14-51-37
You can verify SOA server log
image
Check mailbox
image