3. I've uploaded formprocessorpro.pl to my site. When I run it I get 500 Internal Server Error.
Please re-upload formprocessorpro.pl again. Make sure that:
1) The file is uploaded in ASCII format;
2) Permissions for the script (755 or set executable for user, group and world) are set properly.
3) First line of the script (shebang line) contains the correct path to Perl executable (90% are /usr/bin/perl but it may vary to /usr/local/bin/perl)
3. Your script places HTML in the body of the email, like <html> <head> <title>Calculations Form Demo</title> <link rel="stylesheet" href="style.css">.
If you would like to receive HTML-formatted emails, please set mail_format = html in formprocessorpro.cfg or in local form.cfg either.
4. My form works fine but I don't receive any email message.
There are two possible solutions:
1. Make sure you have mail_cmd and mailserver variables in formprocessorpro.cfg configured correctly.
If your site is hosted at Unix/Linux platform, please comment mailserver variable with a sharp (#). Basically, it is better to use e-mail program defined in mail_cmd.
If your site is hosted on Windows/Macintosh platform, please uncomment and set mailserver to your SMTP server name, e.g. smtp.yoursite.com.
NOTE: if mailserver is enabled (uncommented), it overrides settings for mail_cmd and thus disables it.
2. Third party traffic is forbidden by some SMTP servers. This means that you can't send a letter to anybody outside your domain, using your SMTP server.
Please make sure that at least one field (From or To) in your email templates contains e-mail adress from domain served by your SMTP.
E.g., if you use SMTP server smtp.yoursite.com you should set “from” or “to” field in your e-mail templates to somebody@yoursite.com:
5. If I would like to add file attachments upload routine to my form and email, what should I do?
You should make following changes (marked as bold): In your initial page (e.g. index.html) :
a) Change form data type to accept file attaches:
....
<form name="Simple" method="post" action="/cgi-bin/formprocessorpro.pl" enctype="multipart/form-data">
....
b) Add a new form field:
.... <input type="file" name="Attach">
.... 2. In your Email Template (e.g., simple-email.txt) :
a) Add an Attachment directive to process previously uploaded file:
....
Subject: <your subject> Attachment: [Attach_uploaded]
.....
An _uploaded suffix for a file field name is obligatory.
Moreover, please make sure that:
1. attachments/ folder is created inside attachments form folder.
2. attachments/ folder's access rights are set to 666 (world write access, allows script to store uploaded files there).
Being enabled, mailserver variable overrides mail_cmd variable.
There are possibly two reasons for not receiving an email:
1. Please make sure that your mailserver variable contains correct value for your SMTP server in formprocessorpro.cfg.
2. Some SMTP servers are configured to reject mail from "third party" scripts. The following example is the best illustration to this:
Assume we have following parameters for the message:
Your SMTP server: smtp.builders-info.com
Recipient: rh100@comcast.net
Possible sender: info@email-form.com
SMTP server recognizes that sender's email host (email-form.com) and recipient's email host (comcast.net) are not of its domain (builders-info.com). This is usually a common reject policy for SMTP server that checks message headers with higher priority than sender's address. To eliminate this issue, please set recipient's email address that belongs to builders-info.com domain, e.g., info@builders-info.com.
2. In Yahoo! Mail, I have to change encoding to utf-8 manually every time. Can this issue be fixed?
This often happens to Yahoo! online mail with Unicode headers.
Please use offline mail manager (Microsoft Outlook or similar), since Yahoo! Mail support remote POP3 mail delivery.
3. I can use either the Perl or PHP version of Form Processor Pro on my server. Is one better/faster than another? Is there one that is more reliable?
It doesn't really matter what version to use. It only depends on your server settings. We noticed that Windows-hosted customers usually prefer PHP version however it is not a general rule.
5. Will your program run on Macintosh (Windows, etc.) web server ?
We have a number of clients using Form Processor Pro on Mac servers. In fact,
Form Processor Pro runs on any web server that has PHP or CGI extensions enabled. Nowadays, most of hosting packages include PHP or Perl enabled.