Mail functionality from localhost to server

Discussion in 'PHP' started by asparsh, Nov 20, 2009.

  1. #1
    Hi

    I am facing problem of mail functionality.

    When i tested mail functionality in my localhost it works fine but when i tried it on server it didn't work and also no error it displays.

    So please give me solution if any changes required to setting mail functionality on server from local.

    Thanks in advance

    Anish Panchal
    www.tatvasoft.com
    www.sparsh-technologies.com
     
    asparsh, Nov 20, 2009 IP
  2. organicCyborg

    organicCyborg Peon

    Messages:
    330
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #2
    If the mail() function is configured properly on your server, it should work without changing anything. Email your web host support if you're on a shared platform.
     
    organicCyborg, Nov 20, 2009 IP
  3. asparsh

    asparsh Guest

    Messages:
    8
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Dont we get any errors when use mail()?
    if yes then how can i get errors?

    Anish Panchal
    www.tatvasoft.com
    www.sparsh-technologies.com
     
    asparsh, Nov 20, 2009 IP
  4. mukunthan

    mukunthan Active Member

    Messages:
    237
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    53
    #4
    Did you install mail server?
     
    mukunthan, Nov 20, 2009 IP
  5. asparsh

    asparsh Guest

    Messages:
    8
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    yes

    Anish Panchal
    www.tatvasoft.com
    www.sparsh-technologies.com
     
    asparsh, Nov 20, 2009 IP
  6. organicCyborg

    organicCyborg Peon

    Messages:
    330
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #6
    make sure you've got the right path to your mail application in your php.ini file.
     
    organicCyborg, Nov 21, 2009 IP
  7. asparsh

    asparsh Guest

    Messages:
    8
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    ya i already checked path in php.ini file

    Anish Panchal
    www.tatvasoft.com
    www.sparsh-technologies.com
     
    asparsh, Nov 23, 2009 IP