PHP mail script - i will pay u

Discussion in 'PHP' started by sunny1980, Nov 26, 2008.

  1. #1
    When users register to my website they dont get an activation email and I need a PHP developer to edit the scripting.

    I can only afford $10, please can someone do this for me.

    Here is what my hosting company sent me but it dont make sense to me:


    Thanks for your enquiry.

    Our engineers have confirmed that in most of the cases with email not being sent they are seeing this issue is being caused by the server rules for these scripts being more stringently enforced and the -f command not being used within the script as is required on our servers.

    In order for the script to work, you need to specify, via a fifth -f parameter, the domain from which the mail is being sent. The PHP component uses SMTP, and all Fatshosts' SMTP servers have filters which ensure that the data returned by either the first or fifth mail parameter relates to one of your domains hosted by Fasthosts. The final part of the script thanks the visitor for the message. This is done by sending an HTTP header back to the visitor's browser telling it to load a file called thankyou.html from your domain. The /header/function allows you to send any HTTP header back to the browser.

    http://www.fasthosts.co.uk/knowledge-base/?article_id=70

    Here is a sample of a working PHP mail script (you will need to fill in details):

    <?php
    $from = "thefromemailaddress@domain";
    mail("recipient", "Test mail from PHP mail","This is a test PHP Email","From: $from", "-f$from" );
    print "Mail sent";
    ?>

    This script if edited properly will prove the working of the PHP mail() function on our servers.
     
    sunny1980, Nov 26, 2008 IP
  2. EricBruggema

    EricBruggema Well-Known Member

    Messages:
    1,740
    Likes Received:
    28
    Best Answers:
    13
    Trophy Points:
    175
    #2
    EricBruggema, Nov 28, 2008 IP
  3. ads2help

    ads2help Peon

    Messages:
    2,142
    Likes Received:
    67
    Best Answers:
    1
    Trophy Points:
    0
    #3
    Post the php script/files that send out the email here.
     
    ads2help, Nov 28, 2008 IP
  4. paniz

    paniz Peon

    Messages:
    8
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    send ur script to me i repair for u
     
    paniz, Nov 28, 2008 IP
  5. mrmaf

    mrmaf Peon

    Messages:
    41
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #5
    I have already made this module in one of website that i developed, you may check it by going to gaincontact.com/gainlearning/join_gl.php

    u may contact me
     
    mrmaf, Nov 29, 2008 IP