Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

another question about SMTP with Gmail.com

More
2 years 9 months ago #227837 by bgray
Community Edition Version 5.3.10+220419
Apache 2.4 running on Windows Server 2016. PHP 7.4
==================

I have configured LS to send invitation and confirmation emails with SMTP to smtp.gmail.com. It is working reliably, but I have a question about something I saw yesterday.  I know and understand relatively little about how SMTP works.  

When I sent about 500 invitations, I got an error from Gmail that said there had been too many logins in a short period of time.  I waited an hour or so and was able to send the rest of the invitations.

I SMTP debug mode to Always.  When I sent a batch of email reminders, I could see that the SMTP connection is closed after sending 1 email, and then immediately re-opened to send the next email. 

Is this the correct behavior? I expected it to open the SMTP connection, send multiple emails, and then close the connection.

SMTP Encryption is StartTLS.
Email batch size is 50, and the sending rate is 60.

 

Please Log in to join the conversation.

  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
2 years 9 months ago #227853 by holch
Replied by holch on topic another question about SMTP with Gmail.com
afaik Limesurvey sends the emails one by one.

In any way, 500 invitations in a short period of time will cause you to run into the limits of Gmail. I don't think that it matters whether it is one SMPT connections or various.
support.google.com/mail/answer/22839?hl=...mit-for-sending-mail

Help us to help you!
  • Provide your LS version and where it is installed (own server, uni/employer, SaaS hosting, etc.).
  • Always provide a LSS file (not LSQ or LSG).
Note: I answer at this forum in my spare time, I'm not a LimeSurvey GmbH employee.

Please Log in to join the conversation.

More
2 years 9 months ago #227857 by bgray
Replied by bgray on topic another question about SMTP with Gmail.com
I am authenticating with an account form a Google for Edu domain. Our daily limits are much higher, and within my needs.

Thanks for verifying that the emails are sent one by one. That tells me that it's not a problem with my configuration.

Please Log in to join the conversation.

Moderators: holchtpartner

Lime-years ahead

Online-surveys for every purse and purpose