Python Forum
python 'SMTP debugging server' not starting local error
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
python 'SMTP debugging server' not starting local error
#1
Hi,

This should be so simple (right!?) but I am not able to get the python SMTP debugging server started. I am within my projects folder, running a virtual (venv) and have tried with Windows cmd and bash.

Here's the error I'm getting:

(venv) godmode@Dell-XPS13 /d/flask_microblog/flask_microblog (master)
     λ python ‐m smtpd ‐n ‐c DebuggingServer localhost:8025
(null): can't open file '<unprintable file name>': [Errno 2] No such file or directory
What is the very simple thing I am missing here?

Thanks,
Phil
Reply
#2
Your dash character is weird. Try this
python -m smtpd -n -c DebuggingServer localhost:8025
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  SMTP email won't send. Program hangs. LarryJ 2 54 Mar-28-2026, 12:03 PM
Last Post: LarryJ
Bug Python 3.12 cannot import local python files as modules sunflowerdog 25 49,797 Jul-31-2024, 01:52 PM
Last Post: sunflowerdog
  Sending email using own smtp server robertkwild 11 11,367 Jul-05-2024, 12:59 AM
Last Post: AdamHensley
  Starting over with Python Mark17 1 1,648 Sep-29-2023, 07:16 PM
Last Post: Larz60+
  Understanding and debugging memory error crashes with python3.10.10 Arkaik 5 6,746 Apr-18-2023, 03:22 AM
Last Post: Larz60+
  Send email with smtp without using Mimetext mgallotti 0 1,690 Feb-01-2023, 04:43 AM
Last Post: mgallotti
  Python script with local libraries zazas321 0 1,885 Jul-05-2022, 04:55 AM
Last Post: zazas321
  Server Folder Error : WinError5 Access Denied fioranosnake 1 2,194 Jun-21-2022, 11:11 PM
Last Post: Larz60+
Shocked Help for COM server implementation ("Unspecified error" on Dispatch()) Alfalfa 2 5,626 Jul-25-2021, 01:36 AM
Last Post: Alfalfa
  How to take the tar backup files form remote server to local server sivareddy 0 3,241 Jul-14-2021, 01:32 PM
Last Post: sivareddy

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020