We have recently changed our mail server from an Exchange Server to a Qmail Server for spam reasons. Since the change we have encountered problems with the mail() function - SMTP.
I use 4 variables for the mail function mail($recipient, $subject, $messageBody, $headers); I have tried using the /r/n in these variables but I'm always getting server errors! Anyone come across this in the past? Thanks, Andrew