Hi,
the email script was downloaded. So i don't really know which portion and copy and paste for you.
I'm sure it was successfully sent because initially, the smtp server was "192.168.42.6" which our own exchange server. Then the error pop up saying about not able to relay. So I change smtp server to "mail.singnet.com.sg" and then there was no error.
When i send to other email address such as yahoo.com it's ok. One of the not ok one is moe.edu.sg.
I tried to look at the Full Header of my yahoo mail. It says:
Received: from shelby ([203.125.147.90]) by smtp15.singnet.com.sg
shelby is my computer name. I don't really know 203.125.147.90 is what IP address. Our domain IP is 202.166.39.27. Is it coz they don tally that why some email server treat it as spam mail?