Web Hosting Reviews for Affiliate Marketers

Unlimited Shared hosting & Unlimited Disk Space from $5.95 - Dreamhost
Solid Managed VPS with 4 IP's from $60 - Liquid Web
Lightning Fast Dedicated Servers & 1GB RAM from $149 - Liquid Web
#1 Domain Registration with WHOIS Privacy - Just $9.95

This Dreamhost thread was started by dazedthoughts on 2010-05-02 07:07:08:

Post Reply? Hi, I have a simple sendmail and it does not return an error but yet the mail does not send. The page is: http://grad.dazedthoughts.com/emailTEST.html the cgi is: #!/usr/local/bin/perl -wT use CGI qw(:all);# imports the CGI.pm module use HTML::Template; #imports the template module which allows for separation of Perl and HTML #local variables all start with my my ($email, $from, $subject); #creates the variable from the form input with the name email $email = param(’email’); #### generate html feedback print “Content-type: text/htmlnn”; print “Your email address ($email) has been successfully entered. “; print “Thank you. You will receive a confirmation email shortly.”; #########creates email $subject = Confirmation Email $from = “debbie@dazedthoughts.com”; open (MAIL, “|/usr/sbin/sendmail -t”) || &ErrorMessage; print MAIL “To: $email nFrom: $fromn”; print MAIL “Subject:n”; print MAIL “Confirmation Emailnn”; print MAIL “Thank you for signing up. Your email address ($email) has been successfully “; print MAIL “stored. Have a nice day.n”; close (MAIL); sub ErrorMessage { print “<P>The server has a problem. Aborting script. n”; exit; } thanks in advance for any help that you can give me. Debbie

Join in on the original post at the Dreamhost Forum, Sign up for Dreamhost or view our Review of Dreamhost.

Related Web Host Reviews


Close
E-mail It