Does anyone have a script or any code to use php and curl to send an email via SMTP. Basically my current circumstances leaves me needing to send e-mails using SMTP - and the only way I can do this is by using CURL. I'm sure it's possible..but all my searches yield nothing, apparently it's possible with Fsock but my paid host seems to be a little overprotective and has disabled this.

Rather then change hosts, I'm looking for a php solution.