Cannot send email to outsider

Discussion in 'PHP' started by mylooieva, Nov 18, 2009.

  1. #1
    When i submit a form, an email will send automatically to some specified account. Everything is smooth when sending to Outlook account, but if i send email to the outsider account such as yahoo, gmail, hotmail, there will get error. The error is as below:

    Warning: mail() [function.mail]: SMTP server response: 550 5.7.1 <mrlow@yahoo.com>... Relaying denied. IP name possibly forged [115.134.181.91] in C:\xampp\htdocs\laksd\send.php on line 478

    Anyone can help me to fix this problem??

    Thanks!!
     
    mylooieva, Nov 18, 2009 IP
  2. cignusweb

    cignusweb Peon

    Messages:
    147
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #2
    can I see the script for email?
     
    cignusweb, Nov 19, 2009 IP
  3. taminder

    taminder Peon

    Messages:
    581
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #3
    i think it's an authentication problem with your smtp server. usually you get an error like that and it also says you do not have permission
     
    taminder, Nov 19, 2009 IP
  4. mylooieva

    mylooieva Peon

    Messages:
    18
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    The portion script is something as below:

    $tostaff = $row
     
    mylooieva, Nov 20, 2009 IP
  5. mylooieva

    mylooieva Peon

    Messages:
    18
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    taminder:

    Got any solution to solve with the authentication problem at the server?? How to get permission to send email to outsider??

    Thanks.
     
    mylooieva, Nov 20, 2009 IP