UiPath Documentation
activities
latest
false
Importante :
Este contenido se ha localizado parcialmente a partir de un sistema de traducción automática. La localización de contenidos recién publicados puede tardar entre una y dos semanas en estar disponible.

Actividades de productividad

Reenviar correo electrónico

UiPath.Mail.Activities.Business.ForwardMailX

Descripción

Importante:

La nueva versión de la aplicación Outlook afecta a esta actividad. Para obtener más información, consulta Nuevo impacto de Outlook en las actividades de UiPath Outlook Desktop.

Reenvía el correo electrónico o la invitación especificados. Debe utilizarse para el correo electrónico o la invitación actualmente seleccionados en la aplicación de escritorio de Outlook, o en una actividad Para cada correo electrónico al iterar a través de correos electrónicos de Gmail o Outlook. Esta actividad debe añadirse dentro de una actividad Usar Outlook 365, Usar Gmail o Usar la aplicación Outlook de escritorio .

Importante:

Es posible que los correos electrónicos HTML no se vean como se espera cuando se utiliza la actividad Usar aplicación Outlook de escritorio . Se recomienda utilizar un documento de Word para el cuerpo .

Configurar la actividad

Panel del Diseñador

  • Email - Select Plus on the right side of the field and then, from the menu, select the email to forward. When the activity is inside a For Each Email activity, select CurrentMail to indicate the current mail in the iteration. When automating the Outlook desktop app, you can also select Selected Mail to use the message that is selected in Outlook when the project is executed. Alternatively, you can select Open in Advanced Editor and enter a VB expression.

  • Add To recipients - Select Plus on the right side of the field, and then use one of the options in the menu to select where to forward the email:

    • Datos del Manual del proyecto, de un archivo de Excel principal o de una cuenta de correo electrónico. Por ejemplo, puede seleccionar una celda de un archivo de Excel que contenga direcciones de correo electrónico separadas por punto y coma (;) para añadir varios destinatarios o, al automatizar la aplicación de escritorio de Outlook, utilizar las direcciones de correo electrónico del campo Para del correo electrónico seleccionado en Outlook cuando se ejecute el proyecto.
    • Utilizar valor guardado: utilice los datos en forma de lista de direcciones de correo electrónico que haya guardado previamente para su posterior uso en el proyecto.
    • Text - Enter one or more email addresses separated by semicolon (;) in the Text Builder.
    • Preguntar al ejecutar: solicita los destinatarios cuando se ejecuta el proyecto.
    • Pegar del portapapeles: pega en el proyecto una dirección de correo electrónico que haya copiado previamente en el portapapeles.
    • Open in Advanced Editor - Enter a VB expression.
  • Add Cc recipients - Select Plus on the right side of the field, and then use one of the options in the menu to select the secondary recipients of the email:

    • Datos del Manual del proyecto, de un archivo de Excel principal o de una cuenta de correo electrónico. Por ejemplo, puedes seleccionar una celda de un archivo de Excel que contenga direcciones de correo electrónico separadas por punto y coma (;) para añadir varios destinatarios o, al automatizar la aplicación de escritorio de Outlook, utilizar las direcciones de correo electrónico del campo Cc del correo electrónico seleccionado en Outlook cuando se ejecute el proyecto.
    • Utilizar valor guardado: utilice los datos en forma de lista de direcciones de correo electrónico que haya guardado previamente para su posterior uso en el proyecto.
    • Text - Enter one or more email addresses separated by semicolon (;) in the Text Builder.
    • Preguntar al ejecutar: solicita los destinatarios cuando se ejecuta el proyecto.
    • Pegar del portapapeles: pega en el proyecto una dirección de correo electrónico que haya copiado previamente en el portapapeles.
    • Open in Advanced Editor - Enter a VB expression.
  • New subject - Optionally, you can add a new subject for the email. If a new subject is not provided, the default Outlook subject for forwarded emails is used. Select Plus on the right side of the field and then use one of the options in the menu to add a subject for the email:

    • Datos del Manual del proyecto, de un archivo de Excel principal o de una cuenta de correo electrónico. Por ejemplo, puede seleccionar una celda de un archivo de Excel o, al automatizar la aplicación de escritorio de Outlook, puede utilizar el asunto del correo electrónico seleccionado en Outlook cuando se ejecute el proyecto.
    • Use Saved Value - Use data that you previously saved for later use in the project.
    • Text - Enter a subject in the Text Builder.
    • Preguntar al ejecutar: solicita el asunto cuando se ejecuta el proyecto.
    • Pegar del portapapeles: pega en el proyecto un valor que se ha copiado previamente en el portapapeles.
    • Open in Advanced Editor - Enter a VB expression.
  • Body - You can add a plain text body, use HTML, or select a Word document to add the file in the email body.

    • If you select HTML, select Open Editor to start drafting your email using the WYSIWYG HTML editor.

    • If you select Text, select Plus on the right side of the field, and then select one of the options from the menu to add the text for the body of the email:

      • Datos del Manual del proyecto, de un archivo de Excel principal o de una cuenta de correo electrónico.
      • Use Saved Value - Use data that you previously saved for later use in the project.
      • Text - Enter the body text in the Text Builder.
      • Preguntar al ejecutar: solicita el texto del cuerpo cuando se ejecuta el proyecto.
      • Pegar del portapapeles: pega en el proyecto un valor que se ha copiado previamente en el portapapeles.
      • Open in Advanced Editor - Enter a VB expression.
    • Si selecciona Usar documento de Word, indique un documento de Word con tablas, imágenes. formato de texto para añadir en el cuerpo. El cuerpo del correo electrónico tiene formato HTML.

    Select Browse next to the field, and then browse to a Word file and select it. Alternatively, you can indicate the path to a Word file by selecting an option from the Plus menu on the right side of the field: * Data from the Project Notebook, a parent Excel file or email account. For example, you can select a cell in an Excel file that contains a path. * Use Saved Value - Use data in the form of a file path that you previously saved for later use in the project. * Text - Enter a path in the Text Builder. * Ask when run - Prompt for the path when the project is executed. * Paste from clipboard - Paste a value that you previously copied to the clipboard in the project. * Open in Advanced Editor - Enter a VB expression.

    :::note
    * The option **Use Word Document** can only be used with the Outlook desktop app.
    * If the Word document you select contains pictures, some of the pictures may not appear in the body of the email that is sent. If a picture fails to appear in the email body, try one of the following workarounds:
    + Open the Word document, remove the picture, and then add the picture again.
    + Change the extension of the Word document to `.zip`, extract the archive, open the file **document.xml** located in the folder **word**, search for the attribute **r:link**, and remove it (for example, `r:link="rId11"`). Save the file, then zip the extracted files again and change the extension back to .`docx`.
    :::
    :::note
    * The option **Use Word Document** can only be used with the Outlook desktop app.
    * If the Word document you select contains pictures, some of the pictures may not appear in the body of the email that is sent. If a picture fails to appear in the email body, try one of the following workarounds:
    + Open the Word document, remove the picture, and then add the picture again.
    + Change the extension of the Word document to `.zip`, extract the archive, open the file **document.xml** located in the folder **word**, search for the attribute **r:link**, and remove it (for example, `r:link="rId11"`). Save the file, then zip the extracted files again and change the extension back to .`docx`.
    :::
    
    • Guardar como borrador: si se selecciona, el correo electrónico se guarda en la carpeta Borradores en lugar de enviarse directamente a los destinatarios seleccionados, lo que le da la oportunidad de revisar el correo electrónico antes de enviarlo. Esta opción está seleccionada de forma predeterminada.
  • Attachments - Select Files to attach individual files or Folder to attach all the files in a folder. To select the file or folder, select Browse docs image next to the field, and then browse to the file or folder and select it. Alternatively, you can indicate a file or folder path by selecting an option from the Plus menu on the right side of the field:

    • Datos del Manual del proyecto, de un archivo de Excel principal o de una cuenta de correo electrónico. Por ejemplo, puede seleccionar una celda en un archivo de Excel que contenga una ruta.
    • Use Saved Value - Use data in the form of a path that you previously saved for later use in the project.
    • Texto: introduzca una ruta en el Creador de texto. Puede combinar texto con una fórmula procedente de una celda de un archivo de Excel, por ejemplo, para agregar una fecha al nombre del archivo usando fórmulas en el Manual del proyecto.
    • Preguntar al ejecutar: solicita la ruta cuando se ejecuta el proyecto.
    • Pegar del portapapeles: pega en el proyecto un valor en forma de ruta que se ha copiado previamente en el portapapeles.
    • Open in Advanced Editor - Enter a VB expression.

