Whether or not it appears in the spam folder or not doesn't have anything to do with scripting, but more to do with the wording of your email. There are certain words and phrases that will automatically get an email sent to the spam filter, Google search shows loads of ideas here: http://www.google.co.uk/search?clien...=Google+Search