Cheers for this mate. My host dropped this bullshit in my support ticket this week, so this does exactly what it says on the tin:
Yes, PHP Mail() function is supported in the server. When running a PHP Mailer on the server, you should have the following information on the mail function.
mail("$to", "Subject","Content", "From: $from", "-f$from" )
The first parameter to MAIL is the address to which you want the form contents sent, in this case your own email address. The second parameter is the subject of the email message, the third is the content of the message and the fourth is the "From" header so that you know who the sender is, and can reply.
In order for the script to work, you need to specify, via a fifth -f parameter, the domain from which the mail is being sent(-froot@yourdomain.co.uk). The PHP component uses SMTP (Simple Mail Transfer Protocol), and all StreamlineNet SMTP servers have filters which ensure that the data returned by either the first or fifth mail parameter relates to one of your domains hosted by StreamlineNet.
Note: The script has to be enclosed within the “” tags because the PHP processor treats all input as HTML code unless otherwise specified. On some systems, you may need to use “” as the opening and closing tags to get the script to work.
Will def consider a donation next time round :]
Best,