ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

PHP error on Freeform form submission

August 07, 2008 11:45am

Subscribe [1]
  • #1 / Aug 07, 2008 11:45am

    justjess

    16 posts

    Hi - my email contact form built using freeform is returning the following error:

    Warning: mail() [function.mail]: Bad parameters to mail() function, mail not sent. in /home/content/s/e/d/sederholmpa/html/sedsys/core/core.email.php on line 1202

    Warning: Cannot modify header information - headers already sent by (output started at /home/content/s/e/d/sederholmpa/html/sedsys/core/core.email.php:1202) in /home/content/s/e/d/sederholmpa/html/sedsys/core/core.functions.php on line 296


    Searching the forum provided info that perhaps an error like this comes from extra space surrounding the php statement? I’ve looked at the code, but there doesn’t seem to be anything out of the ordinary.

    Thanks,
    Jess

  • #2 / Aug 07, 2008 11:51am

    Robin Sowell

    13255 posts

    The header warning is due to the mail function warning- most likely.  Since Freeform is a third party module, you’ll really want to ask about it on the solspace forums.  However- it’s a good idea to make sure the stock email is working first before you do.  Can you send emails ok from the communicate tab?

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases