# Configuration - Mail Settings

**URL:** <https://forum.mautic.org/t/configuration-mail-settings/2003>\
**Category:** Product Support\
**Created:** [June 25, 2015, 7:59am UTC](https://forum.mautic.org/t/configuration-mail-settings/2003 "2015-06-25T07:59:27Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![slawek.kow](https://avatars.discourse-cdn.com/v4/letter/s/898d66/32.png) [@slawek.kow](https://forum.mautic.org/u/slawek.kow)\
**Post date:** [June 25, 2015, 7:59am UTC](https://forum.mautic.org/t/configuration-mail-settings/2003/1 "2015-06-25T07:59:27Z")

</div>

It seems as though there was no saved password for the SMTP server.  
  
I configure your own SMTP server.  
  
I do “test connection” and everything is OK.  
  
I send a test email and also is OK.  
  
Saving settings.  
  
I send an email to the lead and get the message that the mail has been sent.  
  
However mails are not sent at all.  
  
Previously, I had set the dispatch e-mails as a queue, but I changed the dispatch Immediately and also did not help.  
  
I do not understand what I am doing wrong.

---

<div class="post-metadata">

**Author:** ![slawek.kow](https://avatars.discourse-cdn.com/v4/letter/s/898d66/32.png) [@slawek.kow](https://forum.mautic.org/u/slawek.kow)\
**Post date:** [July 23, 2015, 10:19am UTC](https://forum.mautic.org/t/configuration-mail-settings/2003/2 "2015-07-23T10:19:07Z")

</div>

If you use Gmail server, I get the message:

Connection could not be established with host [smtp.gmail.com](http://smtp.gmail.com) [Connection timed out #110] Log data: ++ Starting Swift\_SmtpTransport !! Connection could not be established with host [smtp.gmail.com](http://smtp.gmail.com) [Connection timed out #110]  
++ Starting Swift\_SmtpTransport !! Connection could not be established with host [smtp.gmail.com](http://smtp.gmail.com) [Connection timed out #110]  
If you use other providers are also getting a similar message

---

<div class="post-metadata">

**Author:** ![escopecz](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/escopecz/32/370_2.png) [@escopecz](https://forum.mautic.org/u/escopecz)\
**Post date:** [July 23, 2015, 10:23am UTC](https://forum.mautic.org/t/configuration-mail-settings/2003/3 "2015-07-23T10:23:52Z")

</div>

If I google your error message, I get this result: [Sending email using php, gmail, and swiftmailer causes SSL-related error - Stack Overflow](http://stackoverflow.com/questions/4846599/sending-email-using-php-gmail-and-swiftmailer-causes-ssl-related-error)

> [@](#):
>
> Did your php support SSL ? [PHP: fsockopen - Manual](http://php.net/manual/en/function.fsockopen.php), and check [PHP: Installation - Manual](http://www.php.net/manual/en/openssl.installation.php) for reference.
> 
> Create a page with
> 
> phpinfo();  
> Is SSL enabled?

Can you try that? It must be your server settings if the issue happens for every provider.

---

<div class="post-metadata">

**Author:** ![slawek.kow](https://avatars.discourse-cdn.com/v4/letter/s/898d66/32.png) [@slawek.kow](https://forum.mautic.org/u/slawek.kow)\
**Post date:** [June 25, 2015, 7:59am UTC](https://forum.mautic.org/t/configuration-mail-settings/2003/4 "2015-06-25T07:59:28Z")

</div>

It seems as though there was no saved password for the SMTP server.  
I configure your own SMTP server.  
I do “test connection” and everything is OK.  
I send a test email and also is OK.  
Saving settings.  
I send an email to the lead and get the message that the mail has been sent.  
However mails are not sent at all.  
Previously, I had set the dispatch e-mails as a queue, but I changed the dispatch Immediately and also did not help.  
I do not understand what I am doing wrong.

---

<div class="post-metadata">

**Author:** ![karibu](https://avatars.discourse-cdn.com/v4/letter/k/c6cbf5/32.png) [@karibu](https://forum.mautic.org/u/karibu)\
**Post date:** [June 30, 2015, 1:52pm UTC](https://forum.mautic.org/t/configuration-mail-settings/2003/5 "2015-06-30T13:52:49Z")

</div>

Hi slawek,

Not sure you already found a solution or not, but which email provider are you using? The issue might be from there…

---

<div class="post-metadata">

**Author:** ![slawek.kow](https://avatars.discourse-cdn.com/v4/letter/s/898d66/32.png) [@slawek.kow](https://forum.mautic.org/u/slawek.kow)\
**Post date:** [July 7, 2015, 12:40pm UTC](https://forum.mautic.org/t/configuration-mail-settings/2003/6 "2015-07-07T12:40:19Z")

</div>

To date, the problem has not been solved.  
My ISP said that for them it is all good.  
I’m willing to admit he was right because in other applications SMTP settings work properly

---

<div class="post-metadata">

**Author:** ![escopecz](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/escopecz/32/370_2.png) [@escopecz](https://forum.mautic.org/u/escopecz)\
**Post date:** [July 9, 2015, 6:47am UTC](https://forum.mautic.org/t/configuration-mail-settings/2003/7 "2015-07-09T06:47:33Z")

</div>

Hi, could you just test different email provider? For example GMail? It might give us a clue where the problem is hidden.

---

<div class="post-metadata">

**Author:** ![wootme](https://avatars.discourse-cdn.com/v4/letter/w/e9bcb4/32.png) [@wootme](https://forum.mautic.org/u/wootme)\
**Post date:** [July 23, 2015, 1:18pm UTC](https://forum.mautic.org/t/configuration-mail-settings/2003/8 "2015-07-23T13:18:05Z")

</div>

Also, please check with your service provider, normally they block ports. Could be a possibility that your service providers has port 465 and 587 as blocked.

---

<div class="post-metadata">

**Author:** ![slawek.kow](https://avatars.discourse-cdn.com/v4/letter/s/898d66/32.png) [@slawek.kow](https://forum.mautic.org/u/slawek.kow)\
**Post date:** [July 28, 2015, 8:05am UTC](https://forum.mautic.org/t/configuration-mail-settings/2003/9 "2015-07-28T08:05:32Z")

</div>

Thanks to all for your help. It turned out that I can not use any other SMTP connections because they are blocked at firewoll my ISP

---

<div class="post-metadata">

**Author:** ![yavarpower](https://avatars.discourse-cdn.com/v4/letter/y/8e7dd6/32.png) [@yavarpower](https://forum.mautic.org/u/yavarpower)\
**Post date:** [November 26, 2016, 6:52am UTC](https://forum.mautic.org/t/configuration-mail-settings/2003/10 "2016-11-26T06:52:07Z")

</div>

Hey even i was having problem so

1. I had to contact amazon and tell them to remove me from sandbox
2. Had to tell my hosting provider to whitelist the amazon servers  
3.Use the setting in the image  
Vola u are done.

![](https://postimg.org/image/f24593i19/)

---

<div class="post-metadata">

**Author:** ![imautic](https://avatars.discourse-cdn.com/v4/letter/i/74df32/32.png) [@imautic](https://forum.mautic.org/u/imautic)\
**Post date:** [November 27, 2016, 4:57am UTC](https://forum.mautic.org/t/configuration-mail-settings/2003/11 "2016-11-27T04:57:55Z")

</div>

> [@2327:@slawek.kow](#):
>
> Thanks to all for your help. It turned out that I can not use any other SMTP connections because they are blocked at firewoll my ISP

What do you mean by “any other SMTP connections”?  
How come your test email was successfully sent if the ports are blocked?

---

<div class="post-metadata">

**Author:** ![silavapi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/silavapi/32/7424_2.png) [@silavapi](https://forum.mautic.org/u/silavapi)\
**Post date:** [February 2, 2020, 10:59pm UTC](https://forum.mautic.org/t/configuration-mail-settings/2003/12 "2020-02-02T22:59:10Z")

</div>


