FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


Sending email via PHP





rms230
how do i send data in a form via PHP
DanielXP
use the mail funtion

mail($to, $subject, $body, "From: $email_field\r\nReply-to: $email_field\r\n")
cambridge
firs of all, rtfm: http://pl2.php.net/function.mail

as to the:
DanielXP wrote:
use the mail funtion

mail($to, $subject, $body, "From: $email_field\r\nReply-to: $email_field\r\n")


this is not enough. remember to add full mail headers: MIME-Version, Content-type and so on.

you can also send html mail (with proper headers!)
Related topics
[PHP] Running Cron Jobs Via PHP Script
Envoi de mail via PHP sur frihost
How to upload a file via html-form and php?
sending email to multiple users.
emailing Via PHP
Ca't retreive email via webmail (Fatal error:Allowed memory)
DEBUG MODE?
Email Using PHP
Create Web forms,Email forms,PHP forms for free
Email Account Creation & Thunderbird
Hammy's Interesting Thread of Interesting!
PHP Sending Attachment Email
php mail function not sending email to Yahoo address
Can ASP be used with XAMPP?
Reply to topic    Frihost Forum Index -> Scripting -> Php and MySQL

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.