sanathp / statusok

Monitor your Website and APIs from your Computer. Get Notified through Slack, E-mail when your server is down or response time is more than expected.
Other
1.62k stars 197 forks source link

Sends emails with incorrect headers #61

Open anteatersa opened 3 years ago

anteatersa commented 3 years ago

Email notifications are sent with incorrect headers causing them to be blocked by most major email services (Google etc)

Can be fixed by adding a valid from and subject to email message

example:

550-5.7.1 [216.92.131.252      11] Our system has detected that this
message is 550-5.7.1 not RFC 5322 compliant: 550-5.7.1 'From' header is
missing. 550-5.7.1 To reduce the amount of spam sent to Gmail, this message
has been 550-5.7.1 blocked. Please visit 550-5.7.1
https://support.google.com/mail/?p=RfcMessageNonCompliant 550 5.7.1 and
review RFC 5322 specifications for more information. h20si4460693qvw.81 -
gsmtp (in reply to end of DATA command)