cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Anonymous
Not applicable

HTML Text Box + Image Attatchment on the same O365 command.

Hello guys, Im stuck in seting the HTML text box plus the image on the same email using the office 365...

The code for the HTML text box is this:

Office365.SendEmail("alexandre.choski@hotmail.com"; "Análise/Fechamento de Impacto CTD - " & Card_Ativo.Text &" " & Card_Prefixo.Text & " " & Card_SB.Text ; HTML_Analise.HtmlText ; {IsHtml: true })

 

And the code for the image using the add image control is this:

Office365.SendEmail("alexandre.choski@hotmail.com" ; "Teste Imagem" ; "teste imagem" ; {Attachments:Table({Name:"Anexo.jpg"; ContentBytes: Imagem_Analise.Image ; '@odata.type':""})})

 

The challenge is to get together those two in the same email. is that possible? I tried several ways but got a lots of errors on O365 command...

 

1 ACCEPTED SOLUTION

Accepted Solutions
v-zhta-msft
Level 8

Re: HTML Text Box + Image Attatchment on the same O365 command.

Hi @Anonymous,

 

There is the syntax of the function:2018_9_3_2.PNG

 

If you want to send the HtmlText and Image together in one email you can add the “Attachnments” and “IsHtml” in the curly braces after “Body”.

 

Here is the result:2018_9_3_3.PNG

 2018_9_3_4.PNG

 

zzzzz.jpg

 

Hope this helps you.

 

Regards,

Zheng

View solution in original post

2 REPLIES 2
v-zhta-msft
Level 8

Re: HTML Text Box + Image Attatchment on the same O365 command.

Hi @Anonymous,

 

There is the syntax of the function:2018_9_3_2.PNG

 

If you want to send the HtmlText and Image together in one email you can add the “Attachnments” and “IsHtml” in the curly braces after “Body”.

 

Here is the result:2018_9_3_3.PNG

 2018_9_3_4.PNG

 

zzzzz.jpg

 

Hope this helps you.

 

Regards,

Zheng

View solution in original post

Anonymous
Not applicable

Re: HTML Text Box + Image Attatchment on the same O365 command.

Thank you so much, worked perfectly!

 

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors (Last 30 Days)
Users online (4,675)