This is more a hosting problem than an php-problem because my code works perfectly still I hope to have a chance finding someone here who has experienced a similar prob:
When I sen a mail thru my local ftp by the php mail() my mail ends up in the quere-dir of my webserver along with some certificate which the sever didn't seem to accept. If I define another smtp in my php.ini it works perfectly fine and the mail is sent.
Since I use IIS I guess that is some authorization-crap...
Anyone know what else I have to do with my IIS to make it sen mails via php (asp works perfectly)...
Tnx!
WittRaider