Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I am trying to send mail from PHP on Windows. I want to configure my Ubuntu to accept requests from Windows PHP mail(). How can I do it?

share|improve this question
    
be more precise please. It's hard to understand what you really want, without knowing, your servers version, your purpose of sending mail and so on. –  Anarko_Bizounours Jun 14 '11 at 8:58
    
@Anarko_Bizounours, Server is Ubuntu 11.04, purpose is for testing. I have a Windows machine where I develop, I want to have PHP send mail somehow. So I think I can use the mail from my Ubuntu, I need to somehow connect the 2. what else do u need to know? –  JM at Work Jun 14 '11 at 9:25
    
i've got everthing I wanted to know thank you. –  Anarko_Bizounours Jun 14 '11 at 9:43

1 Answer 1

For what I understand, i think you can use the php function mail

It's much more easy to use, than trying to connect your windows to you ubuntu to use mailto shell cmd. Just check that you have the package needed, and try it out, with you own mail. I think it'll work fine.

Have a nice day.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.