Please bear with me as I am new to perl. I have been tasked to move a web site form one ISP to another. I am trying to replicate the formmail and send mail routines as I expect out new ISP to supply them.
I have installed Perl onto a Window XP machine running IIS. I have then installed Mail-Sendmail-0.79 from http://ppm.activestate.com/PPMPackages/zips/8xx-builds-only/
The Sendmail routine seems to install correctly, and I have changed the configuration as follows :
%mailcfg = (
# List of SMTP servers:
'smtp' => [ qw( 127.0.0.1,localhost ) ],
#'smtp' => [ qw( mail.mydomain.com ) ], # example
'from' => '', # default sender e-mail, used when no From header in mail
'mime' => 1, # use MIME encoding by default
'retries' => 1, # number of retries on smtp connect failure
'delay' => 1, # delay in seconds between retries
'tz' => '', # only to override automatic detection
'port' => 25, # change it if you always use a non-standard port
'debug' => 0 # prints stuff to STDERR
When I execute the HTML page the formmail.pl seems to work as it displays a page after submission detaining the fields sent. However the email part does not seem to work. I'm not sure if it has even been executed can anyong help please ?
The formmail has been configured with the line :
This is the location of the sendmail script within the perl directory.
I am also able to see if the mail has been sent as I am running a local email server.
If anyone has a working set of scripts I will also be willing to reinstall different ones, aslong as I have instructions to follow.
Many thanks in advanced.