i am running this program
$MGR_LOGIN is my email account khoont@abc.com
==============================
use CGI;
$query= new CGI;
open (MAIL, "| /usr/sbin/sendmail -t -oi $MGR_LOGIN" or &intError( 'Could not open mailer');
print MAIL $query->header;
print MAIL $query->start_html();
print MAIL "<H1>Access Denied</H1>\n";
print MAIL "<a href=\"#\">hello</a>";
print MAIL "<P>You are not allowed access to the requested information</P>\n";
print MAIL $query->end_html();
close MAIL;
============================
while running this
what i m getting is
====================================
The original message was received at Thu, 26 Apr 2001 12:18:50 -0700 (PDT)
from xxxx.abc.com [xxx.xxx.xx.xxx]
----- The following addresses had permanent fatal errors -----
<khoont@dna-mail2.abc.com>
----- Transcript of session follows -----
delivermail: can't deliver unauthenticated mail
501 <khoont@dna-mail2.abc.com>... Data format error
===============================
what will be the error here.
what i wanted to do is to send html link to get displayed in mail.
thanks in advance
khoont
$MGR_LOGIN is my email account khoont@abc.com
==============================
use CGI;
$query= new CGI;
open (MAIL, "| /usr/sbin/sendmail -t -oi $MGR_LOGIN" or &intError( 'Could not open mailer');
print MAIL $query->header;
print MAIL $query->start_html();
print MAIL "<H1>Access Denied</H1>\n";
print MAIL "<a href=\"#\">hello</a>";
print MAIL "<P>You are not allowed access to the requested information</P>\n";
print MAIL $query->end_html();
close MAIL;
============================
while running this
what i m getting is
====================================
The original message was received at Thu, 26 Apr 2001 12:18:50 -0700 (PDT)
from xxxx.abc.com [xxx.xxx.xx.xxx]
----- The following addresses had permanent fatal errors -----
<khoont@dna-mail2.abc.com>
----- Transcript of session follows -----
delivermail: can't deliver unauthenticated mail
501 <khoont@dna-mail2.abc.com>... Data format error
===============================
what will be the error here.
what i wanted to do is to send html link to get displayed in mail.
thanks in advance
khoont