Re: Re: Re: Re: Re: cant send registration email
> The debug line is reporting wrong. So there is definately something wrong with the function send($recipients, $type = 'mail') right?
yes
You can check in the snedmail log usually at /var/log/maillog. Perhaps you will find something
The best is to try to reproduce the problem outside tikiwiki. You said you already check a mail call outside tw. So now you have to try with the same params. Perhaps something is wrong with the headers - it is always the tricky part of the mail.
pick up the param from your htmlmimemail file
echo "TO:$toSUBJECT:$subjectOUTPUT:$this->outputHEADER".implode(CRLF, $headers);
Create a new file php by replacing the variable by the values you got
mail($to, $subject, $output, $headers);