Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

201
Visualizações
How to get rid off from angle brackets in ethernet outlook if I am adding emails by API call?

I have question. After adding my add-in to online outlook what auto adds emails from sidebar. Emails have extra naming in their names. For example: email: example@example.com
in cc field will be - example@example.com<example@example.com>

Question is why outlook added this extra <example@example.com> stuff to email? How to remove them if I am adding them by api calls?

emails with extra less than symbol

I am using office.app.js in my add-in just in case

function _getMailItem() {
            return Office.context.mailbox.item;
 }

function addRecipientPortion(listName, emails) {
            var deferred = $q.defer();
            var mailItem = _getMailItem();
            var recipientList = mailItem[listName];

            recipientList.addAsync(emails.slice(0, 100), function (asyncResult) {
                if (asyncResult.error) {
                    deferred.reject(asyncResult.error);
                } else {
                    deferred.resolve();
                }
            })

            return deferred.promise;
        }

emails acording documentation must be array of string but if they are it rises error.

if emails are in this format it works fine but it did not work in desktop outlook

email format what works aka array of objects

about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

Long story short you can not. The bug was that in Desktop outlook need to add extra prm(displayName) to the object what contain email (before that it contained only emailAddress prm).

BE AWARE!
If emailAddress and displayName have same values then in online outlook the email will be in triangle brackets. Like so - my@email.com<my@email.com> emails in online outlook with triangle brackets

about 4 years ago · Juan Pablo Isaza Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda