help with the mail function

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Meena

    help with the mail function

    Dear all i m trying to simply send an email when a user registers, and
    i used the mail function and i got the error "Warning: mail(): SMTP
    server response: 550 5.7.1 Unable to relay for m@hotmail.com in
    C:\Extrn\dx\mai l.php on line 2" and i have no clue what is wrong??!!!

    can anyone help please


    thank you

  • Jerry Stuckle

    #2
    Re: help with the mail function

    Meena wrote:
    Dear all i m trying to simply send an email when a user registers, and
    i used the mail function and i got the error "Warning: mail(): SMTP
    server response: 550 5.7.1 Unable to relay for m@hotmail.com in
    C:\Extrn\dx\mai l.php on line 2" and i have no clue what is wrong??!!!
    >
    can anyone help please
    >
    >
    thank you
    >
    Sounds like your email server is configured correctly - not allowing
    just anyone to forward email outside of the domain (prevents it from
    being used as a spam relay).

    Generally this means you will need some kind of authentication. You'll
    have to find out from your host just what is required.

    --
    =============== ===
    Remove the "x" from my email address
    Jerry Stuckle
    JDS Computer Training Corp.
    jstucklex@attgl obal.net
    =============== ===

    Comment

    • R. Rajesh Jeba Anbiah

      #3
      Re: help with the mail function

      Meena wrote:
      Dear all i m trying to simply send an email when a user registers, and
      i used the mail function and i got the error "Warning: mail(): SMTP
      server response: 550 5.7.1 Unable to relay for m@hotmail.com in
      C:\Extrn\dx\mai l.php on line 2" and i have no clue what is wrong??!!!
      Your SMTP server may not be configured to relay. Are you using
      Mercury? or any other mail servers?

      --
      <?php echo 'Just another PHP saint'; ?>
      Email: rrjanbiah-at-Y!com Blog: http://rajeshanbiah.blogspot.com/

      Comment

      Working...