microsoft / azure-devops-engineering-extensions

AzureDevOps marketplace extension that contains various engineering oriented Pipeline tasks
MIT License
19 stars 19 forks source link

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

Open Nehagang opened 4 years ago

Nehagang commented 4 years ago

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 commented 4 years ago

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

evdosych commented 3 years ago

@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 commented 2 years ago

@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 commented 2 years ago

Same problem in local testing. Would appreciate an update.