need help - sendmail with my script did not work

Discussion in 'PHP' started by user099, Mar 16, 2009.

  1. #1
    I have a script which allows registered users emails to send to friends.
    in the admin-screen of the script there are two variants of sending mails
    php mail () and smtp. but the sending of emails did not work.

    i talked to my hoster, but the problem is not resolved.
    maybe is a bug in the script.

    would someone help me

    further information via pm
     
    user099, Mar 16, 2009 IP
  2. Vooler

    Vooler Well-Known Member

    Messages:
    1,146
    Likes Received:
    64
    Best Answers:
    4
    Trophy Points:
    150
    #2
    if using SMTP: Make sure you have mail account on server that you are using for authentication
    if using php mail() : make sure server allows you to send mails, also make sure "from" portion includes an address of same server.
     
    Vooler, Mar 16, 2009 IP
  3. user099

    user099 Active Member

    Messages:
    218
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    58
    #3
    i have a mail account on the server. but smtp also dont work.
    how can I check if the server allows to send mails? i can post you the php-info.
     
    user099, Mar 16, 2009 IP
  4. Vooler

    Vooler Well-Known Member

    Messages:
    1,146
    Likes Received:
    64
    Best Answers:
    4
    Trophy Points:
    150
    #4
    What script it is? it might be script that is not able to communicate remote SMTP properly. Also please ask your host if it i enabled or not.

    One more thing make sure you have fsockopen function enabled for php, if the specific smtp code is using it.
     
    Vooler, Mar 16, 2009 IP
  5. user099

    user099 Active Member

    Messages:
    218
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    58
    #5
    hi,

    I am a total novice in php. would you change the script to me? I would also pay for it.
     
    user099, Mar 17, 2009 IP
  6. Vooler

    Vooler Well-Known Member

    Messages:
    1,146
    Likes Received:
    64
    Best Answers:
    4
    Trophy Points:
    150
    #6
    Sorry, but I post here in spare time, I may do it free in spare time, but cant undertake this small task as project.
     
    Vooler, Mar 17, 2009 IP
  7. iam.xavier

    iam.xavier Well-Known Member

    Messages:
    521
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    125
    #7
    Nice help so far vooler...

    Buddy what is the script by the way ?

    If you give the details i will help you..

    Thanks
    -Xak
     
    iam.xavier, Mar 17, 2009 IP