smtp4dev: Minor documentation errors

On the Configuration page

  1. “You can find the configuration file at <installlocation>\appsettings.json.” The installation directory (if using dotnet install) is %USERPROFILE%\.dotnet\tools and there is no such file there.
  2. The listing of command line options at the bottom is missing --service.

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 15 (5 by maintainers)

Most upvoted comments

@aaronamm I’m afraid I gave up and now use mailtrap instead. It just works. Good luck.

Thanks, I can’t get it to start I’m afraid so probably bailing out. But FYI, I get this (Linux Mint 20.2 DOTNET 5.0):-

craig@TIUCL-XPS15:~$ smtp4dev smtp4dev version 3.1.3.2 https://github.com/rnwood/smtp4dev

.NET Core runtime version: 3.1.21

For help use argument --help

Using Sqlite database at /home/craig/.config/smtp4dev/database.db

clientapp@1.0.0 serve vue-cli-service serve “–port” “8123” sh: 1: vue-cli-service: not found

TLS mode: None

The SMTP server failed to start: System.Net.Sockets.SocketException (13): Permission denied at System.Net.Sockets.Socket.UpdateStatusAfterSocketErrorAndThrowException(SocketError error, String callerName) at System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress) at System.Net.Sockets.Socket.Bind(EndPoint localEP) at System.Net.Sockets.TcpListener.Start(Int32 backlog) at System.Net.Sockets.TcpListener.Start() at Rnwood.SmtpServer.SmtpServer.Start() at Rnwood.Smtp4dev.Server.Smtp4devServer.TryStart() in /home/vsts/work/1/s/Rnwood.Smtp4dev/Server/Smtp4devServer.cs:line 437 IMAP Server listening on port 143 Hosting environment: Development Content root path: /home/craig/.dotnet/tools/.store/rnwood.smtp4dev/3.1.3.2/rnwood.smtp4dev/3.1.3.2/tools/netcoreapp3.1/any Now listening on: http://localhost:5000 Now listening on: https://localhost:5001 Application started. Press Ctrl+C to shut down.

Rgds.