Hi, I want to send an image in the body of Gmail, I have tried the base 64 method, but it works with Outlook only which is no good as I need it with Gmail.
I have been using different methods that there are in different UiPath forums but none of them works because, in the organization where I work, I can’t use client id and client secret as connectors but the Integration Service of UiPath.
I used the Use Gmail activity and it works without problem but when I publish the project in the orchestrator I get the following error ‘Connection is using activities built before 22.10 and they can be customised only form studio, at design time’
You can use an HTML body to insert an image with a link in your email using the following example:
" + strBodyMail + "
strBodyMail**: The main body of the email.
strUrlImage**: The URL of the image you want to display in the email body.
In this example, the image is hosted on Google Drive. Make sure the image is publicly accessible and doesn’t have any restrictions.
To use an image from Google Drive, use the following URL format: https://drive.google.com/uc?id=IdImage
Replace the placeholder "IdImage" with your actual image ID from Google Drive.