Error message: "Parse error: syntax error, unexpected '@' in /home/dating8/public_html/newland/messagesent.php on line 2"
Severen er SMTP email-enabled og biblioteket på serveren har tilladelse til at sende SMTP mails.
Svaret fra min host Inmotion: "Please ensure your scipt has the SMTP information specifically in it so it is passing the properly directives. Any scripts executing on the server should be permissions of 755 as should the directory they are located in generally."
Mit spørgsmål: Hvordan får jeg SMTP informationen med i koden, som min host skriver?
$to = "yyy@xxx.dk"; $subject = "Test fra yyyy@xxx.dk"; $body = "Dette er en test mail"; $headers = "From: yyy@xxx.dk\n"; mail($to,$subject,$body,$headers);
Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.