in reply to problem on MIME::Lite..please help
You are trying to send the email to literal '$id' not the email value inside variable $id. You have enclosed $id into single quotes which does not interpolate. Same for other variable $sdate. Use double quotes instead.
A few more things
- You could have used use strict to see that you have incorrectly written $account for $acc_no later in the message body
- You can also debug the mail using $msg->send(Debug => 1); which could have perhaps pointed you to solution
- Avoid writing actual email addresses (personal information, in broad definition) in public forums :)