microsoft / azure-devops-engineering-extensions

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

E-Mail "From" field is not available #42

Open Sonicsuperfly opened 4 years ago

Sonicsuperfly commented 4 years ago

E-Mails sent by the task have no sender email. How can i set it? In Outlook the sender is "unknown" (blank) and therefore the email is maked as spam by the anti-virus software. Because there is no sender email, i can not add it to the whitelist.

fahadash commented 3 years ago

Any update on this? We are blocked by this. Our SMTP server is rejecting messages without FROM addresses.

fahadash commented 3 years ago

I see where the problem is.

Instead of adding a FROM field into the Task configuration. Developer is assuming that the Username of the SMTP Configuration is an email address. In our case SMTP Username is not an email address.

https://github.com/microsoft/azure-devops-engineering-extensions/blob/647ff8a54804029b64f527bd60180c7ec4e1da10/Tasks/emailReportTask/model/viewmodel/MailAddressViewModel.ts#L19

TripleEmcoder commented 3 years ago

Guys, c'mon, this is a no-brainer. Add the setting or at least append "Default Domain for Addresses" to the username.

asultan80 commented 1 year ago

Can someone finally close this PR?! ASAP MailError: Error: Message failed: 550 MIME message is missing 'From' header