2010-08-07, 09:57:27
martonos Wrote:Hi there,
i tried to make some customization for getting a "call me" - form. But it doens't send any email. Maybe because i deleted the captcha?
Would be awesome, if somebody could help me.
Thank you very much!
You can find the website here: http://solarshare.martonos.de
Ok when i fill the form in and press send i get the message
"Vielen Dank, wir haben ihren Rückrufwunschtermin erhalten.
Nachricht ausblenden »"
Which i am assuming is the success message
2 things to try
1) Instead of having a successmessage come up, set it so that it echos the variables
mail($sc_to, $_POST['sc_subject'], $message, $from);
$successmsg = "<p class=\"success\">sc_to = ".$sc_to." Subject = ".$_POST['sc_subject']."</p>";
Something like that anyway
2) otherwise try hardcoding the email address
$sc_to = "me@myaddress.com";
mail($sc_to, $_POST['sc_subject'], $message, $from);
also try using different email address just to make sure your emails aren't getting eaten by a spam filter somewhere