in reply to Re^2: contact form not mailing (urgent!)
in thread contact form not mailing (urgent!)

I know this is a tough situation for you. Please take five minutes to step back from the problem at hand and relax.

intermission

Welcome back.

Did you follow the steps that I outlined? Especially the step of redirecting the output into a file and then piping the file to sendmail, to see the error message(s)? My guess is, that you are not delimiting the email headers from the email message with an empty line as is customary. But that is just a guess since I am a long time user of MIME::Lite which takes care of these pesky details for me. So please, do follow the outlined steps for debugging, as it will make the job easier, now and in the future, for you and me.

  • Comment on Re^3: contact form not mailing (urgent!)

Replies are listed 'Best First'.
Re^4: contact form not mailing (urgent!)
by coldfingertips (Pilgrim) on Jul 07, 2005 at 21:56 UTC
    I thank you for your help.

    I thought it might be because there's no space after Subject: in the email line, but that wasn't it. So I sat there comparing all my working scripts to this one and it finally dawned on me. I wasn't -t on sendmail.

    The minute I noticed this I was 90% sure this was the problem.. sure enough, adding this to both emails fixed the problem and the emails are working just fine! I hate moving files from one server to the next, they never seem to work right away :)

    Thanks for your help.