Showing results for 
Search instead for 
Did you mean: 
Community Champion
Community Champion

SMTP Setting

Hi PG:


I tried using SMTP but having error with Port. Please advise. TQ


My Setting is for my gmail address:

1. SMTP Server address:

2. SMTP username: my full gmaill address (

3. SMTP password: my password

4. SMTP Server Port: 465

5. SSL: Yes


Screenshot (115).png

Advocate III
Advocate III



       Did you try to use with port "587". Please note google will be block if you access from PowerApps. Better use with test a/c instead of live or private a/c.





Community Champion
Community Champion




I had tried many different port no. including 587. All did not work out.

Yes, you are right that google sent to me several times to block if it wasn't me.


I will give up using SMTP as it will affect my default email.


Will PG describes the pros and cons of using different email setting, including the potential impact such as SMTP?

Luckily I can handle unforseen situation but it was lucky! Others may be affected.


Please make a note in RED if having impact in the Learn Tutorial, Please. TQ




      I got different error when i tested with gmail. Look like current smtp does not match gmail server security control. Event i disabled 2-step verification.


I used hotmail smtp, email is sent but PowerApps show the error.


SMTP.SendEmail({From:"", To:"", Subject:"Power Apps", Body:"PowerApps Issuing"})




Banned error from hotmail if we use smtp setup user name and "From:" name is different.



Looking answer from PowerApps Team.



Hi hpkeong,

If you want to send email in PowerApps, you could create the SMTP connection in the connection section. For more detailed information, you could refer to the articles below.


Google Apps SMTP settings to send mail from a printer, scanner, or app.

Best regards,

Sara Fan


Helpful resources

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

May UG Leader Call Carousel 768x460.png

June User Group Leader Call

Join us on June 28 for our monthly User Group leader call!

PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.


New Release Planning Portal (Preview)

Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.

Top Solution Authors
Users online (1,242)