Questions tagged [smtp4dev]

Windows 7/Vista/XP/2003/2010 compatible dummy SMTP server.

Windows 7/Vista/XP/2003/2010 compatible dummy SMTP server. Sits in the system tray and does not deliver the received messages. The received messages can be quickly viewed, saved and the source/structure inspected. Useful for testing/debugging software that generates email.

6 questions
6
votes
2 answers

Recommended way to use smtp4dev as server of mailkit client messages

I have an console application and I installed mailkit package for messaging purposes. I have code in the main method to test mailkit smtp client. I have smtp4dev dummy server running and the client code is the example code of mailkit in github with…
Dalsier
  • 377
  • 3
  • 14
5
votes
2 answers

How to receive emails with smtp4dev

This is how I am trying to send an email: MailMessage mail = new MailMessage(); mail.From = new MailAddress("test@test.com"); mail.To.Add("test1@test.com"); mail.Subject = "Subject"; mail.Body = "Body"; SmtpClient smtp = new SmtpClient("localhost",…
Vladimirs
  • 8,232
  • 4
  • 43
  • 79
1
vote
2 answers

How to fix an SMTP authentication error when testing emails from localhost?

How can I test email on localhost with Laravel 7? I have a Smtp4Dev server running which should catch communication on the specified port. I choose port 25. My Laravel 7 mail setting is…
Čamo
  • 3,863
  • 13
  • 62
  • 114
1
vote
1 answer

Does smtp4dev support displaying HTML element?

A while ago I downloaded smtp4dev so I can listen to emails from port 25, I'm programming with PHP and when I send an PHP script, smtp4dev displays the email, but what If I want to check if it displays HTML elements such as (p) (img) (hr), etc... If…
Maohammed Hayder
  • 505
  • 3
  • 7
  • 22
0
votes
1 answer

SMTP4DEV - Docker pull error - Why get I Unkown Blob

When trying to get (pull or run) the docker smtp4dev, I've got the following error message : /usr/bin/docker-current: unknown blob. I'm trying to run it from : a CentOS VM, with Docker version 1.13.1, build cccb291/1.13.1 Please find hereafter my…
0
votes
1 answer

How to create a X509 certificate that prevents "server mode SSL must use certificate with associated private key" exception?

I'm trying to create an X.509 certificate file that will work with the following code as found in the smtp4dev project: var certificate = new X509Certificate(Settings.Default.SSLCertificatePath); var clientCertificateRequired = false; var protocols…
Michiel van Oosterhout
  • 22,839
  • 15
  • 90
  • 132