Forums

Form not sending.

fullfusion 27 Mar, 2013
I have two form on a new site I am building. Joomla! 2.5.9, ChronoForms V4 RC3.0. One form is sending fine while the other gives a message of "Could not instantiate mail function." http://prismtex.com/new-prism/contact-us Form working. http://prismtex.com/new-prism/about/careers Not sending. Here is the debugger report. What's causing this?

Data Array:

Array
(
    [chronoform] => application
    [event] => submit
    [Itemid] => 262
    [option] => com_content
    [view] => article
    [id] => 275
    [name] => Peregrin Took
    [phone] => 123-456-7890
    [city] => Hobbiton
    [state] => The Shire
    [email] => 
 pippin@tookfamily.com
    [desired_position] => Relaxing
    [resume] => 
    [notes] => This is a test.
    [chrono_verification] => q79h5
    [input_submit_11] => Submit
    [9b0bd7be16d9e2c9fa6bfc69ad795334] => 1
)

Validation Errors:

Array
(
)

Debug Data

    Core Captcha
        Passed the core captcha check!
    Upload routine started for file upload by : resume
    /home3/prismtex/public_html/new-prism/components/com_chronoforms/uploads/application/20130327154152_How to upgrade.pdf has been uploaded successfully.
    email
        5
            Result An email has been SENT successfully from (Peregrin Took) pippin@tookfamily.com to support@fullfusion.net	
            Body
            PrismTex Application
            Name 	Peregrin Took
            Phone Number 	123-456-7890
            City 	Hobbiton
            State 	The Shire
            Email Address 	pippin@tookfamily.com
            Desired Position 	Relaxing
            Notes 	This is a test.


            Submitted from 99.13.228.249 IP address.

            Resume:
            Attachments array ( 0 => '/home3/prismtex/public_html/new-prism/components/com_chronoforms/uploads/application/20130327154152_How to upgrade.pdf', )
    redirect_user
        redirect_user_target_url: /new-prism/congratulations
        Redirect URL (click to continue):
        /new-prism/congratulations
GreyHead 28 Mar, 2013
Hi fullfusion,

Everything looks OK in the Debug report except for the attachment name that has spaces in it. I do know that file names like that can cause form problems - I don't recall if they break emails. Does the form work without the attachment?

Bob
fullfusion 28 Mar, 2013
No. I get the same result without the attachment.
GreyHead 29 Mar, 2013
Hi fullfusion,

:-( a little odd but does the From Email address in the Site Email configuration match the From Email address used in the Email action?

Bob
fullfusion 29 Mar, 2013
No. The email action is using the email field from the user in the "Dynamic From email" field. I've done this on other forms without a problem and the other form on the site that is working is set up the same way.
fullfusion 29 Mar, 2013
FYI - the site is now live at prismtex.com. Any other ideas on why the careers form isn't working?
GreyHead 30 Mar, 2013
Hi fullfusion,

As far as I can tell the Careers form is working OK?

Bob

PS I strongly recommend that you do *not* use the Dynamic From Email element in your Email Setups. Using this often results in your emails being marked as spam and dropped into a spam filter. Instead use the static From Email with an address that matches the site domain name and use Dynamic ReplyTo Email for the user email. The result is the same but with a much better chance of good delivery.
fullfusion 30 Mar, 2013
Hmm. Working for me now too. Perhaps moving it to the web root did something. I will follow you advice on the dynamic fields as well. Thanks Bob.
This topic is locked and no more replies can be posted.