Hi Guys,
I have placed the general sendmail mod into the cfg and html files as follows:
default.cfg:
$mailprog = "|/usr/lib/sendmail -t -n";
$admin_email = "my\@server.com";
html.pl at end of html_add_success:
open (MAIL, "|$mailprog") | | print "Can't start mail program";
print MAIL "To: $admin_email\n";
print MAIL "From: $admin_email\n";
print MAIL "Subject: my subject\n";
print MAIL "my message ..\n\n";
close MAIL;
For the first 3-4 additions the mail arrived OK. After that it died. Now the response from the document is too quick for it to be even recognizing the sendmail. I am able to print a test message at the end after the mail routine so it seems to be getting there. The sendmail is working fine when using the form processor script so it doesn't seem to be the sendmail. I checked the from processor script and it is much the same as the mod listed above.
Any suggestions will be appreciated
Thanks in advance.
Greg
I have placed the general sendmail mod into the cfg and html files as follows:
default.cfg:
$mailprog = "|/usr/lib/sendmail -t -n";
$admin_email = "my\@server.com";
html.pl at end of html_add_success:
open (MAIL, "|$mailprog") | | print "Can't start mail program";
print MAIL "To: $admin_email\n";
print MAIL "From: $admin_email\n";
print MAIL "Subject: my subject\n";
print MAIL "my message ..\n\n";
close MAIL;
For the first 3-4 additions the mail arrived OK. After that it died. Now the response from the document is too quick for it to be even recognizing the sendmail. I am able to print a test message at the end after the mail routine so it seems to be getting there. The sendmail is working fine when using the form processor script so it doesn't seem to be the sendmail. I checked the from processor script and it is much the same as the mod listed above.
Any suggestions will be appreciated
Thanks in advance.
Greg