Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

197
Vistas
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 Respuestas
Responde la pregunta

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 Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda