Local smtp sever with php

Associate
Joined
5 Oct 2008
Posts
1,486
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.
 
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.

Not really, unless you have a fixed static IP. You will most likely end up setting up a Smarthost, which is an SMTP relay server which will essentially use your ISP's SMTP server. Which make me wonder why you aren't doing that already?
 
Back
Top Bottom