Press "Enter" to skip to content
  1. Vinod Kumar Vinod Kumar

    I tried the same steps Bro ,even I made the secure options are less secure in gmail, But when I clicked on test connectivity for sender option .I am getting the following error message.

    “A secure Connection cannot be established with outgoing SMTP email server.please check Application server configuration.”
    can you please help me

    • Premkumar G Premkumar G

      Can you tell me the host name of the email server you are trying to connect? Also is there any proxy network involved? I mean, trying inside your organization network?

    • sai ananth sai ananth

      Check for

      “Connection” area in sender if Port number: 587 then the check box USE SMTPS should be UnCheck.

  2. Sowmya Sowmya

    Hi Prem,

    I have one small question,in one particular flow I want to send an email with pxupdateoperator Id . So in this case I don’t want to send my email with the email Id that I have configured in outbound.Can u please tell me how to override outbound default email id with pxupdateoperator id ??

    • Premkumar G Premkumar G

      Hi Sowmya,
      I can understand your requirement.

      If you need to send an email automatically, then you should have an email account registered with the email ID.
      In your case, you need to dynamically send email from operator ID, who is working on the case. To my knowledge, this is not feasible within Pega email account.

      I have a solution. Instead of sending the mail automatically, you can have an email button in the section. Configure it with outlook and send from the email ID that belongs to the operator. This should be done manually using email icon.

      Other comments and solutions are welcome. πŸ™‚

    • Giraj Giraj

      May not be good approach.but one email account enough to do this before sending the mail in flow call utility.In utility open the rule form using obj open and identify the property in which pega saves the mail id update it do obj save.so when flow reaches at send email shape its sends with mail id which is updated.
      But later again i think you need to bring back to initial mail id which was there.

    • The solution given by Giraj is feasible to a certain extent if the pxUpdateOperator is willing to provide his credentials before sending the email. This password, though it is encrypted will get stored in EmailAccounts instance before the email gets triggered. Also, when we think in a broader aspect, since we have only one account per work pool, let’s assume more than one user is trying to send email, in that case the system might run into a potential lock issue.

      I agree with Prem’s solution of opening outlook to send an email provided the user’s system is configured with an email client πŸ˜‰

  3. Bhagiradha Bhagiradha

    good explanation prem

    • Premkumar G Premkumar G

      Thank you so much, Bhagiradha. πŸ™‚

  4. rakesh rakesh

    1)scenario :
    obj save–page1
    obj save–page2
    obj save cancel—blank
    commit
    which page is saved in db?
    is step page required for commit/

    • Premkumar G Premkumar G

      I assume ‘write now’ is not checked in obj-save
      Step 1: Page1 is saved to deferred instance list
      Step 2: Page2 is saved to deferred instance list
      Step 3: Removes the most recent un-commited obj-save instance. In our scenario – Page 2.
      Step 4: Will commit all the deferred instances. Only Page1 is commited ( since Page2 is removed)

      Note : Obj-save-cancel & commit don’t require any step page πŸ™‚

  5. sai ananth sai ananth

    Xlent Bro… Every Helpful information….

    • Premkumar G Premkumar G

      Thank you so much, Sai Ananth πŸ™‚
      Glad that you find it useful. πŸ™‚

  6. Manasa Manasa

    Hi Prem,
    It was very helpful thank you :).

    • Premkumar G Premkumar G

      Hi Manasa,

      Thank you so much and I am glad that you find it helpful. πŸ™‚

  7. Abdul Mohammed Abdul Mohammed

    Thank You so much prem for explaining complicated topics with such good scenarios. i have one request can you please make one article on Inbound email and decision table/tree example using expressions. Thank You πŸ™‚

    • Premkumar G Premkumar G

      It is my pleasure, Abdul. πŸ™‚
      Happy to hear that you find it useful. πŸ™‚
      Yeah Abdul, I’ve noted the topics down. I’ll try to post them soon.
      Stay tuned. πŸ™‚

  8. mohammed faijas mohammed faijas

    Good one

    • Premkumar G Premkumar G

      Thank you, Mohammed. πŸ™‚

  9. Janaka Janaka

    This is awesome.

    • Premkumar G Premkumar G

      Thank you so much, Janaka. πŸ™‚

  10. Hey Prem,
    As always, a clean explanation. I would like to see a post that explains Key stores instances and certificates. How about that?

    • Premkumar G Premkumar G

      Sure Rat. I will try to make a post on that challenging topic soon πŸ™‚

  11. Vamsi Krishna Vamsi Krishna

    Excellent Article Prem, keep up. You are the champ!

    • Premkumar G Premkumar G

      Thank you so much for your appreciation, Vamsi. πŸ™‚

  12. Karthik Karthik

    Well written post, ive read few other posts of yours, all were good and easy to understand.Appreciate your efforts.

    • Premkumar G Premkumar G

      Thank you so much for your appreciation. πŸ™‚
      Glad that you like it. πŸ™‚

  13. Raj Raj

    Thank you so much Prem for explaining all these with scenario, I’m getting an issue,in my case both sender and receiver connectivity are successful,I added send email shape in flow and configured using gmail and run it. but didn’t get mail with correspondence message,opened attachment from flow,got the below error:
    Error Sending Email:
    **caught.com.sun.mail.util.mailconnectexception: couldn’t connect to host :vfwiappdb2040,25:timeout 60000

    • Premkumar G Premkumar G

      Hi Raj,
      From you error message, I can see you trying to open port 25 to send email.
      Please try using port 587 and test it πŸ™‚

  14. Raj Raj

    Hi Prem,
    Thanks for response,I tried by changing port 587,but still getting same error with port 587, tried with both gmail as well as my office email by enabling less secure app for gmail & I request you can please make one article in simple topic but little bit confusion like pagelist,page group,valuelist, value group & when to use all these. πŸ™‚

  15. mahesh mahesh

    Hi Prem,
    I’m using port 587, SMTPS unchecked.
    In gmail allow less secure is on.
    But still i’m getting the configuration error.
    can you please advise what could be the problem.

    • Premkumar G Premkumar G

      Hi mahesh,
      Can you please paste me the exact error

  16. mahesh mahesh

    connect to email server Fail.
    May be the reason, in my mobile my gmail is logged in.
    I didnt changed any settings in app.

  17. Venkat Venkat

    Hey Prem,

    I followed the steps provided by you but still I am getting the below error while connecting from exercise system in PDN.

    “The connection to the outbound email server timed out. The server may be unavailable, or the connection configuration may be incorrect. Verify Username, password, and SSL options”

    I used gmail, and Host:port are smtp.gmail.com:587.
    Use SMTPS is unchecked.

    Please advice what to do.

  18. Harish S Harish S

    Thanks Prem

    Your articles are very good and easy to understand it.

    • Premkumar G Premkumar G

      You are welcome, Harish. πŸ™‚
      Glad to hear that you like it. πŸ™‚

  19. vinod vinod

    Hello prem,

    my question is… when customer rise the ticket, pega application should generate a ticket id for that mail and sent that ticketID to customer mail. can u please share the process of this.. how to do.

    Thanks & regards
    Vinod

  20. Ravi verma Ravi verma

    Hello Prem Kumar,
    Can you make a post for Inbound Mail.
    Please

    Thanks & Regards
    Ravi Verma

    • Premkumar G Premkumar G

      Hello Ravi,

      Yeah many people have asked about that post. I’ll try to post about them soon.

      Regards,
      Premkumar G

  21. Srikanth Srikanth

    Hi Prem,

    It’s a very detailed explanation. I like the way you explained. Kudos to your work. Keep going on..

    Thanks
    Srikanth

    • Premkumar G Premkumar G

      Hi Srikanth,

      I’m happy to hear that you liked it. Thank you so much for your appreciation. I’ll keep on updating the site with new posts. πŸ™‚
      Stay tuned. πŸ™‚

      Regards,
      Premkumar G

  22. Krishna Krishna

    Hi Team,

    I have configured “Receive an email and create a work object” and I see the below error in service email trace.So,it is not creating the work object.

    Error:
    pyWorkPage.pyWorkParty(Customer).pyEmail1 — (Data-Party-Person)Method.Property-validate PropertyRequired .pyEmail1

    • Premkumar G Premkumar G

      Yes. Please check my work party post. When you set work party, OOTB validate rule can be called to validate the property values. Validate rule can be Data-Party-Operator/Person.
      If you really need customer as work party, set valid pyEmail1 which is mandatory. You can remove workparty / update it. Just trace the service email

Leave a Reply

Your email address will not be published. Required fields are marked *

error: Content is protected !!