Help with configuring a formmail script?

Discussion in 'The Lounge' started by tones_ie, Jan 14, 2011.

  1. tones_ie

    tones_ie New Member

    Hi,

    Im a lil confused as to what exactly should be put in the formmail.pl script...any help greatly appreciated.

    # $mailprog defines the location of your sendmail program on your unix #
    # system. The flags -i and -t should be passed to sendmail in order to #
    # have it ignore single dots on a line and to read message for recipients #

    $mailprog = '/usr/lib/sendmail -i -t';

    # @referers allows forms to be located only on servers which are defined #
    # in this field. This is a security fix to prevent others from using your #
    # FormMail script on their web site. #

    @referers = ('my-domain.com','65.65.665.665');

    # @recipients defines the e-mail addresses or domain names that e-mail can #
    # be sent to. This must be filled in correctly to prevent SPAM and allow #
    # valid addresses to receive e-mail. Read the documentation to find out how #
    # this variable works!!! It is EXTREMELY IMPORTANT. #
    @recipients = &fill_recipients([email protected]\.com');

    i think the 1st 2 sections are correct (hopefully)...but im unsure as to how to send the results of the form to say [email protected]

    Thanks in advance
     

Share This Page