cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
sfairley69
Regular Visitor

Sending an email

Hello,

 

I'm trying to send a simple email test, with properties from a document library.  Name in the subject shows up just fine.  

 

What am I missing?
Captureemail.PNGemailresults.PNG

3 REPLIES 3
AlanPs1
Resident Rockstar
Resident Rockstar

Hi @sfairley69 , thank you for your post.

What issues are you experiening?

I can see your email is HTML enabled, you look to get values from dynamic data.

 

Are you saying there is nothing in the body perhaps? just the subject appearing?

 

If so, we'd need to look at what is reqturning from your SharePoint list for starters.

 

Please post the run details and pictures of your complete Flow and it will be easier to advise.

 

If you have found my post helpful, please mark thumbs up.

 

Any other questions, just ask.

 

Thanks, Alan

 


Did I answer your question? Mark my post as a solution!

Proud to be a Flownaut!


Hi @AlanPs1 

 

Yes the propeties are not showing up in the email from the document library.  (I deleted and added some fields.)

 

Here are the Document library.
DocLibrary.PNGflow1.PNGflow2.PNGEmailResults.PNG

Hi @sfairley69 , I have tested this and can see the same.

The best thing I can advise would be to go back to your successful Flow run, the one that generated the email and look at the JSON output of the "When a file is created (properties only)" action.

See mine below:Capture-544.png

At the bottom end of the action, you will see several blocks like this:Capture-545.png

The JSON for my "Created By" is the following:

{
  "@odata.type": "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedUser",
  "Claims": "i:0#.f|membership|alan@domain.co.uk",
  "DisplayName": "AlanPs1",
  "Email": "alan@awtechservices.co.uk",
  "Picture": "https://mytenant.sharepoint.com/sites/AlansContent/_layouts/15/UserPhoto.aspx?Size=L&AccountName=alan@domain.co.uk",
  "Department": null,
  "JobTitle": null
}

If any of your outputs are blank, this will be why they are blank in the email output.

 

Does this help you see why and give you  something to work with perhaps?

 

If you have found my post helpful, please mark thumbs up.

 

Any other questions, just ask.

 

Thanks, Alan

 


Did I answer your question? Mark my post as a solution!

Proud to be a Flownaut!


Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Users online (1,743)