Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Internal server error #6

Closed
thamerla opened this issue Jan 28, 2019 · 17 comments
Closed

Internal server error #6

thamerla opened this issue Jan 28, 2019 · 17 comments

Comments

@thamerla
Copy link

While calling https://www.ahem.email/api/mailbox/tester123:
"error": "Error | Cannot find module 'html'"

@o4oren
Copy link
Owner

o4oren commented Jan 31, 2019

It means you are not running from the root of the project and the path to the distance folder is wrong.

@erm3nda
Copy link

erm3nda commented Feb 24, 2019

@NonyY
same problem, check this: #4

@bhargavi6776
Copy link

bhargavi6776 commented May 27, 2019

Hi @o4oren and @quoctru99 I followed the same instructions mentioned. I edited the properties file to according to my requirement. But still, I am unable to receive an email to the mail I mentioned.
image

@o4oren
Copy link
Owner

o4oren commented May 27, 2019 via email

@bhargavi6776
Copy link

@o4oren I am using windows not Linux and I am using default setting as mentioned in Git.
NodeJS and MongoDB installed and following as these steps https://www.ahem.email/blog/post/how-to-set-up-your-own-disposable-email-server

@o4oren
Copy link
Owner

o4oren commented May 27, 2019 via email

@bhargavi6776
Copy link

bhargavi6776 commented May 27, 2019

@o4oren Yes, I kept it is 25 but still I am unable to receive the mail. After connecting to the mongodb on this port it is still showing waiting for the connection
image. I guess this is the problem how can I solve this?

@o4oren
Copy link
Owner

o4oren commented May 27, 2019

What is this log? It looks like a mongodb log, not the ahem server log....

@bhargavi6776
Copy link

I created my domain and I logged in with some random name it is giving "404"
image

@bhargavi6776
Copy link

@o4oren If I try working with API it is giving me this error. Please help me with this.

image

@o4oren
Copy link
Owner

o4oren commented May 27, 2019 via email

@bhargavi6776
Copy link

@o4oren what about the above screenshot even when I tried to check the mail is up or not it is still showing 404

@o4oren
Copy link
Owner

o4oren commented May 28, 2019 via email

@bhargavi6776
Copy link

Okay, if I sent mail to test123@mydomain.com then if I go and check in the mailbox I should get a mail right?

@o4oren
Copy link
Owner

o4oren commented May 28, 2019

You can try calling:
[server address]/api/alive
It should respond with something like:
{"success":true,"api":true,"smtp":true,"db":true}
Which means api server responded, smtp server responded and managed to receive an email, and db connection succeeded.
Then browse to [server address]/mailbox/alive-test and you should see an email there.
This will mean all is working fine with the ahem server. It managed to send (it can only send internally to itself), receive and store an email.
And its a proof that your problem is that emails from wherever you are sending emails cannot reach the ahem server...

@bhargavi6776
Copy link

@o4oren So, I can't send mail from other domains like Gmail to my created domain?

@o4oren
Copy link
Owner

o4oren commented May 28, 2019 via email

@o4oren o4oren closed this as completed Oct 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants