I've tried this a number of times today, I can submit to my blog from email, but when I write a script to do it using mail() it don't submit.

I'm wondering, have google stopped this? Or are there additional headers I have to send to make it look as if its came from a mail client?