SMPT

SMPT

Hello, 

How long should the email sent via SMTP protocol take using Zoho? With my testing, it's usually between 10-20 seconds for it to arrive in the recipient email. Here's the test script that I use in Windows Powershell:

  1. $From = "my@email-domain.com"
  2. $To = "send-to@some-mail.com"
  3. $Subject = "This is the subject of the email"
  4. $Body = @"
  5. <html>
  6. <head>
  7.     <h1> testing SMTP speed </h1>
  8. </body>
  9. </html>
  10. "@

  11. $SMTPServer = "smtppro.zoho.eu"
  12. $SMTPPort = 587
  13. $SMTPUsername = "my-username"
  14. $SMTPPassword = "some-password"

  15. $Email = New-Object System.Net.Mail.MailMessage
  16. $Email.From = $From
  17. $Email.To.Add($To)
  18. $Email.Subject = $Subject
  19. $Email.Body = $Body
  20. $Email.IsBodyHtml = $true

  21. $SMTPClient = New-Object System.Net.Mail.SmtpClient($SMTPServer, $SMTPPort)
  22. $SMTPClient.EnableSsl = $true
  23. $SMTPClient.Credentials = New-Object System.Net.NetworkCredential($SMTPUsername, $SMTPPassword)

  24. # Measure the time taken to send the email
  25. $start = Get-Date
  26. $SMTPClient.Send($Email)
  27. $end = Get-Date
  28. $duration = $end - $start
  29. Write-Output "Email sent in $($duration.TotalSeconds) seconds"
  30. Email sent in 10.9296771 seconds  
This is not too bad, but when I use it in my web application, it is a bit too slow from the user's perspective. Is there anything that can be done to speed it up? Maybe some config tweaks? Is this being throttled intentionally to prevent potential spamming? Does that depend on the plan I'm on with Zoho?

    Access your files securely from anywhere

        Zoho Developer Community




                                  Zoho Desk Resources

                                  • Desk Community Learning Series


                                  • Digest


                                  • Functions


                                  • Meetups


                                  • Kbase


                                  • Resources


                                  • Glossary


                                  • Desk Marketplace


                                  • MVP Corner


                                  • Word of the Day



                                      Zoho Marketing Automation
                                              • Sticky Posts

                                              • Zoho Mail POP & IMAP Server Details

                                                Hello all! We have been receiving a number of requests regarding the errors while configuring or using Zoho Mail account in POP/ IMAP clients. The server details vary based on your account type and the Datacenter in which your account is setup. Ensure
                                              • Important update on Group Management | Zoho Mail

                                                Dear Zoho Mail Community, This post is to inform you all of the following updates on the Group Management in Zoho Mail. Group Member Addition: If a group member is added to an organization group in a Zoho Application, the member will be automatically
                                              • Mastering email etiquette and best practices to follow in Zoho Mail

                                                Hello Zoho Mail Community, We’re thrilled to invite you all to our upcoming webinar: Mastering email etiquette and best practices to follow in Zoho Mail. Join our live webinar for expert etiquette tips to enhance your professionalism and elevate your
                                              • 📣 📣 ZUG Meetups India - Explore Hybrid Workspaces using Zoho Workplace - Meet and Learn! 🧑🏽‍💻🧑🏽‍💻

                                                We are excited to announce the User Community initiative to meet you all in person and help you explore the need of the hour - Hybrid Workspaces using Zoho Workplace. We aim to help you to setup your Digital Workplace effectively so that your employees
                                              • Announcing Zoho Mail - Inactive user Policy

                                                Dear Zoho Mail users, Thanks to all of you for your continuous support.  We have recently started implementing the Inactive User Policy, for Zoho Mail.  A user is considered as inactive, if the user has not logged in to the Zoho mail account for a period of more than 120 days. The login through POP, IMAP and Active Sync are all taken into account for tracking the period of inactivity.  Whoever received the communication need not panic, as we have just communicated our policy to all the users.  To


                                              Manage your brands on social media



                                                    Zoho TeamInbox Resources

                                                      Zoho DataPrep Resources



                                                        Zoho CRM Plus Resources

                                                          Zoho Books Resources


                                                            Zoho Subscriptions Resources

                                                              Zoho Projects Resources


                                                                Zoho Sprints Resources


                                                                  Qntrl Resources


                                                                    Zoho Creator Resources



                                                                        Zoho Campaigns Resources


                                                                          Zoho CRM Resources

                                                                          • CRM Community Learning Series

                                                                            CRM Community Learning Series


                                                                          • Kaizen

                                                                            Kaizen

                                                                          • Functions

                                                                            Functions

                                                                          • Meetups

                                                                            Meetups

                                                                          • Kbase

                                                                            Kbase

                                                                          • Resources

                                                                            Resources

                                                                          • Digest

                                                                            Digest

                                                                          • CRM Marketplace

                                                                            CRM Marketplace

                                                                          • MVP Corner

                                                                            MVP Corner





                                                                              Design. Discuss. Deliver.

                                                                              Create visually engaging stories with Zoho Show.

                                                                              Get Started Now