Sunday 12 February 2017

Using GMAIL as SMTP Server in PeopleSoft

In this post we will see, how can we use gmail as SMTP Server in PeopleSoft.
Login to your gmail account.
Click on My Account
Click on Sign In and Security

Turn it On
Go back to you mails and on the browser url click on the Green icon.
These snapshots are from chrome browser.
If your chrome version is 56 then –
Press Ctrl + Shift + I
Click on Security
NOTE: If earlier than version 56 then, Click on the green icon → Connection → Certificate Information
Click on View Certificate
Now, we will export the intermediate certificate.
Navigate to PeopleTools → Security → Security Objects → Digital Certificates
Add a New Row
Click on the Refresh button
Click on Add Root link for the newly added row.
Paste the contents for georoot.cer
Click OK
Now, add one more row
Click on the Import link and paste the contents of GoogleInternetAutority.cer into it.
Click OK
Now, encrypt the password of the gmail account using pscipher.bat
Open command prompt and navigate to <PS_CFG_HOME>/webserv/<Domain Name>/piabin
Note down the encrypted password.
Open the app server configuration file and make the following changes under [SMTP Settings]
[SMTP Settings]
;=========================================================================
; Settings for SMTP mail
; Allow Dynamic Changes under [Domain Settings] has no effect on these controls
;=========================================================================

; Dynamic change allowed for SMTPServer
;Start - Modified by Deepak Ray 12/02/2017
;SMTPServer=
SMTPServer=smtp.gmail.com
;End - Modified by Deepak Ray 12/02/2017

; Dynamic change allowed for SMTPPort
SMTPPort=25

; Dynamic change allowed for SMTPServer1
SMTPServer1=

; Dynamic change allowed for SMTPPort1
SMTPPort1=0

; Dynamic change allowed for SMTPSender
SMTPSender=PeopleSoft@peoplesoft.com

; Dynamic change allowed for SMTPBlackberryReplyTo
SMTPBlackberryReplyTo=

; Dynamic change allowed for SMTPSourceMachine
SMTPSourceMachine=

; Dynamic change allowed for SMTPCharacterSet
SMTPCharacterSet=UTF-8

; Dynamic change allowed for SMTPEncodingDLL
SMTPEncodingDLL=
SMTPGuaranteed=0
SMTPTrace=0
SMTPSendTime=0

;Start - Added by Deepak Ray 12/02/2017
SMTPUserName=deepakpeoplesofttests@gmail.com
SMTPUserPassword=<Enter encrypted password here>
;End - Added by Deepak Ray 12/02/1017

;Start - Modified by Deepak Ray 12/02/2017
;SMTPUseSSL=N
SMTPUseSSL=Y
;End - Modified by Deepak Ray 12/02/2017

SMTPSSLPort=465
SMTPClientCertAlias=

SMTPUseSSL1=N
SMTPSSLPort1=465
SMTPClientCertAlias1=

Now, Test the settings
Open any page in PeopleSoft application having “Notify” button
Example – PeopleTools → Workflow → Notifications → Notification Templates
Click on Apply button and check your mailbox
You can now make the same changes to process scheduler config file to send mails from batch processes.













1 comment:

  1. It is quite interesting blog post worth of reading. I really thankful for giving an opportunity to read an informative article like this! I really appreciate this post thank you for sharing these type of posts.

    Dedicatedhosting4u.com

    ReplyDelete