cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
fcarvalho
Level: Powered On

Office 365 Connector Send as

Hi,

 

I've one question regarding office 365 connector.

I created an e-mail account to be the one as send e-mails on powerapps, and then I connect this e-mail account in power apps data sources:

 

1.jpg

 

My next step was create a button with this code:

 

Office365.SendEmail(
          DataCardValue11.Text;

           "text.....";

           {Importance: Normal; Cc: User().Email &";"& DataCardValue6.Text ; IsHtml:true}
)

 

This works great. My only concern is that this app is used by other people, and the sender is always the e-mail account of the people instead of the e-mail I had created.
I know that when people open the app it asks the e-mail account who have to be used. It is possible do this work only with the data source from outlook 365 that I had created before?

I tried to add the "From" option in my code, it will not work too, 'cause this people don't have direct access to this e-mail account.

 

Regards,

Flávio

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Office 365 Connector Send as

Hi fcarvalho,

 

It should be a default behavior. I assume that you have shared the app with other people, when other people run the app on their side, they will be asked to create their own connection.


Once the connection is creatd, the app will be based on their own Office 365 Outlook connection, so an email will be sent using their email account.

 

Best regards,
Mabel Mao

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
Community Support Team
Community Support Team

Re: Office 365 Connector Send as

Hi fcarvalho,

 

It should be a default behavior. I assume that you have shared the app with other people, when other people run the app on their side, they will be asked to create their own connection.


Once the connection is creatd, the app will be based on their own Office 365 Outlook connection, so an email will be sent using their email account.

 

Best regards,
Mabel Mao

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Highlighted
fcarvalho
Level: Powered On

Re: Office 365 Connector Send as

Hi @v-yamao-msft,

 

That's exactly what happens.Thank you for the clarification.

I assume the only solution is to use Microsoft Flow.

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
Users Online
Currently online: 269 members 6,883 guests
Please welcome our newest community members: