This tutorial will teach you the basics of form processing and email sending using php.
It first teaches you how to produce a html form and process it on the same page using php. Then it moves on how to send emails using php
One of the keys to running a good website, is allowing your visitors to contact you when they have a question or comment on your website. Yet, in this day of email harvesting and spam, how do you allow your website visitors to contact you, without exposing yourself to a deluge of unwanted vi*gra ads?
The answer? Use a form mailer! Click the link to read more about form processing scripts and how you can easily use them on your site. We also have an excellent form mailer that you could use on YOUR site.
Platform(s): Linux, Windows, FreeBSD, Mac OSX, Sun Solaris
A contact form or an email form is often a critical part of a website, in allowing users to contact you regarding one or more issues. This article aims to help you produce a secure contact form, and at the same time, try to reduce the amount of spam you will receive from it.
In this tutorial we will create a simple mailing system with PHP so users can send email through your website. We will include protection like checking for blank fields and making sure that the user email address is valid.
Ever wanted to know how to send basic text emails/Html emails and emails with attachments? In this tutorial you will learn how to send emails in text, html and with attachments.
This tutorial will show you how to send email in PHP. Firstly it'll go over the basics of how the Simple Mail Transfer Protocol (SMTP) works, then how to send email using PHP.
After that it will show you how to send HTML emails in PHP (instead of just plain text emails).
Finally, it will introduce you to an email class from the PEAR repository which will make your life much easier for sending emails, and allow greater functionality such as including attachments in your email.
Ever been spammed on from posting your email address on a website? Well, here's a method we like to use that prevents those web spiders from picking your users email up and spamming them.
Tired of sending those drab textual notifications and newsletters to your friend and clients? Ever wanted to send attachments and/or HTML embedded email. The answer is MIME. This article explains the basics of MIME, creating MIME-compliant messages and then ends with a working class implementation of sending MIME complaint email in PHP. Note that references to calling script, caller etc. denote the script that uses the class we are about to develop and client/MUA etc. denote a mail reading client or mail user agent.