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
secondImage

New Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

Experience what’s next for Power Apps

Join us for an in-depth look at the new Power Apps features and capabilities at the free Microsoft Business Applications Launch Event.

Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response 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,461)