local smtp server to send mail [closed]
Asked 9 years ago Active 4 years, 1 month ago Viewed 80k times
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
25
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 2 years ago.
11 Improve this question
i need to demo an application on my laptop running windows 7 enterprise. The application is
supposed to send mail. How can i setup a local smtp server to send mail from and be able to
recieve it in my outlook on the machine. I need to be able to do this while not connected to
the internet for the demo.
smtp
Share Improve this question Follow asked Jan 28 '13 at 20:18
hamza h
345 1 4 12
1 Possible duplicate of Local SMTP server that can be used for testing and development - won't actually
deliver mail (and note that that duplicate is also closed, because it's off-topic...). – Amos M. Carpenter
May 8 '17 at 2:05
local smtp server to send mail - Stack Overflow https://stackoverflow.com/questions/14570471/local-smtp-server-to-sen...
1 thanks, i decided to go with papercut since it was the easiest to use. – hamza h Jan 29 '13 at 19:02
hMailServer did the trick for me - thanks Ismael – cymorg Jul 25 '13 at 1:16
On second thoughts Papercut looks better for my needs, much lighter and no hassle configuring,
starting and stopping services etc. – cymorg Jul 25 '13 at 1:23
2 "Previous question" not found – digout Nov 10 '20 at 20:46
Local smtp only: smtp4dev (similar to papercut)
The application catches everything sent to it, but does not send emails over the internet.
13
Share Improve this answer Follow answered Jul 31 '13 at 8:02
lennartvdd
475 3 8
Link to version 3 on GitHub: github.com/rnwood/smtp4dev – Andrew Keeton Aug 1 '19 at 20:25
Papercut is pretty active (last release on Jun 25, 2015):
9 Ever need to test emails from an application or web site but don't want them
accidently being sent or having to deal with the hassle of setting up a test email
server? Papercut is a quick email viewer with a built-in SMTP server designed to only
receive messages. It doesn't enforce any restrictions how you send your email. It
allows you to view the whole email-chilada: body, html, headers, attachment down to
the naughty raw bits. It can be set to run on startup and sits quietly minimized in the
tray giving you a balloon popup when a new message arrives.
You can also try smtp4dev:
A dummy SMTP server for Windows, Linux, Mac OS-X (and maybe elsewhere where
.NET Core is available)
Share Improve this answer Follow edited Dec 12 '17 at 8:04 answered Aug 30 '15 at 2:02
alexandrul
12k 11 70 98
2 de 3 28/01/2022, 7:37 a. m.
local smtp server to send mail - Stack Overflow https://stackoverflow.com/questions/14570471/local-smtp-server-to-sen...
i tried this but there is no help at all for how to set this up included with the software or on that link. the
options menu in papercut lets you pick a couple of ips but apparently more configuration is required
because pointing my smtp client at those values did not work. – Mike Corcoran Dec 11 '17 at 19:24
@MikeCorcoran in my case I have set Papercut to listen on all IP addresses (the Any option) and then
I've just set the IP and port in my jenkins instance, nothing else was required. – alexandrul Dec 12 '17 at
8:07
You can also (for a demo) user the 'specifiedPickupDirectory' setting to leverage the same
code, but drop the email message off to a local folder, alleviating the need for an actual SMTP
2 server, but being able to demonstrate that the email is generated as expected.
MSDN: http://msdn.microsoft.com/en-us/library/ms164241.aspx
Share Improve this answer Follow answered Mar 7 '13 at 17:33
Glenn Ferrie
9,715 3 37 69
far and away the easiest way to go – Mike Corcoran Dec 11 '17 at 19:23
As for me the best option is https://www.npmjs.com/package/maildev
2 A painless smtp server running on node. Therefore you need to install node, but it actually
send an email to any smtp server.
Share Improve this answer Follow answered Nov 4 '16 at 18:44
Dimitrios Desyllas
7,424 7 53 121
You can send email using Telnet or implement the protocol using socket programming.
1 Refer to http://www.softwareandfinance.com/Visual_CPP/TelnetEmail.html
Share Improve this answer Follow answered Oct 10 '13 at 21:55
Kathir
Softwareandfinance
271 3 4
3 de 3 28/01/2022, 7:37 a. m.