web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Sending email fails be...
Power Apps
Unanswered

Sending email fails because of microsoft email address

(0) ShareShare
ReportReport
Posted on by 583

I have an app that has worked for a long time. Now all of the sudden it is failing to deliver to a Microsoft address that I don't have in the list of emails. I keep the list of emails in an Excel sheet and they are pulled into the app based on a dropdown selection as well as a people picker combobox. It is adding the email address microsoft@powerapps.com into my list. Not at the beginning or end but in between other emails. Here is what happens when the button is selected.  

 

Mail.SendEmailV3(DataCardValue59.Text&","&Concat(DataCardValue35.SelectedItems,Mail&","),DataCardValue21.Text,HtmlText1.HtmlText,true,{filenames:DataCardValue26.Selected.Result&DataCardValue27.Selected.Result&DataCardValue28.Selected.Area&Now()&".jpeg",files:UploadedImage1.Image}))

 

And a couple days later I get an email that says the message was undeliverable because of the recipient microsoft@powerapps.com. It shows the email addresses and it shows this microsoft email as the second in line.

 

Anybody have any ideas why this is happening?

Categories:
  • TheRobRush Profile Picture
    11,128 Moderator on at

    I'd recommend putting two labels on your app temporarily. Then put

    DataCardValue59.Text

    in one of them, and

    Concat(DataCardValue35.SelectedItems,Mail&",")

     in the other and see if you cannot narrow down where the issue is coming from

  • StephenGW Profile Picture
    583 on at

    @TheRobRush 

     

    Sorry, I should have put. I put one label and placed the whole thing in there and it only shows the emails in my list and does not include the microsoft email address.

     

    DataCardValue59.Text&","&Concat(DataCardValue35.SelectedItems,Mail&",") returns only my list plus an extra comma at the end if the CB is empty.

  • StephenGW Profile Picture
    583 on at

    Problem appears to be with the empty CB, if I fill that in then it sends. I will have to play around with this and see how I can exclude the extra comma and empty CB.

  • TheRobRush Profile Picture
    11,128 Moderator on at

    would you try typing this and see if it fixes your issue

     

    Concat(DataCardValue35.SelectedItems,Mail,", ")

     

  • StephenGW Profile Picture
    583 on at

    @TheRobRush 

     

    I tried switching to this DataCardValue59.Text&","&Concat(DataCardValue35.SelectedItems,Mail,",") and some people are getting the emails but some are not. I removed all groups so it is only individual emails and it is still not working properly.

     

    I went a step further and removed the CB from the whole thing down to only this Mail.SendEmailV3(DataCardValue59.Text and I am still not getting the emails but some are.

  • TheRobRush Profile Picture
    11,128 Moderator on at

    the updated version i sent you was just to get rid of your blank at end form a blank combobox. as for mail not reaching its targets, try sending an email to yourself with DataCardValue59.Text in the body and see if it leaves any of the data out maybe? If they are all there then if any of these emails are not internal, their server could just be blocking your delivery address. I know of some places that auto block stuff from hotmail, so could see it happening from microsoft servers. If they are all internal I am not sure what could be happening to you, as I email out tons of stuff via powerapps daily and do not experience this issue.

  • TheRobRush Profile Picture
    11,128 Moderator on at

    the updated version i sent you was just to get rid of your blank at end form a blank combobox. as for mail not reaching its targets, try sending an email to yourself with DataCardValue59.Text in the body and see if it leaves any of the data out maybe? If they are all there then if any of these emails are not internal, their server could just be blocking your delivery address. I know of some places that auto block stuff from hotmail, so could see it happening from microsoft servers. If they are all internal I am not sure what could be happening to you, as I email out tons of stuff via powerapps daily and do not experience this issue.

  • TheRobRush Profile Picture
    11,128 Moderator on at

    Curious, have you tried using Office365.SendEmailV2() tool instea of the generic Mail()? It would probably be less likely to be bounced by servers if that is issue

  • StephenGW Profile Picture
    583 on at

    @TheRobRush 

     

    I think it was an issue with the groups and I needed to refresh the data source. This is the one I ended up using and it appears to be working now. I can't use the Outlook connector because of exchange server emails or something.

     

    Thanks for your help!

  • mhoward Profile Picture
    8 on at

    Same issue here. We have three flows run every Monday morning, gathering data and sending out emails with attachments.

     

    Today the emails did not arrive, but each of the flows show successful completion. Sending via Email Notification V3, so the emails are coming from microsoft@powerapps.com

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 381 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 340

#3
WarrenBelz Profile Picture

WarrenBelz 187 Most Valuable Professional

Last 30 days Overall leaderboard