NeZDev
June 5, 2023, 10:09am
1
Website URL
(http://astrateam.rf.gd )
Error Message
I have such a problem that I’m trying to make a form to send feedback and there are no errors, but the form is not displayed
languages (website with form .html, submit page .php)
Other Information
Does the free hosting plan support sending the form to the mail (mail)
Hi and welcome to the forum! Free hosting supports sending emails through forms, but the mail()
function is heavily restricted. So you’ll have to use PHPMailer with Gmail’s SMTP server or whichever SMTP server you want to use; here are two KB articles (which the other two down below posted as well):
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…
The most common way to send email from your website is by using the PHP mail() function. PHP mail() is an easy to use email system built into the PHP programming language. It’s the default setting for almost all applications.
However, PHP mail is severely restricted on InfinityFree. To prevent spam and other abuse, most messages sent through PHP mail are rejected by the mail system. In practice, this means you cannot use PHP mail on InfinityFree to send your email.
If you want to send email fr…
4 Likes
php mail is restricted on free hosting, click the link below for information and a workaround using gmail / other external mail service
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…
4 Likes
system
Closed
June 12, 2023, 10:15am
5
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.