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

getAsync for TO field in Compose mode returns empty array when manually entering email address #17

Closed
markb-trustifi opened this issue Oct 17, 2017 · 2 comments
Labels
Area: Outlook Issue related to Outlook add-ins

Comments

@markb-trustifi
Copy link

markb-trustifi commented Oct 17, 2017

Expected Behavior

return email address

Current Behavior

returns empty array when manually entering email address and not clicking enter, the address appears greyed.
returns correct value when selecting existing contact

Steps to Reproduce, or Live Example

  1. create new email
  2. manually print new address in TO field. Don't select from existing contacts and don't click enter!
  3. execute:
Office.cast.item.toItemCompose(Office.context.mailbox.item).to.getAsync(res => {
            if(res.status === Office.AsyncResultStatus.Succeeded) {
                    console.log('value: ', res.value);
           }
});

Your Environment

  • Platform: Mac
  • Host: Outlook
  • Office version number: 365
  • Operating System: El Capitane
  • Browser (if using Office Online): Chrome + Desktop Client
@sumurthy sumurthy added Area: Outlook Issue related to Outlook add-ins Type: product bug Bug in the Office Add-ins platform or Office JavaScript APIs labels Nov 15, 2017
@exextoc
Copy link
Collaborator

exextoc commented Nov 21, 2017

This is expected - the API only returns recipients after they are "resolved".

@JuaneloJuanelo JuaneloJuanelo added by design and removed Type: product bug Bug in the Office Add-ins platform or Office JavaScript APIs labels Jul 27, 2018
@JuaneloJuanelo
Copy link

closing this case as its by design.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Outlook Issue related to Outlook add-ins
Projects
None yet
Development

No branches or pull requests

4 participants