o4oren / Ad-Hoc-Email-Server

An ad-hoc disposable temporary mail server. Create and use ad hoc disposable mailboxes for testing or any other purpose.
Apache License 2.0
381 stars 92 forks source link

Unable to receive the email #67

Open agileselenium opened 2 years ago

agileselenium commented 2 years ago

Hi

I have configured the AHEM server and below are the details of the .env file

serverBaseUri= "http://10.135.10.125:3000" mongoConnectUrl= "mongodb://10.135.10.125:27017/" dbName= "ahem" appListenPort= 3000 smtpPort= 2525 emailDeleteInterval= 3600 emailDeleteAge= 86400 allowAutocomplete= true allowedDomains= "ahem.email" jwtSecret= "AH3M 709 S3cR3T" jwtExpiresIn= 3600 maxAllowedApiCalls= 1000

When I open the application with the following url http://10.135.10.125:2500 it's loading the homepage.

when i sent to email ex: testinginfo@ahem.email from my gmail account I'm not getting the any email. Can you please let me know is anything wrong with my settings? or do I need to add anything?

o4oren commented 2 years ago

ahem.email isn't your domain. There is no way the email will reach your server. You need ti set up the server to listen on oort 25 for smtp port, and have a dbs with mx record, or use the server ip directly. Its not about ahem, its how a mail server works.

On Wed, Mar 2, 2022, 19:47 Shankar Laggishetti @.***> wrote:

Hi

I have configured the AHEM server and below are the details of the .env file

serverBaseUri= "http://10.135.10.125:3000" mongoConnectUrl= "mongodb://10.135.10.125:27017/" dbName= "ahem" appListenPort= 3000 smtpPort= 2525 emailDeleteInterval= 3600 emailDeleteAge= 86400 allowAutocomplete= true allowedDomains= "ahem.email" jwtSecret= "AH3M 709 S3cR3T" jwtExpiresIn= 3600 maxAllowedApiCalls= 1000

When I open the application with the following url http://10.135.10.125:2500 it's loading the homepage.

when i sent to email ex: @.*** from my gmail account I'm not getting the any email. Can you please let me know is anything wrong with my settings? or do I need to add anything?

— Reply to this email directly, view it on GitHub https://github.com/o4oren/Ad-Hoc-Email-Server/issues/67, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFTF65SDZQ333FW32L2N5ZTU56SSNANCNFSM5PYFA6QA . You are receiving this because you are subscribed to this thread.Message ID: @.***>