01/06/2006, 08:57
|
| | | Fecha de Ingreso: enero-2002
Mensajes: 69
Antigüedad: 22 años, 3 meses Puntos: 0 | |
Agregar foto Hola tengo un autoresponder en php y queria saber si le puedo agregar un encabezado (imagen gif) y un tipo de letra especifico
el codigo php es: Código PHP: <? /****************************************************** ** ** PHP Mailer 2.0 ** ** This script is easy to configure. Just change the variables below to ** suit your environment and PHP does the rest! ** ** http://www.bigjolt.com ** *******************************************************/ /******************************************************* Enter your site details below! *******************************************************/ // Enter your contact email address here $adminaddress = "[email protected]"; // Enter the address of your website here include http://www. $siteaddress ="http://www.bolsastosi.com.uy"; // Enter your company name or site name here $sitename = "Tort Silveira Hnos"; /******************************************************* No need to change anything below ... *******************************************************/ // Gets the date and time from your server $date = date("m/d/Y H:i:s"); // Gets the IP Address if ($REMOTE_ADDR == "") $ip = "no ip"; else $ip = getHostByAddr($REMOTE_ADDR); //Process the form data! // and send the information collected in the Flash form to Your nominated email address if ($action != ""): mail("$adminaddress","Consulta", "El visitante de $sitename ha dejado la siguiente información\n Nombre: $fname Apellido: $lname E-mail: $email Dirección: $cname Telefono: $telno\n Mensaje: ------------------------------ $comments Logged Info : ------------------------------ Using: $HTTP_USER_AGENT Hostname: $ip IP address: $REMOTE_ADDR Date/Time: $date","FROM:$adminaddress"); //This sends a confirmation to your visitor mail("$email","Gracias por visitar $sitename", "Hola $fname,\n Gracias por comunicarse con $sitename!\n En la brevedad estaremos atendiendo su consulta y enviandole una respuesta $sitename $siteaddress","FROM:$adminaddress"); //Confirmation is sent back to the Flash form that the process is complete $sendresult = "Gracias por visitar <a href = \"$siteaddress\" target = \"_blank\"><u>$sitename</u></a>. Usted recibira un E-mail de confirmación de en la brevedad. "; $send_answer = "answer="; $send_answer .= rawurlencode($sendresult); echo "$send_answer"; endif; ?> |