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
Highlighted
Resolver II
Resolver II

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
Highlighted
Resolver II
Resolver II

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

Highlighted
Anonymous
Not applicable

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

Thank you so much, worked perfectly!

 

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Find your favorite faces from the community presenting at the Power Platform Community Conference!

Watch Now

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (8,875)