# Gmail SMTP timing

**URL:** <https://forum.mautic.org/t/gmail-smtp-timing/25472>\
**Category:** Product Support\
**Created:** [September 21, 2022, 9:30pm UTC](https://forum.mautic.org/t/gmail-smtp-timing/25472 "2022-09-21T21:30:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![roblefko](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/roblefko/32/4958_2.png) [@roblefko](https://forum.mautic.org/u/roblefko)\
**Post date:** [September 21, 2022, 9:30pm UTC](https://forum.mautic.org/t/gmail-smtp-timing/25472/1 "2022-09-21T21:30:00Z")

</div>

**Your software**  
My Mautic version is: 4.4.2  
My PHP version is:7.4.3  
My Database type and version is:10.3.34-MariaDB-0

**Your problem**  
My problem is: I recently switched to using Google Workspace for my Mautic outgoing email. Previously, when I sent emails, they seemed to move pretty much in an instant from Mautic to the SMTP server. Now, I find that when I send emails, they seem to be accepted at a slow rate. It might take a full minute to transfer 50-60 emails.

This morning, when sending a batch of 80 emails, I found that about half of them failed, with the error: Last execution error: Connection to ssl://smtp.gmail.com:465 Timed Out

These errors are showing in the log:

mautic.ERROR: [MAIL ERROR] Connection to ssl://smtp.gmail.com:465 Timed Out Log data: \>\> MAIL FROM: \>\> RCPT TO: \>\> DATA !! Connection to ssl://smtp.gmail.com:465 Timed Out (code: 0) (send); [xxx@gmail.com](mailto:xxx@gmail.com) {“exception”:“[object] (Swift\_TransportException(code: 0): Connection to ssl://smtp.gmail.com:465 Timed Out\nLog data:\n\>\> MAIL FROM:\r\n\n\>\> RCPT TO:\r\n\n\>\> DATA\r\n\n!! Connection to ssl://smtp.gmail.com:465 Timed Out (code: 0) at /var/www/html/mautic/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Plugins/LoggerPlugin.php:124, Swift\_IoException(code: 0): Connection to ssl://smtp.gmail.com:465 Timed Out at /var/www/html/mautic/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/StreamBuffer.php:166)”} {“hostname”:“newmautic”,“pid”:281572}

Steps I have tried to fix the problem:
