mail
mail copied to clipboard
[Documentation] [FAQ entry] Connection refused - connect(2) for "localhost" port 25
Hey guys,
I am totally new to this email business.
Would it be possible to add a FAQ to the mail gem?
One entry would be this:
smtp.rb:539:in `initialize': Connection refused - connect(2) for "localhost" port 25
I sort of copy/pasted the default info from the main README, and just replaced with my email; but I get this connection refused.
I googled for this and there are lots of entries but right now I haven't solved this yet. This is why I think a FAQ would be nice; can be separate page, linked in from the main README perhaps. Even if you can not solve all problems, a FAQ may be useful to guide people into the right direction. Right now it seems I have to fiddle with smtp, but I was not even aware that I am now using this ... :D
I had the same problem. Just fixed it by following this link: https://blog.edmdesigner.com/send-email-from-linux-command-line/. Basically you need to run a smtp server in your local machine. Install sendmail and stmp, change smtp's file and you're ready to send emails.