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 / Can't seem to get my S...
Power Apps
Unanswered

Can't seem to get my SMPT to send emails

(0) ShareShare
ReportReport
Posted on by 34

I am trying to send emails using a button in my app, I have connected my SMPT to the app but it still will not send and is coming up with an error in the code, I am using MailGun as the SMTP and I have tried the following code:

 

SMTP.SendEmailV3({From:"email@outlook.com", To:"email1@outlook.com", Subject:"Enter email subject here", Body:"Enter email body here", IsHTML:false}

 

I have tried it with SMPT.SendEmailV2 and SMPT.SendEmail, however it still says that there is an error in the formatting, I was wandering if I missed something or there is an error in my code.

Categories:
  • timl Profile Picture
    37,422 Super User 2026 Season 2 on at

    @Melissa33 

    Apart from the missing closing bracket, this syntax looks correct to me.

    SMTP.SendEmailV3({From:"email@outlook.com", 
     To:"email1@outlook.com", 
     Subject:"Enter email subject here", 
     Body:"Enter email body here",
     IsHTML:false
     }
    )
    

    Perhaps you could post a screenshot of the error?

     

     

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 248 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 192 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 135

Last 30 days Overall leaderboard