Hi
I am using MIME::Lite & sendmail to send mails. The problem that I am having is, the mails sent by MIME::Lite with sendmail is being considered as the "bulk" mail by the receiving server. This is happening even with the Yahoo mail server. The mail sent to my yahoo id, is in the "bulk" folder, not in the "inbox"! Any idea? Please help.
Code:
# create a new message
$msg = MIME::Lite->new(
From => $from,
To => $to,
Subject => $subject,
Data => $message
);
# add the attachment
$msg->attach(
Type => "text/plain",
Path => $file,
Filename => $file,
Disposition => "attachment"
);
$msg->send();
Thanks
Srikanth