XAMPP is a great tool for quickly setup LAMP infrastructure for web application development. However, getting the mail function to work under Linux can be a bit challenging.
After many hours of battle, I finally got it working. The step I used on my Ubuntu setup are:
- Running the dpkg-reconfigure exim4-config, and follow the onscreen instructions.
- Editing the /etc/exim4/passwd.client file to setup the authentication details if your smtp server needs authentication (ref: http://www.lexspoon.org/linux/smtp-relay.html).
- restarting exim4 by running /etc/init.d/exim4 restart
- cross your figure and hope mail works!
No comments:
Post a Comment