Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



FormMail cgi with SMTP Auth

Software Development


Reply
 
Thread Tools Search this Thread
  #1  
Old 17-06-2010
Member
 
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.

Reply With Quote
  #2  
Old 17-06-2010
Member
 
Join Date: Feb 2008
Posts: 1,845
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.
Reply With Quote
  #3  
Old 17-06-2010
Member
 
Join Date: May 2008
Posts: 2,291
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 ;
Reply With Quote
  #4  
Old 17-06-2010
Member
 
Join Date: May 2008
Posts: 2,383
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.
__________________
The FIFA Manager 2009 PC Game
Reply With Quote
  #5  
Old 17-06-2010
Member
 
Join Date: Oct 2005
Posts: 2,389
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.
Reply With Quote
  #6  
Old 18-06-2010
Member
 
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.
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags: , , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


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


All times are GMT +5.5. The time now is 04:21 PM.