I have written the following program to allow the e-mail to connect a user to the e-mail from the CGI program. It does work. Please help.
#!/usr/bin/perl
print "Content-type:text/html\n\n";
use CGI;
$query = new CGI;
#email.cgi
$mailprog ='/usr/lib/sendmail';
$email ="sales\@xxxx.com";
open (MAIL, "| $mailprog $email" or die "Could not open Mailprogram:";
# connect to the email from here.
print "If interested contact by e-mail:";
print "location :
#!/usr/bin/perl
print "Content-type:text/html\n\n";
use CGI;
$query = new CGI;
#email.cgi
$mailprog ='/usr/lib/sendmail';
$email ="sales\@xxxx.com";
open (MAIL, "| $mailprog $email" or die "Could not open Mailprogram:";
# connect to the email from here.
print "If interested contact by e-mail:";
print "location :