Results 1 to 6 of 6

Thread: FormMail cgi with SMTP Auth

  1. #1
    Join Date
    Apr 2010
    Posts
    77

    FormMail cgi with SMTP Auth

    I am using cpanel hosting. I have installed FormMail. I need script that has several interesting features, including:
    - Thank You Page
    - Error Page
    - Mail Acknowledgement
    - Required fields in form
    I need this installed Formmail dice opening your accommodation in your CGI-BIN directory. Please help.

  2. #2
    Join Date
    Feb 2008
    Posts
    1,852

    Re: FormMail cgi with SMTP Auth

    You need Upload file FormMail.pl ftp server to your computer using your ftp software, So by checking IMPERATIVE that you do well in text mode (ASCII) and not binary (scheduled for images, animations ,...). Open the file on your computer FormMail.pl with a simple text editor (Such as Notepad, UltraEdit, and ESPECIALLY NOT Dreamweaver, Frontpage, Word ,...). Place yourself in the line entitled "CONFIGURATION PRIVIANET" then change ONLY the information that we have indicated.

  3. #3
    Join Date
    May 2008
    Posts
    2,297

    Re: FormMail cgi with SMTP Auth

    You need to configure domain.
    # General remarks: to fight against spam, it MUST limit the number of addresses
    # To which the script can send emails and the number of sites from which the
    # Script can be used.
    # You must indicate the urls of sites from which you can use this script
    Ex # @ referers = qw
    # Now we need to specify what email addresses can send the script
    # Emails this setting is very important because it prevents spam.
    # Only addresses listed here will receive mail from the form
    @ # Eg allow_mail_to = qw;
    Allow_mail_to @ = qw ;

  4. #4
    Join Date
    May 2008
    Posts
    2,389

    Re: FormMail cgi with SMTP Auth

    You need to changes made and recorded, transfer the file FormMail.pl this time your computer to the ftp server Using your FTP software, checking so that required you do it again in text mode (ASCII) and not binary (scheduled for images, animations ,...). If an error has occurred (change of data other than that indicated in red, transfer in binary mode), you will see on the screen an error "Internal Server Error" (error 500) when you can get there from your browser, the server being unable to read it.

  5. #5
    Join Date
    Oct 2005
    Posts
    2,393

    Re: FormMail cgi with SMTP Auth

    You need to created two hidden fields (hidden), the first entitled "required", contains the following values: "name, email, message." This means that an error page will be displayed if the visitor does not fill the corresponding field (Email, Message ...). We can also customize the error page also displayed. For all these possibilities, and many others (like the second hidden field you can specify the subject of the mail you will receive), we have compiled a small list of possibilities:
    * subject can customize the object (subject) of mail you will receive. The html code to insert into your page:
    <input type=hidden name="subject" value="Titre your mail">

    * e-mail that allows you to respond directly to the form if the visitor said his email address in this field will, for the field "From" address is initialized with the address of your visitor. For allow your visitors to give their email address (and thus their answer!), place this piece of code in your form.

  6. #6
    Join Date
    Feb 2010
    Posts
    207

    Re: FormMail cgi with SMTP Auth

    You need to change the attributes (CHMOD) of 755 to put FormMail.pl if this was not done and you have also an error "Internal Server Error" when validating your form (this is done mostly by right-clicking on the file in your FTP software) . Your formmail script is configured and ready to use.

Similar Threads

  1. Getting error in SMTP: SMTP banner has no response.
    By Iason in forum Networking & Security
    Replies: 6
    Last Post: 20-06-2011, 10:20 PM
  2. Windows 2008 LDAP and auth-conf
    By Drewski in forum Active Directory
    Replies: 1
    Last Post: 24-02-2009, 10:42 PM
  3. 503 AUTH command used when not advertised
    By Penzoil in forum Networking & Security
    Replies: 4
    Last Post: 14-02-2009, 10:04 PM
  4. SMTP communication problem smtp;550 - emails bouncing back
    By Antonio00 in forum Small Business Server
    Replies: 1
    Last Post: 03-04-2008, 01:05 AM
  5. LDAP auth fails
    By lavarus@bigstring.com in forum Active Directory
    Replies: 8
    Last Post: 05-06-2007, 10:05 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,711,625,592.47460 seconds with 17 queries