Ver Mensaje Individual
  #5 (permalink)  
Antiguo 30/11/2005, 14:42
Avatar de granbosteron
granbosteron
 
Fecha de Ingreso: agosto-2004
Mensajes: 164
Antigüedad: 19 años, 8 meses
Puntos: 1
Ok.... Gracias Cluster, como siempre.
Te paso un ejemplo:

Código PHP:
function send_mail($to$subject$message$from$reply$email_type) {
    return    
mail($to$subject$message"From: $from<$reply>\nReturn-Path: $reply\nErrors-To: $reply\nContent-Type: $email_type; charset=iso-8859-1");
};

$send_mail="[email protected]";
$email_type="text/html";
$from="Admin CC";
$subject="New Service";
$reply="[email protected]";
$html_envio="Mensaje que va dentro del e-mai";

send_mail($send_mail$subject$html_envio$from$reply$email_type); 
Y estas son las propiedades de como llega el mail:

Return-path: <[email protected]>
Envelope-to: [email protected]
Delivery-date: Wed, 30 Nov 2005 12:07:29 -0600
Received: from mail by us3.outservers.net with spam-scanned (Exim 4.50)
id 1EhWMa-0001N1-B0
for [email protected]; Wed, 30 Nov 2005 12:07:28 -0600
Received: from us2.outservers.net ([216.32.90.74])
by us3.outservers.net with esmtps (TLSv1:AES256-SHA:256)
(Exim 4.50)
id 1EhWMa-0001My-7i
for [email protected]; ; Wed, 30 Nov 2005 12:07:28 -0600
Received: from apache by us2.outservers.net with local (Exim 4.50)
id 1EhWN3-0004qu-9j
for [email protected]; ; Wed, 30 Nov 2005 12:07:57 -0600
To: [email protected];
Subject: New Service
From: Admin CC<[email protected]>
Errors-To: [email protected]
Content-Type: text/html; charset=iso-8859-1
Message-Id: <[email protected]>
Date: Wed, 30 Nov 2005 12:07:57 -0600
X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on us3.outservers.net
X-Spam-Level: **
X-Spam-Status: No, score=2.4 required=5.0 tests=AWL,HTML_IMAGE_ONLY_20,
HTML_IMAGE_RATIO_04,HTML_MESSAGE,MIME_HEADER_CTYPE _ONLY,
MIME_HTML_ONLY,NORMAL_HTTP_TO_IP autolearn=no version=3.0.4
__________________
Saludos :adios: :adios: :adios:

Última edición por granbosteron; 30/11/2005 a las 14:52