I am aware of the mail() function in php but I have yet to read anything in any manual which tells me how to specify an outbound SMTP server for sending messages. I have seen many messges which say that you can set it at the web server level but what I would ideally like to do is use any ol' smtp outbound and specify it a run time - for example. this is especially the case as I am using a hosted service which does not give me an outbound smtp, but could theoretically use a hotmail account.
Is there a way of doing this?
Any help much appreciated.