I have tried for a full day. Closes I got was it send via command line but not in my script. I removed everything in disgust
I need to be able to send emails via SMTP with php on my UBUNTU server. I do not have a cpanel so knowlege of how to do it via SSH is essential.
I can provide ALL email details once project is awarded