# email error

**URL:** <https://forum.mautic.org/t/email-error/7854>\
**Category:** Product Support\
**Created:** [March 8, 2017, 8:59pm UTC](https://forum.mautic.org/t/email-error/7854 "2017-03-08T20:59:57Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Armant](https://avatars.discourse-cdn.com/v4/letter/a/f1d935/32.png) [@Armant](https://forum.mautic.org/u/Armant)\
**Post date:** [March 8, 2017, 8:59pm UTC](https://forum.mautic.org/t/email-error/7854/1 "2017-03-08T20:59:57Z")

</div>

Hi  
  
  
  
just tried setting up email(of which there is doc’s for)  
  
and I’m getting this error:

Code:

Error communicating with the IMAP server: Certificate failure for mail.prohandyman.co.za: Server name does not match certificate: /OU=Domain Control Validated/OU=EssentialSSL Wildcard/CN=\*.hkdns.co.za

  
Does anyone understand what the error is?

---

<div class="post-metadata">

**Author:** ![Armant](https://avatars.discourse-cdn.com/v4/letter/a/f1d935/32.png) [@Armant](https://forum.mautic.org/u/Armant)\
**Post date:** [March 8, 2017, 8:59pm UTC](https://forum.mautic.org/t/email-error/7854/2 "2017-03-08T20:59:57Z")

</div>

Hi

just tried setting up email(of which there is doc’s for)  
and I’m getting this error:

```auto
Error communicating with the IMAP server: Certificate failure for mail.prohandyman.co.za: Server name does not match certificate: /OU=Domain Control Validated/OU=EssentialSSL Wildcard/CN=*.hkdns.co.za
```

Does anyone understand what the error is?

---

<div class="post-metadata">

**Author:** ![bizcrony](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/bizcrony/32/409_2.png) [@bizcrony](https://forum.mautic.org/u/bizcrony)\
**Post date:** [March 8, 2017, 9:25pm UTC](https://forum.mautic.org/t/email-error/7854/3 "2017-03-08T21:25:43Z")

</div>

@Armant

What is your Mautic version?

---

<div class="post-metadata">

**Author:** ![Armant](https://avatars.discourse-cdn.com/v4/letter/a/f1d935/32.png) [@Armant](https://forum.mautic.org/u/Armant)\
**Post date:** [March 8, 2017, 9:27pm UTC](https://forum.mautic.org/t/email-error/7854/4 "2017-03-08T21:27:52Z")

</div>

it’s v2.6.1

---

<div class="post-metadata">

**Author:** ![mausm](https://avatars.discourse-cdn.com/v4/letter/m/90db22/32.png) [@mausm](https://forum.mautic.org/u/mausm)\
**Post date:** [March 9, 2017, 8:37pm UTC](https://forum.mautic.org/t/email-error/7854/5 "2017-03-09T20:37:08Z")

</div>

[quote=21054:@Armant]Hi

just tried setting up email(of which there is doc’s for)  
and I’m getting this error:

```auto
Error communicating with the IMAP server: Certificate failure for mail.prohandyman.co.za: Server name does not match certificate: /OU=Domain Control Validated/OU=EssentialSSL Wildcard/CN=*.hkdns.co.za
```

Does anyone understand what the error is?[/quote]  
Try the nonvalidate option from the SSL pull-down:  
[https://www.mautic.org/community/index.php/5398-monitored-inbox-settings-test-error-communicating-with-the-imap/0](https://www.mautic.org/community/index.php/5398-monitored-inbox-settings-test-error-communicating-with-the-imap/0)

---

<div class="post-metadata">

**Author:** ![Armant](https://avatars.discourse-cdn.com/v4/letter/a/f1d935/32.png) [@Armant](https://forum.mautic.org/u/Armant)\
**Post date:** [March 9, 2017, 9:14pm UTC](https://forum.mautic.org/t/email-error/7854/6 "2017-03-09T21:14:00Z")

</div>

Hi @mausm

I’ve tried both none and SSL encryption options  
both give the same result

Funny enough if i take out the username and password it then says success but if I test it I don’t receive any emails from Mautic.

Had a chat with my hosting provider about the issue, they think it is because mautic is on a subdomain with an ssl cert. and the main domain doesn’t have a wildcard ssl cert, that is the issue.

so i think i have these options:

1. make use of an external mail service like mailchimp
2. create a [mautic.com](http://mautic.com) account and live with the limitation that come with it
3. install Mautic in the main directory in a sub-folder along with Wordpress and hope and pray I don’t have any issues with it there.

---

<div class="post-metadata">

**Author:** ![ninjoan](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ninjoan/32/1005_2.png) [@ninjoan](https://forum.mautic.org/u/ninjoan)\
**Post date:** [March 9, 2017, 11:05pm UTC](https://forum.mautic.org/t/email-error/7854/7 "2017-03-09T23:05:22Z")

</div>

This look like is a problem relate to the IMAP server and NOT Mautic contact your hosting provider

---

<div class="post-metadata">

**Author:** ![Armant](https://avatars.discourse-cdn.com/v4/letter/a/f1d935/32.png) [@Armant](https://forum.mautic.org/u/Armant)\
**Post date:** [March 10, 2017, 10:23am UTC](https://forum.mautic.org/t/email-error/7854/8 "2017-03-10T10:23:21Z")

</div>

ok I think i might have gotten confused with the option none.

tried the ssl with novalidate and it says success

tested it with a direct email from the contacts tab in mautic and received the test

but I don’t receive any email from a campaign test

---

<div class="post-metadata">

**Author:** ![Armant](https://avatars.discourse-cdn.com/v4/letter/a/f1d935/32.png) [@Armant](https://forum.mautic.org/u/Armant)\
**Post date:** [March 10, 2017, 4:29pm UTC](https://forum.mautic.org/t/email-error/7854/9 "2017-03-10T16:29:48Z")

</div>

@MxyzptlkFishStix

these are my cron jobs:

```auto
0,15,30,45 * * * * home/prohandy/.cagefs/var/php -q /home/prohandy/marketing.domain.co.za/app/console mautic:segments:update

5,20,35,50 * * * * home/prohandy/.cagefs/var/php -q /home/prohandy/marketing.domain.co.za/mautic/app/console mautic:campaigns:rebuild

10,25,40,55 * * * * home/prohandy/.cagefs/var/php -q /home/prohandy/marketing.domain.co.za/mautic/app/console mautic:campaigns:trigger --env=prod

13,27,42,58 * * * * home/prohandy/.cagefs/var/php -q /home/prohandy/marketing.domain.co.za/mautic/app/console mautic:social:monitoring

0 0 1 * 3 home/prohandy/.cagefs/var/php -q /home/prohandy/marketing.domain.co.za/mautic/app/console mautic:iplookup:download
```

---

<div class="post-metadata">

**Author:** ![Armant](https://avatars.discourse-cdn.com/v4/letter/a/f1d935/32.png) [@Armant](https://forum.mautic.org/u/Armant)\
**Post date:** [March 10, 2017, 8:45pm UTC](https://forum.mautic.org/t/email-error/7854/10 "2017-03-10T20:45:21Z")

</div>

@MxyzptlkFishStix  
I’ve changed the cron jobs to be in this format now:

```auto
php -q /home/prohandy/marketing.domain.co.za/app/console mautic:segments:update
```

But i still don’t receive any email from the campaign.

Any other suggestions?

---

<div class="post-metadata">

**Author:** ![Armant](https://avatars.discourse-cdn.com/v4/letter/a/f1d935/32.png) [@Armant](https://forum.mautic.org/u/Armant)\
**Post date:** [March 11, 2017, 9:10am UTC](https://forum.mautic.org/t/email-error/7854/11 "2017-03-11T09:10:13Z")

</div>

I’ve also use this format in the crons: (removed the -q)

```auto
php /home/prohandy/marketing.domain.co.za/app/console mautic:segments:update
```

but still no email from the campaign

I’ve tried delaying the email for 1 minute, but still no email is received.

I’ve checked my spam folder, no email.

What else can I try, guys?  
I’m out of ideas
