Send Mail..,PHP mail() function

Discussion in 'PHP' started by Hershey, Oct 28, 2007.

  1. #1
    I have a php script that's trying to send out registration confirmation emails...but it's having problems..im not sure what kind...but its essentially unable to send emails.....i recently setup the dedicated server...so I'm assuming its probably as a result of my configuration...

    (btw I have the exact same script running on my old server...it works without a problem..)

    anyone have any idea?
     
    Hershey, Oct 28, 2007 IP
  2. Lordy

    Lordy Peon

    Messages:
    1,643
    Likes Received:
    29
    Best Answers:
    0
    Trophy Points:
    0
    #2
    can you tell us any errors..?
     
    Lordy, Oct 28, 2007 IP
  3. Hershey

    Hershey Peon

    Messages:
    10
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    No php errors displayed...just unable to send.....previously it had an issue with mod_ssl..so i had to rebuild php with openssl enabled and that fixed it...

    what do you think are the possibilities...
     
    Hershey, Oct 28, 2007 IP
  4. Hershey

    Hershey Peon

    Messages:
    10
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    someone asked me if i get errors in my postmaster email account....to be honest....i dont even have a postmaster mail account setup.....i mean i understand that the default email address can kinda serve as one...

    but yeah to be honest...i havent even setup the email.....i sent a test email to a and it did show up in the default email address which was ...


    but yea other than that i never took the time to configure any of that.....
     
    Hershey, Oct 28, 2007 IP
  5. Barti1987

    Barti1987 Well-Known Member

    Messages:
    2,703
    Likes Received:
    115
    Best Answers:
    0
    Trophy Points:
    185
    #5
    Where did you get your server from.

    Most companies will have that installed for you by default.

    Peace,
     
    Barti1987, Oct 28, 2007 IP
  6. Hershey

    Hershey Peon

    Messages:
    10
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Installed what?....I don't think this is an issue of "installation"....

    I have a dedicated server....I have installed and configured everything....just might be a little off on some php configs....

    i had been having some mx record issues.....but i already got the reverse dns setup with the datacenter
     
    Hershey, Oct 28, 2007 IP
  7. tonybogs

    tonybogs Peon

    Messages:
    462
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Go to your php.ini file and check the smtp settings.

    It might be that these are set to the default.
     
    tonybogs, Oct 30, 2007 IP