hey my host has disallowed the mail() function, any alternatives?

unlikely.
you could try to connect your smtp-server with fsockopen http://de.php.net/manual/en/function.fsockopen.php and then send emails via the smtp-protocoll (which isn't very complicated). But I guess if you sever has disallowed mail() it also has restricted fsockopen().

In worst-case you have to find yourself a new server.

Have you tried the imap functions?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.