I want to use to create a mail server. I have written this simple code:
< Code> requires 'mini-SMTP-server' class StdoutSmtpServer & lt; MiniSmtpServer def new_message_event (message_hash) "#New Email Received:" End Server = StdoutSmtpServer.new (2525, "127.0.0.1", 4) server.start server.joinI do not know how to send mail to the server, like,
foo@127.0.0.1: 2525 does not work.
Any thoughts?
In the most fundamental way, you can see that your mail server uses Telnet to connect it. Is working.
is making Telnet 127.0.0.12525
, then type at the prompt again:
EHLO Your_username
will verify that your mail server is working.
There are several references to troubleshooting SMTP protocols with telnet on the web.
This email is being sent as you are from any other mail server.
No comments:
Post a Comment