PDA

View Full Version : PHP - mailx, mail() and googlemail



ironfistchamp
February 17th, 2007, 09:45 PM
Hey all

I am trying to create a way to send verification emails to people who register on my website. It is a totally home built thing so I really need some help (no company to complain at lol). Basically I have installed mailx and set it up to how I think it should be. I used kingfly.co.uk as the domain for it as that's the domain name I have. Using the mail function I can send email. There are two problems.

The first is that it gets put in spam. Why is it doing this and how can I stop it? The second problem is that it gets sent as www-data. Is there a way I can change the user it is sent as? It looks pretty unprofessional as it is.

Thanks for any help you can give me

Ironfistchamp