my ubuntu server is installed on vmware on win7. i want to use the php mail function as a test purpose.i couldn't find a solution yet.i dont want to receive emails but i just need to use the php mail function to send simple administration stuff like "email verification" , "reset password" etc. How & What do you recommend me to do ?
closed as off topic by SvW, Tom O'Connor♦, gravyface, Hubert Kario, Michael Hampton♦ Nov 2 '12 at 11:08
Questions on Server Fault are expected to relate to professional server, networking, or related infrastructure administration within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.
Instead, use http://swiftmailer.org/. Seriously, it'll give you the flexibility to do more secure emailing, and give you more scope in the future when you're refactoring the spaghetti.
Alternatively, if you wanna be really web2.0 and not have to touch the mailing process yourself, you can use a service like Sendgrid. You could then use their Web API instead of using SMTP, and not have to even use Postfix/Exim/(other MTA of your choice).
There's yet another option, which is to install a dummy MTA, like ssmtp, which only handles relaying mail, and then you can use any one of a number of SMTP providers or relay services.