# Want to edit php.ini to update Gmail SMTP but why i can't?

**URL:** <https://forum.infinityfree.com/t/want-to-edit-php-ini-to-update-gmail-smtp-but-why-i-cant/74143>\
**Category:** Hosting Support\
**Created:** [March 30, 2023, 12:07pm UTC](https://forum.infinityfree.com/t/want-to-edit-php-ini-to-update-gmail-smtp-but-why-i-cant/74143 "2023-03-30T12:07:29Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![KangJL](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/kangjl/32/12130_2.png) [@KangJL](https://forum.infinityfree.com/u/KangJL)\
**Post date:** [March 30, 2023, 12:11pm UTC](https://forum.infinityfree.com/t/want-to-edit-php-ini-to-update-gmail-smtp-but-why-i-cant/74143/2 "2023-03-30T12:11:37Z")

</div>

> [@anon48211908](#):
>
> How can i update SMTP for sending verification mail?

This?

> [@How to send email with Gmail SMTP](https://forum.infinityfree.com/t/how-to-send-email-with-gmail-smtp/49239/):
>
> Outgoing email with PHP mail() is heavily restricted on InfinityFree. Fortunately, you can still whatever email you want using an external email service. There are many external email providers to choose from. InfinityFree doesn’t restrict sending email with external providers. Almost all of them have paid plans, but some have free tiers too. Most of them support sending email over SMTP, some of them have custom APIs, libraries and plugins which you can use too. A simple way to get started qui…

> [@anon48211908](#):
>
> How to edit php.ini?

Not possible on free hosting

---

_[View the full topic](https://forum.infinityfree.com/t/want-to-edit-php-ini-to-update-gmail-smtp-but-why-i-cant/74143)._
