in reply to how to send email without using any module?
It is not the 'Recieve' lines per se that sould cause maxis.net.my to think that your email is spam, but the apparent 'pass through' problem that the email is coming in, as the recieve lines not from a hotmail.com account for a yahoo.com account. So they might consider that an effort to use their site as a relay. The issue could well be with how you are putting together your code using Net::SMTP - although I would probably use Mail::Mailer.
It provides a much nicer interface into Net::SMTP. So one of the first questions was why did you connect to hotmail.com as your smtp server to begin with, rather than attempting to connect directly to
ipop3.tm.net.my