# Email function not working for gmail

**URL:** https://www.finalbuilder.com/forums/t/email-function-not-working-for-gmail/1499
**Category:** Discussion
**Created:** [June 10, 2010, 9:00am UTC](https://www.finalbuilder.com/forums/t/email-function-not-working-for-gmail/1499 "2010-06-10T09:00:29Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)
#### Post date: [June 10, 2010, 9:00am UTC](https://www.finalbuilder.com/forums/t/email-function-not-working-for-gmail/1499/1 "2010-06-10T09:00:29Z")

</div>

&nbsp;when i try to send an email through gmail's server, the connection disconnects within 1 second of it connecting

server: smtp.gmail.com

port: 587

&nbsp;

6/10/2010 4:19:30 PM : 220 mx.google.com ESMTP f1sm1526926ibg.15

6/10/2010 4:19:30 PM : 250-mx.google.com at your service, [207.35.22.10]250-SIZE 35651584250-8BITMIME250-STARTTLS250 ENHANCEDSTATUSCODES

6/10/2010 4:19:30 PM : 221 2.0.0 closing connection f1sm1526926ibg.15

&nbsp;

advice?

&nbsp;

---

<div class="post-metadata">

### Author: ![paulsamways](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/p/e8c25b/32.png) [@paulsamways](https://www.finalbuilder.com/forums/u/paulsamways)
#### Post date: [June 10, 2010, 10:28am UTC](https://www.finalbuilder.com/forums/t/email-function-not-working-for-gmail/1499/2 "2010-06-10T10:28:50Z")

</div>

Hi,

&nbsp;

Gmail requires that you use SSL to connect to its servers which is not available in the current version of FinalBuilder (it will be in the next version).&nbsp;

&nbsp;

Attached is a workaround that uses the Run Script action to send the email.

&nbsp;

Regards,

Paul.
[SendEmailWithOptionalAttachment.fbz6](https://www.finalbuilder.com/forums/uploads/default/original/2X/2/22232f1b8163c18c26a7a54ef2d8f8e772be57aa.fbz6) (2.655 KB)

---

<div class="post-metadata">

### Author: ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)
#### Post date: [June 11, 2010, 2:02am UTC](https://www.finalbuilder.com/forums/t/email-function-not-working-for-gmail/1499/3 "2010-06-11T02:02:19Z")

</div>

thank-you
