+ Reply to Thread
Results 1 to 8 of 8

Thread: Usar mail() PHP

  1. #1
    markosar200294 is offline x10Hosting Member markosar200294 is an unknown quantity at this point
    Join Date
    Sep 2010
    Posts
    56

    Usar mail() PHP

    Hola:
    Se que este problema ha surgido antes, pero no tengo muy clara la solucion. Intento crear una pagina que tenga un formulario de contacto usando la function mail() en PHP. El caso es que no me funciona, me devuelve falso, ¿Hay que solicitar la activacion de esta funcion?¿donde?¿existe otro sistema que tengamos que usar?.
    Muchas gracias a los que sabeis (y a los que no sabeis tanto tambien)

  2. #2
    medina's Avatar
    medina is offline x10 Addict medina is an unknown quantity at this point
    Join Date
    Nov 2006
    Location
    Cuernavaca
    Posts
    1,837

    Re: Usar mail() PHP

    Si quieres que te ayudemos con el codigo tienes que poner el codigo para ver en que esta mal
    ▐ Quieres Ganar $50 dólares totalmente gratis en menos de 24 horas? Visita este Post y ve como lograrlo
    http://x10hosting.com/forums/mercado/124800-gana-0-35-por-ser-mi-referido-unos-50-00-extra.html






  3. #3
    markosar200294 is offline x10Hosting Member markosar200294 is an unknown quantity at this point
    Join Date
    Sep 2010
    Posts
    56

    Re: Usar mail() PHP

    El codigo no dabe estar mal, lo he copiado, ademas me responde, "Mail Not Sent". Es este:
    if(mail("markosar2002@yahoo.es", "Test Subject", "Test Body", "From: sender@sender.com"))
    echo "Mail Sent";
    else
    echo "Mail Not Sent";
    Eso de que hay que avisar para que te permitan enviar mails, ¿es cierto?
    gracias

  4. #4
    markosar200294 is offline x10Hosting Member markosar200294 is an unknown quantity at this point
    Join Date
    Sep 2010
    Posts
    56

    Re: Usar mail() PHP

    Alguien me puede ayudar??

  5. #5
    markosar200294 is offline x10Hosting Member markosar200294 is an unknown quantity at this point
    Join Date
    Sep 2010
    Posts
    56

    Re: Usar mail() PHP

    He accedido a squirrel y todos lo mensajes que he enviado a <xxxxxxxxxx@yahoo.es> me aparecen aqui. Al parecer no es capaz de enviarlos, no se porque. Llevo unos 15 dias intentandolo pero no hay forma. Por favor, alguien que me pueda ayudar¿???????

    Este es el mensaje que aparece en squirrel
    Hi. This is the qmail-send program at outgoing.x10hosting.com.
    I'm afraid I wasn't able to deliver your message to the following addresses.
    This is a permanent error; I've given up. Sorry it didn't work out.

    <xxxxxxxxxx@yahoo.es>:
    Connected to 77.238.177.9 but greeting failed.
    Remote host said: 421 4.7.1 [TS03] All messages from 173.236.28.162 will be
    permanently deferred; Retrying will NOT succeed. See
    http://postmaster.yahoo.com/421-ts03.html
    I'm not going to try again; this message has been in the queue too long.

    --- Below this line is a copy of the message.

    Return-Path: <marcosbw@web8.vital.x10hosting.com>
    Received: (qmail 22636 invoked by uid 50; 10 Oct 2010 19:09:29 -0000
    Received: from 10.33.248.82 by outgoing.x10hosting.com (envelope-from
    <marcosbw@web8.vital.x10hosting.com>, uid 507) with qmail-scanner-2.08st
    (clamdscan: 0.96/12116. spamassassin: 3.3.1. perlscan: 2.08st.
    Clear:RC:1(10.33.248.82):SA:0(-2.9/3.0):.
    Processed in 1.04439 secs); 10 Oct 2010 19:09:29 -0000
    X-Spam-Status: No, hits=-2.9 required=3.0
    Received: from unknown (HELO web8.vital.x10hosting.com) (10.33.248.82)
    by outgoing.x10hosting.com with SMTP; 10 Oct 2010 19:09:28 -0000
    Received: from marcosbw by web8.vital.x10hosting.com with local (Exim 4.69)
    (envelope-from <marcosbw@web8.vital.x10hosting.com>)
    id 1P51qC-0000vF-Ui
    for xxxxxxxxxx@yahoo.es; Sun, 10 Oct 2010 15:45:52 -0400
    To: xxxxxxxxxx@yahoo.es
    Subject: Formulario recibido
    Message-Id: <E1P51qC-0000vF-Ui@web8.vital.x10hosting.com>
    From: marcosbw@web8.vital.x10hosting.com
    Date: Sun, 10 Oct 2010 15:45:52 -0400

  6. #6
    medina's Avatar
    medina is offline x10 Addict medina is an unknown quantity at this point
    Join Date
    Nov 2006
    Location
    Cuernavaca
    Posts
    1,837

    Re: Usar mail() PHP

    Estas en el servidor Chopin?, escuche que este tiene problemas para este.....
    ▐ Quieres Ganar $50 dólares totalmente gratis en menos de 24 horas? Visita este Post y ve como lograrlo
    http://x10hosting.com/forums/mercado/124800-gana-0-35-por-ser-mi-referido-unos-50-00-extra.html






  7. #7
    markosar200294 is offline x10Hosting Member markosar200294 is an unknown quantity at this point
    Join Date
    Sep 2010
    Posts
    56

    Re: Usar mail() PHP

    No, yo estoy con el stoli, pero tampoco puedo enviar mensajes, por eso os posteo mi duda.

  8. #8
    alvaro_rodrigo1889 is offline x10Hosting Member alvaro_rodrigo1889 is an unknown quantity at this point
    Join Date
    Aug 2010
    Posts
    2

    Re: Usar mail() PHP

    Yo tenia ese problema no podía enviar mails, ni para yahoo, ni hotmail, solo a gmail, seria que te crees una cuenta gmail, y si necesitas enviar correo a otras cuentas solo debes crear una cuenta en google apps, y modificar la entrada de Mx en Cpanel, así podrás enviar correo a cualquier cuenta. para mas info checa acá.

    Como tener tu correo con tu propio dominio con Gmail

+ Reply to Thread

Similar Threads

  1. Usar BD MySQL y PHP
    By markosar200294 in forum Ayuda Web
    Replies: 5
    Last Post: 10-03-2010, 02:28 PM
  2. Replies: 1
    Last Post: 06-26-2008, 05:05 PM
  3. que cliente msn usar para mail@dominio.com?
    By ZharkD in forum General
    Replies: 4
    Last Post: 04-05-2008, 04:12 PM
  4. en ves de usar cpanel se puede usar un programa ftp¿?
    By albertoMaldini in forum Soporte
    Replies: 4
    Last Post: 03-26-2008, 03:04 AM
  5. Como usar ftp
    By rubens in forum Soporte
    Replies: 2
    Last Post: 03-20-2008, 07:02 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers