Our bullet
proof hosting and bullet
proof server can support Sendmail (windows box and CGI support).It
allow you send email for normal use,such as Auto Response email.
Here is an example send mail script:
$mailprog = 'x:/sendmail/sendmail.exe';
$from = "xxx<xxx\@xxx.com>";
$to = "sendname<xxx\@xxx.net>";
$host= "xxx.xxx.com";
$reply_subject = "xxx";
open (MAIL, "|$mailprog -t -h$host");
print MAIL "to: $to\n";
print MAIL "From: $from\n";
print MAIL "Subject: $reply_subject\n";
print MAIL "hello:\n";
print MAIL "xxxxxxxxxxx\n";
print MAIL "\cZ";
close (MAIL);
print "Content-type: text/html\n\n";
print "<html><head>\n";
print "</head>\n";
print "<body>\n";
print "SendMail ok\n";
print "</body>\n"; |