TurnKey Linux Virtual Appliance Library

LAMP mail config

david_7's picture


I'm using the LAMP server (ubuntu 10.04) within VMware Fussion on my macbook for php dev, however I can not get it to send mail via the php mail() function.

I've no idea where to start to sort this out. I have checked the system logs and it says 'status=bounced' and '-Verification failed for <www-data@localdomain>'

I only want to be able to send email from my apps to myself for testing purposes. 

Any ideas as to how I can set this up.



Guest's picture

I also am having difficulty

I also am having difficulty getting the mail() function in php to send me an email at gmail from my bacement LAMP server :(

Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account, used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <p> <span> <div> <h1> <h2> <h3> <h4> <h5> <h6> <img> <map> <area> <hr> <br> <br /> <ul> <ol> <li> <dl> <dt> <dd> <table> <tr> <td> <em> <b> <u> <i> <strong> <font> <del> <ins> <sub> <sup> <quote> <blockquote> <pre> <address> <code> <cite> <strike> <caption>

More information about formatting options

Leave this field empty. It's part of a security mechanism.
(Dear spammers: moderators are notified of all new posts. Spam is deleted immediately)