Panel de propiedades

Común
  • DisplayName - The name displayed for the activity in the Designer panel.
Correo electrónico
  • Body - The plain text body of the email, if Text is selected as the body type.
  • Body document path - The path to the Word document to use as the body of the email, if WordDocument is selected as the body type.
  • Nuevo asunto : consulta Nuevo asunto en el cuerpo de la actividad.
Entrada
  • Correo electrónico : consulta Correo electrónico en el cuerpo de la actividad.
Otros
  • Privado : si se selecciona, los valores de las variables y los argumentos ya no se registran en el nivel Detallado.
Opciones
  • Tipo de cuerpo : consulta Cuerpo en el cuerpo de la actividad.
  • HTML body from file - Specifies the HTML body of the email created using the HTML editor.
  • HTML Template - Document which stores the HTML template. When blank, a new template will automatically be created when you use the editor.
  • HTML body from text - Specifies the HTML body of the email loaded from a different source and saved as text.
  • Tamaño máx. del cuerpo del documento: el tamaño máximo (en MB) que puede tener un documento de Word para utilizarse como cuerpo del correo electrónico. El valor predeterminado es 2 MB.
  • Guardar como borrador : consulta Guardar como borrador en el cuerpo de la actividad.
Receptor
  • Añadir destinatarios Bcc : añade destinatarios ocultos del correo electrónico de forma similar a como se añaden los destinatarios Para y Cc .
  • Añadir destinatarios Cc : consulta Añadir destinatarios Cc en el cuerpo de la actividad.
  • Añadir a destinatarios : consulta Añadir a destinatarios en el cuerpo de la actividad.
Emisor
  • Enviado en nombre de: otro usuario con acceso al buzón en cuyo nombre se va a enviar el mensaje. Indique el usuario de forma similar a como indica un destinatario en Para o Cc.
  • Descripción
  • Configurar la actividad
  • Panel del Diseñador
  • Panel de propiedades

¿Te ha resultado útil esta página?

Conectar

¿Necesita ayuda? Soporte

¿Quiere aprender? UiPath Academy

¿Tiene alguna pregunta? Foro de UiPath

Manténgase actualizado