FreePgs.com Forum

FreePgs Related => Support Requests => Topic started by: zz4 on March 11, 2006, 12:54:36 PM

Title: mail
Post by: zz4 on March 11, 2006, 12:54:36 PM
 ???







ok...#1...I have no interest in spam.



I had an email script on 'old HyperMart' (remember them?) that worked nicely.



It begins like this



#!/usr/bin/perl
$filename = "mail.pl";
$path = "/var/qmail/bin/qmail-inject";
use CGI qw(param); print "Content-type:text/html\n\n"; print "<body==================================================




For this host perhaps the recipe?
Title: Re: mail
Post by: webzone (archived) on March 11, 2006, 05:37:12 PM
You could try with "/usr/sbin/sendmail" instead of "/var/qmail/bin/qmail-inject". sendmail is what PHP uses on this server.