cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Kollenel26
Frequent Visitor

Sending PDFs as attachments in outlook mail form SQL using powerapps

Is there any way of sending a pdf which is stored in a SQL varchar(max) column as an email attachment from powerapps without using Azure Blob Storage?

1 ACCEPTED SOLUTION

Accepted Solutions
a-ovbord
Microsoft
Microsoft

Hi @Kollenel26,

 

It's a bit tricky but doable.

 

Here are the steps I would do:

- install an on-premise data gateway on your SQL server

- in your Power App add the SQL Server connector using the gateway details

- once the connection is added select the table

- bind the table to a combo box or gallery

- add the Office 365 Outlook connector

- add a button

- on the OnSelect property of the button add something like:

Office365.SendEmail("destination email","email title",ComboBox1.SelectedItems)

 

Hope this helps,

Ovidiu 

View solution in original post

1 REPLY 1
a-ovbord
Microsoft
Microsoft

Hi @Kollenel26,

 

It's a bit tricky but doable.

 

Here are the steps I would do:

- install an on-premise data gateway on your SQL server

- in your Power App add the SQL Server connector using the gateway details

- once the connection is added select the table

- bind the table to a combo box or gallery

- add the Office 365 Outlook connector

- add a button

- on the OnSelect property of the button add something like:

Office365.SendEmail("destination email","email title",ComboBox1.SelectedItems)

 

Hope this helps,

Ovidiu 

View solution in original post

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

PA Community Call

Power Apps Community Call

Next call is happening on April 21st at 8a PST.

MBAS Carousel

Sign up for our May 4th event!

May the fourth be with you, join us online!

secondImage

Experience what’s next for Power Apps

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

Top Solution Authors
Top Kudoed Authors
Users online (44,096)