Questions tagged [mail]
The mail tag has no usage guidance.
10
questions
0
votes
0
answers
15
views
CS50W - Mail : JavaScript function only working on Chrome
I have an issue with my compose_email function :
function compose_email() {
// Show compose view and hide other views
document.querySelector('#emails-view').style.display = 'none';
document....
0
votes
0
answers
36
views
Getting error when sending form data via API
I am working on send_mail function
I am getting the following error while sending the form data
Bad Request: /emails
"POST /emails HTTP/1.1" 400 60
Here is my code
document.addEventListener('...
0
votes
1
answer
58
views
How to access foreign key in fetch query? (CS50W Mail)
I want to access the actual ID of the sender, right now I can only access the email of the sender.
This is the Javascript
fetch(`/emails/${id}`)
.then(response => response.json())
.then(email =&...
0
votes
1
answer
75
views
CS50W Email - Problem setting .innerhtml to "" due to elements displaying as "null"
I have a problem resetting the content for the divs in the view where I show a single email. For some reason the divs console.log out as "null", while the parent element for some reason ...
0
votes
1
answer
251
views
CS50Web - Not Sending Emails
I just started with the Mail project for CS50Web and came across a really strange problem.
Currently, I'm working on the part where I need to send an email. My algorithm for this is simple:
Add event ...
0
votes
2
answers
949
views
Mail CS50 Web - How to Send Email (API not working)
I'm very new to Javascript and working on mail, project 3 for CS50 web.
I've been working on just sending the email initially, for about a week and I'm getting very discouraged. I can't seem to get ...
1
vote
3
answers
272
views
CS50W - Mail - Python Timestamp Error?
Per the problem set, I've not changed any of the Python that's included within the problem set for 'Mail'. I've only been tweaking with the JS and the HTML thus far. That's not to say my JS is ...
0
votes
1
answer
97
views
Incorrect Directory Structure on github - Submission rejects
I am at my wits end aftering trying to find a solution to this however since this is more of a CS50 specific issue I haven't been able to find an answer.
I was submitting Project 3 - Mail on Github ...
1
vote
1
answer
708
views
CS50w 2020 project3: mail does not show new sent mail after sending
I am almost finished with project 3: mail of CS50w 2020. The only problem is that when I send a new mail to someone the sent page loads without showing the new mail I just sent. I added
event....
1
vote
1
answer
282
views
CS50 Web Programming Mail Pset - DOM reloading on every form submission
On the mail pset the inbox page loads as default whenever the DOM is loaded. Whenever I submit my form to send an email the DOM is reloaded and inbox pops up. I'm trying to get the sent mailbox to pop ...