main Something happen while delivering an email exception EOFError end of file reached

0 votes

Hi Guys,

I am trying to send one mail using Logstash. But it is showing me the below error.

[2020-06-18T05:22:07,194][ERROR][logstash.outputs.email   ][main][512971a1bbd8e3d87adcfe9cc5b0b967ba2fb68f59d51b18509fb52128858b75] Something happen while delivering an email {:exception=>#<EOFError: end of file reached>}

I am using this below configuration file.

input {
  stdin {}
}

output {
email {
  to => "nadim69.na@gmail.com"
  body => "Message: This is Nadeem"
  address => "smtp.gmail.com"
  port => 465
  username => "nadim70.na@gmail.com"
  password => "nadeem70@"
  use_tls => true
}
}
Jun 18, 2020 in DevOps Tools by akhtar
• 38,210 points
251 views

1 answer to this question.

0 votes

Hi@akhtar,

You are trying to use port no. 465 with smtp server. I think this port no. is not available. You can use port no. 587 instead of 465.

answered Jun 18, 2020 by MD
• 95,320 points

Related Questions In DevOps Tools

0 votes
1 answer

Getting an Error while trying to push changes to cloud foundry

Here is an approach which you can ...READ MORE

answered Jul 19, 2018 in DevOps Tools by Atul
• 10,230 points
1,140 views
0 votes
1 answer

How to connect log file as an input in Logstash?

Hi@akhtar, You can use the file plugin to ...READ MORE

answered Jun 17, 2020 in DevOps Tools by MD
• 95,320 points
158 views
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
1,326 views
+2 votes
1 answer