I am trying to use the mail function in php, it works but i get access denied as i need authentification from gmails smtp server, i am sure i could get round this but did i read somewhere that you can have you own local smtp server, can i do this with php so that i wouldn't need to use an external smtp server like gmail, hotmail, or whoever.