outlookeml

Outlook doesn't resolve names from EML


I'm currently building an EML file and have my web application send it to the user's Outlook.

The issue is that it doesn't resolve the names specified in the TO/CC accordingly (ex. John Doe). Users have to manually edit all the names for them to work.

Noting that if the same name not resolved through the EML was to be typed manually, it would resolve without any problems. If names are specified as emails, those work as expected too.

Is there a way to improve how Outlook resolves names when using an EML file?


Solution

  • If you open an unsent EML file in Outlook and hit Ctrl+K, it will attempt to resolve the names.Other than that, there is no magic - if you cannot provide an SMTP address when you build the EML file on a server, Outlook will try to resolve the name only if the user explicitly asks to do that.

    To show the message as unsent (draft), you need to include X-Unsent: 1 MIME header .