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

facing error MailError: Error: getaddrinfo ENOTFOUND smtphost.***.corp.***.com in release build #37

Open
Nehagang opened this issue Mar 27, 2020 · 4 comments

Comments

@Nehagang
Copy link

Trying to send mail with smtp service connection in release build and getting
below error

Using HostName: smtphost.***.com and port: 587
2020-03-24T22:19:44.1030554Z MailError: Error: getaddrinfo ENOTFOUND

P.S. same connection works fine in Build.

@saikrishnav
Copy link
Member

Most likely the agent in question cannot access "smtphost**"
Was the release agent a Hosted agent?

@evdosych
Copy link

@saikrishnav @LeahSchwartz
I have the same problem. I use an agent job, in a release pipeline. The smtp URL, the port, username and password are correct.
Still, I get an error: MailError: Error: getaddrinfo ENOTFOUND

image

@madhavi-vasapalli
Copy link

@saikrishnav @LeahSchwartz I have the same problem. I use an agent job, in a release pipeline. The smtp URL, the port, username and password are correct. Still, I get an error: MailError: Error: getaddrinfo ENOTFOUND

image

Hi did you get answer to this? I am getting same error, how to resolve?

@RobDBob
Copy link

RobDBob commented Mar 14, 2022

Same problem in local testing. Would appreciate an update.

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

5 participants