7
votes
CS50 Web Programming Mail Pset - DOM reloading on every form submission
forms have a default of submission, if not specified destination , then to the link from which the get request(meaning from location, from where form came) . so just do event.preventdefault
- 73
4
votes
CS50w 2020 project3: mail does not show new sent mail after sending
This is probably not relevant to you anymore, but I had the same bug, and stumbled upon this question when googling, so it might help other people with this bug.
So you're calling load_mailbox('sent') ...
- 41
3
votes
CS50W - Mail - Python Timestamp Error?
So, this is what I might class a 'half answer'. I'm still not entirely sure why I was getting an error with the timestamp string being incorrectly formatted as the governing documentation for strftime ...
2
votes
CS50W - Mail - Python Timestamp Error?
I think it's because of how UNIX and Windows format their timestamps.
From https://strftime.org/:
The Python docs contain all the format codes that the C standard (1989 version) requires, and these ...
- 21
1
vote
CS50W - Mail - Python Timestamp Error?
I had that problem too! well I don't know why but in Windows I got same error but in Mac OS it runs without any problem...
You can fix it by replacing timestamp line with:
"timestamp": self....
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
mail × 10cs50-web-programming-with-python × 5
cs50w-project3 × 3
cs50w × 2
cs50web × 2
python × 1
javascript × 1
submissions × 1
github × 1