Need Help - Mail function smtp

This is where you share YOUR scripts with others

Moderators: egami, macek, gesf

Post Reply
User avatar
php-forum GURU
php-forum GURU
Posts: 2192
Joined: Wed Oct 06, 2010 11:19 am
Location: Happy Valley, UT

Wed Nov 02, 2011 10:43 am

Aso.. mein Deutsch ist leider ganz schlecht, aber vieleicht Ich kann ein bissien hilfe geben..

Ich mache dis dingie auf English.

First of all, $_REQUEST should be either _POST or _GET, depending on how you have your form set up. Relying on Request is marginal.

use the following

IF mail($to,$subject,$message,$headers) {
echo "Mail sent successfully...";
} else {
echo "Mail not sent. There was an error. Check your error logs or figure out how to have the MAIL error displayed on THIS SCREEN.";

New php-forum User
New php-forum User
Posts: 8
Joined: Thu Nov 10, 2011 2:36 pm

Thu Nov 10, 2011 2:42 pm

Many good examples are available thru Google "php contactformulier"

This one ... mulier/12/
contains only a little bit af dutch language but it should not be a problem.

Works immediately after changing the e-mail address

Post Reply