Sunday, 6 November 2016
PHP EMAIL FORM 000 WEB HOSTING
------------------------------------------------------------------------------------------------------------------
SOLVE SMTP ERROR PROBLEM:
READ MORE:
http://fbgadgets.blogspot.co.uk/2016/09/gmail-in-vb.html
PHP CONTACT FORM 000WEB HOSTING - YouTube
https://www.youtube.com/watch?v=Hh9iaAM0a7g
14 mins ago - Uploaded by SAVE MONEY
http://fbgadgets.blogspot.co.uk/2016/11/php-email-form-000-web-hosting.html.
------------------------------------------------------------------------------------------------------------------
BEFORE SEND MESSAGE
1) FIRST SOVLE SMTP PROBLEM
SMTP AUTHENTICATION EXCEPTION IN VB
2) IMAP ENABLED
3) CORRECT GMAIL ADDRESS IN CODE
4) CORRECT THIS GMAIL PASSWORD IN CODE
USEFUL IMAGES:
https://www.google.com/settings/security/lesssecureapps
https://mail.google.com/mail/u/0/#settings/fwdandpop
------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------
MUST BE LOG IN ACCOUNT 000WEBHOSTING FOR RUN PHP FILE
1) MAKE FILES HTML AND PHP
2) UPLOAD YOUR HTML AND PHP FILES IN 000WEB HOSTING
DIRECTORY FOLDER NAME public_html FOLDER
3) CHANGE GMAIL ADDRESS IN PHP FILE
---------------------------------------------------------------------------------------------------
Index.html
https://fbigadgets.000webhostapp.com/Index.html
https://fbigadgets.000webhostapp.com/send.php
---------------------------------------------------------------------------------------------------
<html>
<form action="send.php" method="POST">
Name: <br><input type="text" name="name"><br>
Request: <br><textarea name="request"></textarea><P>
<input type="submit" name="submit" value="Send!" />
</form>
</body>
send.php
---------------------------------------------------------------------------------------------------
<?Php
$name = $_POST["name"];
$request = $_POST["request"];
$to = "ayeshahttp@gmail.com";
$subject ="Tutorial Request";
$body = "This is an
automated message. Please don't reply this email. n\n $request ";
mail($to,$subject,$body);
echo "Message Sent ! <a
herf='index.html'>Click here </a> to another email"
?>
---------------------------------------------------------------------------------------------------
Subscribe to:
Post Comments (Atom)
Excellent information about php email form web hosting. If you are searching for hosting services in Europe then go for Europe VPS Server
ReplyDeleteThank you for sharing your thoughts and knowledge on this topic. Writing skill is very interesting keep share this type of articles. For more information and updates visit- Greece VPS Server
ReplyDeleteNice Blog and very informative... I read your blog, its best and useful information. You have done a good work. If you are interested to know server hosting you can select the best Malaysia Dedicated Server it offers an amazing hosting solution to users. Thanks.....
ReplyDeleteThanks For Sharing your great experience. I love your blog post because it's very helpful for me. And I also want to say that your post is easy to read and interesting if you want to your website host. Get now Netherlands VPS Server Hosting. you can ask us for more details and services.
ReplyDeleteThank you a lot for sharing your technological info. with us...Really impressed to see your blog... Wanna get a server hosting for your Website? Just go with Brazil Dedicated Server and experience the new technology features combined in this server.
ReplyDeleteAmazing and informative about php email from web hosting. If your are searching hosting services then go for Europe Dedicated Server
ReplyDeletehosting services.
ReplyDeleteYou always share something different from others this time you share VPS Hosting plans, Cloud VPS and windows Hosting plans information. If you are looking for fastest and cheapest Netherlands VPS Server you can ask us for more details and services.