Qmail Problem

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
debraduvall
Forum Newbie
Posts: 1
Joined: Mon Sep 25, 2006 5:11 pm

Qmail Problem

Post by debraduvall »

Hi,

I need a mail form for Qmail. I tried somethings but its not working. Can you send me some example codes for Qmail form.
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Re: Qmail Problem

Post by Chris Corbyn »

debraduvall wrote:Hi,

I need a mail form for Qmail. I tried somethings but its not working. Can you send me some example codes for Qmail form.
Qmail is a complete PITA. I bet the problem is that you've got LF without CR.

i.e.

Code: Select all

$message = "Foo\n".
"Bar";
When it needs to be:

Code: Select all

$message = "Foo\r\n".
"Bar";
If that doesn't fix it grab Swift Mailer and have a go with that since I spent a good amount of time working things around Qmail.
Post Reply