Foros del Web

Foros del Web (http://www.forosdelweb.com/)
-   HTML (http://www.forosdelweb.com/f4/)
-   -   Ayuda con un enlace a e-mail (http://www.forosdelweb.com/f4/ayuda-con-enlace-e-mail-582725/)

dasten 04/05/2008 05:41

Ayuda con un enlace a e-mail
 
Bueno pues mi duda, quiero poner un boton que se llame "Contacta con nosotros"
pero no se a donde dirigirlo, es decir quiero que se te abra el outlook o el programaa para enviar e-mails y con la direccion de mi correo puesto.

Y otra cosa es, que direccio tengo que poner en un formulario para que cuando le den a boton "enviar" me llege a mi al e-mail?
mi e-mail es: [email protected]

Slds y Gracias por todo! ^^

pzin 04/05/2008 05:56

Re: Ayuda con un enlace a e-mail
 
Para que se abra el Outlook (o el programa que el usuario tenga definido para enviar emails) bastaría con poner un enlace así:
Código HTML:

<a href="mailto:[email protected]">Contacta conmigo</a>
Para lo del formulario, tendrías que usar algún lenguaje de lado servidor (PHP o ASP son los más famosos).

dasten 04/05/2008 08:53

Re: Ayuda con un enlace a e-mail
 
Bueno pues primero muy agradecido a Bonez por su ayuda (por fin va ^^)
y sobre lo del formulario aqui os dejo el codigo que intento usar:

Código:

<table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
          <tr>
                <td class="catHead" height="25"><span class="genmed"><b>Afiliciones!</b></span></td>
          </tr>
          <tr>
                <td class="row1" align="left"><span class="gensmall" style="line-height: 150%">Afilianos<p>

</p>



1 Banner con código<p>
<a href="http://otakuexpresion.foros.ws" target="_blank"><img src="http://img205.imageshack.us/img205/2280/bannerotakuexpresionofise8.gif" title="Otakuexpresion" alt="Otakuexpresion" border="0"></a>


<textarea rows="3" name="S1" cols="18"><a href="http://otakuexpresion.es/" target="_blank"><img src="http://img205.imageshack.us/img205/2280/bannerotakuexpresionofise8.gif" title="Otakuexpresion" border="0" /></a>
</textarea><p>



<form method="post"
action="mailto:[email protected]" target="_top">

<p>
<input name="receptor" type="hidden" id="receptor"
value="[email protected]">
<input name="remitente" type="hidden"
value="[email protected]">
<input name="tema" type="hidden"
value="Afiliacion">
<input name="redireccion" type="hidden" id="redireccion"
value="otakuexpresion.es">
<br>
<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse; border-width: 0" bordercolor="#111111" width="101%" id="AutoNumber1">
  <tr>
    <td width="20%" style="border-style: none; border-width: medium">&nbsp;</td>
    <td width="24%" align="justify" style="border-style: none; border-width: medium">
    <font face="Verdana" style="font-size: 8pt">Nombre de la Web</font></td>
    <td width="58%" style="border-style: none; border-width: medium">
    <input type='text' name='web' id='url1' size="28" style="color: #FFFFFF; font-size: 10px; border: 1px dotted #FFFFFF; background-color: #808080"></td>
  </tr>
  <tr>
    <td width="20%" style="border-style: none; border-width: medium">&nbsp;</td>
    <td width="24%" align="justify" style="border-style: none; border-width: medium">
    <font face="Verdana" style="font-size: 8pt">Url&nbsp; </font></td>
    <td width="58%" style="border-style: none; border-width: medium">
    <input type='text' name='url' id='url' size="28" value="http://" style="color: #FFFFFF; font-size: 10px; border: 1px dotted #FFFFFF; background-color: #808080"></td>
  </tr>
  <tr>
    <td width="20%" style="border-style: none; border-width: medium">&nbsp;</td>
    <td width="24%" align="justify" style="border-style: none; border-width: medium">
    <font face="Verdana" style="font-size: 8pt">Url Banner</font></td>
    <td width="58%" style="border-style: none; border-width: medium">
    <input type='text' name='urlb' id='url0' size="28" value="http://" style="color: #FFFFFF; font-size: 10px; border: 1px dotted #FFFFFF; background-color: #808080"></td>
  </tr>
  <tr>
    <td width="20%" style="border-style: none; border-width: medium">&nbsp;</td>
    <td width="24%" align="justify" style="border-style: none; border-width: medium">
    <font face="Verdana" style="font-size: 8pt">Email</font></td>
    <td width="58%" style="border-style: none; border-width: medium">
    <input type='text' name='email' id='url2' size="28" value="@" style="color: #FFFFFF; font-size: 10px; border: 1px dotted #FFFFFF; background-color: #808080"></td>
  </tr>
  <tr>
    <td width="20%" style="border-style: none; border-width: medium">&nbsp;</td>
    <td width="24%" align="justify" style="border-style: none; border-width: medium">&nbsp;</td>
    <td width="58%" style="border-style: none; border-width: medium">&nbsp;</td>
  </tr>
  <tr>
    <td width="20%" style="border-style: none; border-width: medium">&nbsp;</td>
    <td width="24%" align="justify" style="border-style: none; border-width: medium">
    <font face="Verdana" style="font-size: 8pt">Tipo de Afiliación</font></td>
    <td width="58%" style="border-style: none; border-width: medium">
    <select size="1" name="afi" style="color: #FFFFFF; font-size: 10px; border: 1px dotted #FFFFFF; background-color: #808080">
    <option selected>Afiliado Normal</option>
    <option>Afiliado Vip</option>
    </select></td>
  </tr>
</table>
<p align="center">&nbsp;
<input type="submit" name="Submit" value="Enviar" style="font-size: 1em; color: #FFFFFF; border: 1px dotted #FFFFFF; background-color: #808080">
<br>
</p>
</p>
</form><p>

</p>

Pero a mi no me llega nada, alguien me puede ayudar o sabe porque es?

Slds y Gracias! ^^

dasten 06/05/2008 12:16

Re: Ayuda con un enlace a e-mail
 
Bueno pues siento doblepostear pero, lo he vuelto a intentar, he hecho una prueba rellenando los datos, con el formulario del codigo de arriba, y cuando le doi a enviar pone "Estas a punto de enviar informacion por e-mail, esta seguro?" o algo asi, le doi a aceptar pero no pasa nada, en mi correo no me llega nada de nada, alguien sabe porque es?

Slds y Gracias! ^^

pzin 06/05/2008 12:29

Re: Ayuda con un enlace a e-mail
 
Tal vez sea porque en tu cliente de correo no tengas ninguna cuenta configurada. Al enviar los formularios de esa forma, usa tu cliente de correo y claro, si no tienes nada no manda nada.

dasten 07/05/2008 07:46

Re: Ayuda con un enlace a e-mail
 
Pues, yo en mi dominio lo tengo configurado para que apunte al MX de windows live ya que de esta forma puedo invitar a los usuarios de mi web a que se hagan una cuenta con el nomb de mi dominio.
Alguien me puede decir como lo configuro o lo pongo para que me llegen los correos?

Slds y Gracias! ^^


La zona horaria es GMT -6. Ahora son las 21:50.

Desarrollado por vBulletin® Versión 3.8.7
Derechos de Autor ©2000 - 2026, Jelsoft Enterprises Ltd.