79556785

Date: 2025-04-05 09:46:25
Score: 1
Natty:
Report link

I would suggest to omit the body function
and try to use end_headers instead.

  def end_headers
    from_header = @headers['From']
    to_header = @headers['To']
    process_email(from_header.first, to_header) \
      unless from_header.nil? || from_header.empty?
    return Response.continue
  end
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: dinoex