hallå, någon som använder one.com
och kan säga ifall följande bör snurra?
ini_set("SMTP","mailout.one.com" );
ini_set('sendmail_from', 'snurre@sprett.de');
ini_set( smtp_port, 25 );
$customer_email_input = $_POST['customer_email_input_xxx'];
$customer_email_input = "disturb@yahoo.com";
if ( preg_match( "/^[^0-9][A-z0-9_]+([.][A-z0-9_]+)*[@][A-z0-9_]+([.][A-z0-9_]+)*[.][A-z]{2,4}$/", $customer_email_input )){
$till_xxx = "kalle@anka.com";
$amne_xxx = "löwen-mail From: ".$customer_email_input;
$meddelande_xxx = "automated mail from Löwenkinder website from:".$customer_email_input;
$headers = "MIME-Version: 1.0\r\n";
$headers .= "Content-type: text/html; charset=iso-8859-1\r\n";
$success = mail($till_xxx, $amne_xxx, $meddelande_xxx, $headers);
Många tack
/pär