What does $sendmail contain?
Make sure that it has a '-t' so that it will correctly read the From/To lines.
>From the sendmail manpage:
-t Read message for recipients. To:, Cc:, and Bcc:
lines will be scanned for recipient addresses. The
Bcc: line will be deleted before transmission. Any
addresses in the argument list will be suppressed,
that is, they will not receive copies even if listed
in the message header.
Also, you may need to move the MIME/Content-Type lines between From/Subject
On 4/18/05, Eko Budiharto <[EMAIL PROTECTED]> wrote:
> Hi,
> I am trying to send a HTML formatted using SENDMAIL, but I always getting an
> error message, "saved message /.../dead.letter" Can someone explain to me
> why I am getting this error message?
>
> open SENDMAIL, "|$sendmail" or die "Cannot pipe $sendmail: $!";
> print SENDMAIL "MIME-Version: 1.0\n";
> print SENDMAIL "Content-Type: text/html\n";
> print SENDMAIL "To: ", $recipientCustomer, "\n";
> print SENDMAIL "From: ", $CSRnumber, "<", $CSRnumber, "> \n";
> print SENDMAIL "Subject: Your ticket will be sent. "\n";
> print SENDMAIL "\n";
>
> print SENDMAIL "<center><strong><font size='5'
> face='arial'>Report</font></strong></center>";
> close SENDMAIL;
>
>
> ________________________________
> Do you Yahoo!?
> Read only the mail you want - Yahoo! Mail SpamGuard.
>
>
> _______________________________________________
> ActivePerl mailing list
> [email protected]
> To unsubscribe:
> http://listserv.ActiveState.com/mailman/mysubs
>
>
_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs