I am trying to use a sendmail script to send email from an html page that I placed in /opt/apache/cgi-bin, and it looks like it sends, but I do not get email, but If I use command line rather than an html form, it does send. Can anyone help, or have they had simliar issues. Here are the scripts and html: Thanks,Rick
#!/opt/iw-home/iw-perl/bin/iwperl
print "Content-type:text/html\n\n";
use CGI qw(:all);
use Mail:

end;
$query = new CGI;
$filename = $query->param('file');
$title = $query->param('title');
$file = param('file');
@names = $query->param;
$server = 'tyyysn.jdrp.com';
$emailTo = 'rrrococi@jonesday.com';
#$messageText = param("comments");
$myMailer = new Mail::Mailer 'smtp',Server => $server;
$subject = param("subject");
$myMailer->open
({
From => 'Interwoven Teamsite',
To => $emailTo,
Subject => $subject,
'content-type' => 'text/html; charset="iso-8859-1"',
});
print $myMailer "$messageText";
print $myMailer "$title";
print $myMailer "
http://dvwa02sn.dv.jdrp.com:7979/cocoon/announcements/$filename?banner=no";$myMailer->close();
close HTML;
print <
Email sent to:$emailTo
EndHTML
AND THE HTML FORM is :
Email Journal to Lotus Notes
Enter Email Address:
|
|
Version to Notify On:
|
Version November 2002 Version December 2002 Version January 2002
|
Enter Subject:
|
|
| Comments: |
|