# Email Ouput: AUTH Unrecognized authentication type

**URL:** <https://discuss.elastic.co/t/email-ouput-auth-unrecognized-authentication-type/217599>\
**Category:** Logstash\
**Tags:** docker\
**Created:** [February 3, 2020, 10:11am UTC](https://discuss.elastic.co/t/email-ouput-auth-unrecognized-authentication-type/217599 "2020-02-03T10:11:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![karamen1](https://avatars.discourse-cdn.com/v4/letter/k/87869e/32.png) [@karamen1](https://discuss.elastic.co/u/karamen1)\
**Post date:** [February 3, 2020, 10:11am UTC](https://discuss.elastic.co/t/email-ouput-auth-unrecognized-authentication-type/217599/1 "2020-02-03T10:11:37Z")

</div>

Hi Logstash team,

I have been using Logstash 7.4.2 version without problem with output email plugin  
I updated ELK stack version to 7.5.2 in last week due to some Vulnerability.  
But i am facing the bellow errors when try to send a notification email.

Has any breaking change which related to this problem?  
i am researching about it, and read logstash release notes but has no related issue.

Is this one issue which may be caused?  
[#11115](https://github.com/elastic/logstash/pull/11115)

Thanks and looking forward to your answer.

`Something happen while delivering an email {:exception=>#<Net::SMTPAuthenticationError: 504 5.7.4 Unrecognized authentication type`

`  
[2020-01-27T07:46:25,753][ERROR][logstash.outputs.email] Something happen while delivering an email {:exception=\>#\<Net::SMTPAuthenticationError: 504 5.3.3 AUTH mechanism PLAIN not available

> }  
> `

`Something happen while delivering an email {:exception=>#<OpenSSL::SSL::SSLError: hostname "xxxx" does not match the server certificate>}`

- Version: 7.5.2
- Platform: Docker
- Operating System: Linux, **SMTP (Not required Authentication)**
- Config File (if you have sensitive info, please remove it):  
Mail output:

```auto
email {
    from => abc@sample.com
    body => "Mail content"
    to => "john@sample.com"
    subject => "System notification"
    codec => "plain"
    contenttype => "text/plain; charset=UTF-8"

    #SMTP server
    address => "127.0.0.1"
    port => 25
}

* Sample Log:
`SMTPAuthenticationError: 504 5.7.4 Unrecongnized authentication type`
```

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [March 2, 2020, 10:11am UTC](https://discuss.elastic.co/t/email-ouput-auth-unrecognized-authentication-type/217599/2 "2020-03-02T10:11:49Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
