Unable to use Zoho mail SMTP server in Zoho Analytics Onpremise

Unable to use Zoho mail SMTP server in Zoho Analytics Onpremise

Issue:
Unable to configure zoho mail server in ZAOP



Cause:
Zoho Mail has now applied certificates


  1. [15:58:32:717]|[03-31-2021]|[SYSERR]|[INFO]|[55]: org.apache.commons.mail.EmailException: Sending the email to the following server failed : smtp.zoho.com:587
  2. at org.apache.commons.mail.Email.sendMimeMessage(Email.java:1421)
  3. at org.apache.commons.mail.Email.send(Email.java:1448)
  4. at com.adventnet.zoho.db.onpremise.server.mail.OPMailUtil.sendTestMail(OPMailUtil.java:738)
  5. ......
  6. at java.lang.Thread.run(Thread.java:745)
  7. Caused by: javax.mail.MessagingException: Could not convert socket to TLS;
  8.   nested exception is:
  9. javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
  10. at com.sun.mail.smtp.SMTPTransport.startTLS(SMTPTransport.java:2000)
  11. at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:709)
  12. Error traces

Fix:
Below is the fix from the developers.

1.      Stop the Zoho Analytics Onpremise service.
2.      Download the fix and move it under <Zoho Home>/Analytics/fixes (Create the folder if not present)
3.      Start the service.

The provided patch is applicable for both versions 4600 and 4610. 

Use the below setting,
SMTP Server - smtp.zoho.com
SMTP Port - 587
Email Id/UserName - Zoho Email Id
Password - Zoho Password
Select TLS


      Create. Review. Publish.

      Write, edit, collaborate on, and publish documents to different content management platforms.

      Get Started Now


        Access your files securely from anywhere

          Zoho CRM Training Programs

          Learn how to use the best tools for sales force automation and better customer engagement from Zoho's implementation specialists.

          Zoho CRM Training
            Redefine the way you work
            with Zoho Workplace

              Zoho DataPrep Personalized Demo

              If you'd like a personalized walk-through of our data preparation tool, please request a demo and we'll be happy to show you how to get the best out of Zoho DataPrep.

              Zoho CRM Training

                Create, share, and deliver

                beautiful slides from anywhere.

                Get Started Now


                  Zoho Sign now offers specialized one-on-one training for both administrators and developers.

                  BOOK A SESSION







                              Quick LinksWorkflow AutomationData Collection
                              Web FormsEnterpriseOnline Data Collection Tool
                              Embeddable FormsBankingBegin Data Collection
                              Interactive FormsWorkplaceData Collection App
                              CRM FormsCustomer ServiceAccessible Forms
                              Digital FormsMarketingForms for Small Business
                              HTML FormsEducationForms for Enterprise
                              Contact FormsE-commerceForms for any business
                              Lead Generation FormsHealthcareForms for Startups
                              Wordpress FormsCustomer onboardingForms for Small Business
                              No Code FormsConstructionRSVP tool for holidays
                              Free FormsTravelFeatures for Order Forms
                              Prefill FormsNon-Profit
                              Intake FormsLegalMobile App
                              Form DesignerHRMobile Forms
                              Card FormsFoodOffline Forms
                              Assign FormsPhotographyMobile Forms Features
                              Translate FormsReal EstateKiosk in Mobile Forms
                              Electronic Forms
                              Drag & drop form builder

                              Notification Emails for FormsAlternativesSecurity & Compliance
                              Holiday FormsGoogle Forms alternative GDPR
                              Form to PDFJotform alternativeHIPAA Forms
                              Email FormsEncrypted Forms

                              Secure Forms

                              WCAG

                                      Create. Review. Publish.

                                      Write, edit, collaborate on, and publish documents to different content management platforms.

                                      Get Started Now




                                                        You are currently viewing the help pages of Qntrl’s earlier version. Click here to view our latest version—Qntrl 3.0's help articles.




                                                            Manage your brands on social media


                                                              • Desk Community Learning Series


                                                              • Digest


                                                              • Functions


                                                              • Meetups


                                                              • Kbase


                                                              • Resources


                                                              • Glossary


                                                              • Desk Marketplace


                                                              • MVP Corner


                                                              • Word of the Day


                                                              • Ask the Experts


                                                                Zoho Sheet Resources

                                                                 

                                                                    Zoho Forms Resources


                                                                      Secure your business
                                                                      communication with Zoho Mail


                                                                      Mail on the move with
                                                                      Zoho Mail mobile application

                                                                        Stay on top of your schedule
                                                                        at all times


                                                                        Carry your calendar with you
                                                                        Anytime, anywhere




                                                                              Zoho Sign Resources

                                                                                Sign, Paperless!

                                                                                Sign and send business documents on the go!

                                                                                Get Started Now




                                                                                        Zoho TeamInbox Resources





                                                                                                  Zoho DataPrep Demo

                                                                                                  Get a personalized demo or POC

                                                                                                  REGISTER NOW


                                                                                                    Design. Discuss. Deliver.

                                                                                                    Create visually engaging stories with Zoho Show.

                                                                                                    Get Started Now









                                                                                                                        • Related Articles

                                                                                                                        • Applying an SSL Certificate(WildCard)

                                                                                                                          Please Note: These are general guidelines,  It is always advised to refer the instructions published by respective CAs to import SSL certificate into tomcat server. Importing WildCard SSL certificate (PEM format) ...
                                                                                                                        • Creating New SSL Certificate

                                                                                                                          Import third party SSL Certificate in Zoho Analytics On Premise This procedure is common to both editions of Zoho Analytics On Premise - Professional Edition and Personal Edition. In order to implement SSL, a web server must have an associated ...
                                                                                                                        • Creating New SSL certificate

                                                                                                                          Import third party SSL Certificate in ManageEngine Analytics Plus This procedure is common to both editions of ManageEngine Analytics Plus - Professional Edition and Personal Edition. In order to implement SSL, a web server must have an associated ...
                                                                                                                        • Unable to integrate SDP /OPM with Analytics Plus after applying SSL in SDP/OPM

                                                                                                                          Note: This problem occurs only with self signed certificates in Analytics Plus. Issue: [10:23:16:526]|[09-05-2016]|[SYSERR]|[INFO]|[68]|: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: ...
                                                                                                                        • Applying an SSL Certificate (Wildcard)

                                                                                                                          Please Note: These are general guidelines,  It is always advised to refer the instructions published by respective CAs to import SSL certificate into tomcat server.  Importing WildCard SSL certificate (PEM format) ...
                                                                                                                          Wherever you are is as good as
                                                                                                                          your workplace

                                                                                                                            Resources

                                                                                                                            Videos

                                                                                                                            Watch comprehensive videos on features and other important topics that will help you master Zoho CRM.



                                                                                                                            eBooks

                                                                                                                            Download free eBooks and access a range of topics to get deeper insight on successfully using Zoho CRM.



                                                                                                                            Webinars

                                                                                                                            Sign up for our webinars and learn the Zoho CRM basics, from customization to sales force automation and more.



                                                                                                                            CRM Tips

                                                                                                                            Make the most of Zoho CRM with these useful tips.



                                                                                                                              Zoho Show Resources