//Enter your email address
$sendto = "you@email.com";
//Enter the page you want your visitor redirected to after sending email (if none set to your index or contact page)
$sendsite = "http://www.yoursite.com/sent.html";
//This can be altered, but it is not neccesary
//Enter your thank you message here;
$thanku = "Thanks for your interest in $sitename\nYour email has been sent and will be answered as soon as possible";
//Thank you email footer
$thankend = "\nBest Regards\n\n$sitename\n$sendto\n$url\n\nYou wrote the following to $sendto:
\n\n$header\n$text\n";
Wizz > I den koden du visar skickas aldrig något mail. Antingen är det flera filer som ingår i scriptet eller så har du helt enkelt missat en del. Du måste visa mer kod för att det här ska gå att lösa. :)
<?php
//Change the following
//Enter your site URL here
$url = "http://www.yoursite.com";
//Enter the URL to the folder where the scripts reside
$site = "http://www.yoursite.com/scripts";
//Enter your sitename here
$sitename = "Name of [url]www.yoursite.com[/url]";
//Enter your email address
$sendto = "you@email.com";
//Enter the page you want your visitor redirected to after sending email (if none set to your index or contact page)
$sendsite = "http://www.yoursite.com/sent.html";
//This can be altered, but it is not neccesary
//Enter your thank you message here;
$thanku = "Thanks for your interest in $sitename\nYour email has been sent and will be answered as soon as possible";
//Thank you email footer
$thankend = "\nBest Regards\n\n$sitename\n$sendto\n$url\n\nYou wrote the following to $sendto:
\n\n$header\n$text\n";
php?>
Är inte så bra på headers och sånt, men jag vet iaf att en felaktig header kan spökatill det så mailen inte kommer fram, och du anger ju bara header i mailetsom skickas till mottagaren men inte till den som får bekrärftelsen, TESTA
I delen där du skickar mail till dig själv så sätts den andras epostadress som avsändare, testa att ändra så du står som avsändare. Skriv sen om det gjorde någon skillnad.