Ruby mailer is coming up with an EOFError

This can also happen if the SMTP server is down. (I use a 3rd party mailer called Sendgrid and this happened once when it goes down entirely)


Alright, thank you guys, I actually had malformed code in the UserMailer. The actual code I had in the from line had a <> encasing an email address and had the senders name on the outside. Though that has worked on some of the private email servers I have used/work on, it does not work on Hostmonster. Soo, for anyone that ends up using Hostmonster in the future, keep everything about your mailers configuration simple (the message can be complicated but the SMTP Config needs to be simple). Thanks.


If you are using "ZOHO" to send email,

one of the reason I had a problem with this was.

  1. You should use a valid from value. In my case, I used a non existing email account default from: "[email protected]" hence zoho server is not allowing the email to be sent which causes EOF Error.
  2. You should allow IMAP settings on ZOHO IMAP SETTING FOR ZOHO