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
  Starting over with Python Mark17 1 487 Sep-29-2023, 07:16 PM
Last Post: Larz60+
  Understanding and debugging memory error crashes with python3.10.10 Arkaik 5 2,073 Apr-18-2023, 03:22 AM
Last Post: Larz60+
  Send email with smtp without using Mimetext mgallotti 0 707 Feb-01-2023, 04:43 AM
Last Post: mgallotti
  Python script with local libraries zazas321 0 967 Jul-05-2022, 04:55 AM
Last Post: zazas321
  Server Folder Error : WinError5 Access Denied fioranosnake 1 1,115 Jun-21-2022, 11:11 PM
Last Post: Larz60+
Shocked Help for COM server implementation ("Unspecified error" on Dispatch()) Alfalfa 2 3,462 Jul-25-2021, 01:36 AM
Last Post: Alfalfa
  How to take the tar backup files form remote server to local server sivareddy 0 1,895 Jul-14-2021, 01:32 PM
Last Post: sivareddy
  send email smtp rwahdan 0 1,784 Jun-19-2021, 01:28 AM
Last Post: rwahdan
  500 internal server error Nitil 1 2,878 May-01-2021, 06:16 PM
Last Post: snippsat
Big Grin New to python, starting from scratch Pythnoobvent1971 1 2,010 Apr-16-2021, 01:33 PM
Last Post: Yoriz

Forum Jump:

User Panel Messages

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