If you are looking at editing the Mail Header, you need to edit the Mailer.pm file.
Look for the following codes:
# Print the mail headers.
print $s "To: ", $self->{'to'}, $CRLF;
print $s "From: ", $self->{'from'}, $CRLF;
print $s "Reply-to: ", $self->{'reply'}, $CRLF if $self->{'reply'};
print $s "X-Mailer: Mailer::$VERSION (http://www.gossamer-threads.com/scripts/)$CRLF";
print $s $self->{'headers'}, $CRLF if $self->{'headers'};
print $s "Subject: ", $self->{'subject'}, $CRLF, $CRLF;
Now, if you want to use your own internal mail header, than you would need to hack Mailer.pm to acknowledge your internal mail headers.
Regards,
Eliot Lee
Look for the following codes:
Code:
# Print the mail headers.
print $s "To: ", $self->{'to'}, $CRLF;
print $s "From: ", $self->{'from'}, $CRLF;
print $s "Reply-to: ", $self->{'reply'}, $CRLF if $self->{'reply'};
print $s "X-Mailer: Mailer::$VERSION (http://www.gossamer-threads.com/scripts/)$CRLF";
print $s $self->{'headers'}, $CRLF if $self->{'headers'};
print $s "Subject: ", $self->{'subject'}, $CRLF, $CRLF;
Now, if you want to use your own internal mail header, than you would need to hack Mailer.pm to acknowledge your internal mail headers.
Regards,
Eliot Lee