# Mail send setting with gmail

**URL:** <https://forum.mautic.org/t/mail-send-setting-with-gmail/3656>\
**Category:** Product Support\
**Created:** [May 5, 2016, 6:27am UTC](https://forum.mautic.org/t/mail-send-setting-with-gmail/3656 "2016-05-05T06:27:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![gina](https://avatars.discourse-cdn.com/v4/letter/g/58956e/32.png) [@gina](https://forum.mautic.org/u/gina)\
**Post date:** [May 5, 2016, 6:27am UTC](https://forum.mautic.org/t/mail-send-setting-with-gmail/3656/1 "2016-05-05T06:27:00Z")

</div>

Hi,  
  
  
  
I am using gmail for the mail send setting, the connection i okay, but when comes to the sendtest email, it’s keep showing the message with

Quote:

Expected response code 250 but got code "535", with message "535-5.7.8 Username and Password not accepted. Learn more at 535 5.7.8 https://support.google.com/mail/answer/14257

  
if I left the username and password blank, then comes to

Quote:

Expected response code 250 but got code "530", with message "530-5.5.1 Authentication Required. Learn more at 530 5.5.1 https://support.google.com/mail/answer/14257 77sm2992352qgn.29 - gsmtp " Log data: ++ Starting Swift\_SmtpTransport \<\> EHLO

  
  
how can I fix this?  
  
Thank you.

---

<div class="post-metadata">

**Author:** ![gina](https://avatars.discourse-cdn.com/v4/letter/g/58956e/32.png) [@gina](https://forum.mautic.org/u/gina)\
**Post date:** [May 5, 2016, 6:27am UTC](https://forum.mautic.org/t/mail-send-setting-with-gmail/3656/2 "2016-05-05T06:27:00Z")

</div>

Hi,

I am using gmail for the mail send setting, the connection i okay, but when comes to the sendtest email, it’s keep showing the message with

> [@](#):
>
> Expected response code 250 but got code “535”, with message "535-5.7.8 Username and Password not accepted. Learn more at 535 5.7.8 [Can't sign in to your Google Account - Gmail Help](https://support.google.com/mail/answer/14257)

if I left the username and password blank, then comes to

> [@](#):
>
> Expected response code 250 but got code “530”, with message "530-5.5.1 Authentication Required. Learn more at 530 5.5.1 [Can't sign in to your Google Account - Gmail Help](https://support.google.com/mail/answer/14257) 77sm2992352qgn.29 - gsmtp " Log data: ++ Starting Swift\_SmtpTransport \<\< 220 [smtp.gmail.com](http://smtp.gmail.com) ESMTP 77sm2992352qgn.29 - gsmtp \>\> EHLO

how can I fix this?

Thank you.

---

<div class="post-metadata">

**Author:** ![gina](https://avatars.discourse-cdn.com/v4/letter/g/58956e/32.png) [@gina](https://forum.mautic.org/u/gina)\
**Post date:** [May 6, 2016, 6:49am UTC](https://forum.mautic.org/t/mail-send-setting-with-gmail/3656/3 "2016-05-06T06:49:19Z")

</div>

anyone? thanks
