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

I'm running XP Pro, and I have a XAMPP setup. I'm learning Zend Framework, and I'm trying to use Zend_Mail. I guess I need to setup or configure my SMTP on my machine for this to work?

Can anyone tell me how to do this and most importantly how to test this to know if it's working (maybe an easier way than zend_mail because I'm a newbie there too and I may be doing other things wrong there).

So in short, I just want to set up SMTP and mail from localhost just to be sure things are set up correctly.

PS: so far, I have turned on (installed) the IIS from the windows components.

share|improve this question

2 Answers 2

up vote 1 down vote accepted

It'll likely be easier to use an external SMTP server such as the one provided by your ISP.

See the Zend Framework Manual for instructions on using the smtp transport.

share|improve this answer
    
Yes, I've been reading the horrible manual for days... –  Joel Jul 8 '10 at 19:49
    
I'm going to mark your answer correct as a combination of my answer and your answer has led me to a solution. –  Joel Jul 8 '10 at 21:35

I found this and it got me up and running and even had a simple test: http://roshanbh.com.np/2007/12/sending-e-mail-from-localhost-in-php-in-windows-environment.html

Turns out that the Windows component IIS seems unneeded here. I had to disable it for my apache server to connect.

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.