#8
Tilrettet kode iflg. din anvisning:
<?php
$to = "yyy@yyy.dk";
$subject = "Emne";
$message = "<html><body>Indhold<br></body></html>\r\n";
$headers = "From: xxx@xxx.dk\r\n";
$headers .= "Reply-To: xxx@xxx.dk\r\n";
$headers .= "Return-Path: xxx@xxx.dk\r\n";
$headers .= "X-Mailer: PHP\r\n";
$headers .= "Content-Type: text/html; charset=iso-8859-1\r\n";
mail($to,$subject,$message,$headers);
?>
Modtaget header:
Return-Path: <xxx@xxx.dk>
Delivered-To: yyy@yyy.dk
Received: from mx02.one.com (mx02.one.com [195.47.247.73])
by mail24.local (Postfix) with ESMTP id ACEFF4325D
for <yyy@yyy.dk>; Wed, 6 Feb 2013 08:12:17 +0100 (CET)
X-Virus-Scanned: by one.com
X-Greylist: whitelisted by SQLgrey-1.8.0-rc2
Received: from mail-out2.b-one.net (mail-out2.one.com [91.198.169.19])
by mx02.one.com (Postfix) with ESMTP id 8888810E4EDA
for <yyy@yyy.dk>; Wed, 6 Feb 2013 07:12:17 +0000 (UTC)
Received: from localhost.localdomain (srv50.one.com [193.202.110.50])
by mail-out2.b-one.net (Postfix) with ESMTP id 55F51F7A3
for <yyy@yyy.dk>; Wed, 6 Feb 2013 08:12:13 +0100 (CET)
Received: from min.egen.ip.adresse by
www.xxx.dk via /admin/email_test.php with HTTP; Wed, 06 Feb 2013 07:12:13 +0000
To: yyy@yyy.dk
Subject: Emne
X-PHP-Originating-Script: 260817:email_test.php
From: xxx@xxx.dk
Reply-To: xxx@xxx.dk
X-Mailer: PHP
Content-Type: text/html; charset=iso-8859-1
Message-Id: <20130206071213.55F51F7A3@mail-out2.b-one.net>
Date: Wed, 6 Feb 2013 08:12:13 +0100 (CET)
X-Antivirus: avast! (VPS 130205-1, 05-02-2013), Inbound message
X-Antivirus-Status: Clean
Resultat: spam