Hi, my form seems to work, redirects to right place on submit, but does not send email. Do I have to setup anything in the form to make this happen?
I have the To, From, Subject, From Name set and have tried various email addresses.
Can anyone help?
I have the To, From, Subject, From Name set and have tried various email addresses.
Can anyone help?
Hi 828LES,
There is a buggy version of chronocontact.php around that fails like this if you use a ReDirect URL. Remove the ReDirect URL and check that everything works OK - if it does then search the forums here for 'chronocontact.php' and you should easily find the fixed version.
Bob
There is a buggy version of chronocontact.php around that fails like this if you use a ReDirect URL. Remove the ReDirect URL and check that everything works OK - if it does then search the forums here for 'chronocontact.php' and you should easily find the fixed version.
Bob
Thanks for the answer, GreyHead.
I tried the new chronocontact.php, but got a "could not instantiate email" message.
It doesn't send email if I leave out the redirect either.
With the new chronocontact.php, it gives the could not instantiate error, and with the old chronocontact.php it just returns the blank page, but no email is sent either way.
Could I be doing something else wrong?
I tried the new chronocontact.php, but got a "could not instantiate email" message.
It doesn't send email if I leave out the redirect either.
With the new chronocontact.php, it gives the could not instantiate error, and with the old chronocontact.php it just returns the blank page, but no email is sent either way.
Could I be doing something else wrong?
Hi 828les,
The "could not instantiate email" message suggest that you don't have mail set up properly for your site. Check the Global Configuration | Server |Mail Settings block and make sure this is configured correctly for your site. There are three different options - some only work on some sites, just which depends on your ISP.
Bob
The "could not instantiate email" message suggest that you don't have mail set up properly for your site. Check the Global Configuration | Server |Mail Settings block and make sure this is configured correctly for your site. There are three different options - some only work on some sites, just which depends on your ISP.
Bob
Hi again, and thanks again GreyHead...
I tried all three email options in Global Configuration, but to no avail.
My regular joomla contact form is sending email fine, and the debug msg tells me email has been sent, using 'sendmail' option, but it still doesn't appear. I've checked junk mail and tried different To: addresses.
I tried all three email options in Global Configuration, but to no avail.
My regular joomla contact form is sending email fine, and the debug msg tells me email has been sent, using 'sendmail' option, but it still doesn't appear. I've checked junk mail and tried different To: addresses.
Hi 828les,
Which Chronoforms version do you have installed ? and please tell me whats the result with its own chronocontact.php file comes with it!
Max
Which Chronoforms version do you have installed ? and please tell me whats the result with its own chronocontact.php file comes with it!
Max
Hi Max,
I have v3.0 for Joomla 1.5
The result with the original chronocontact.php is that no email is sent, but the data is stored and can be viewed.
Here is the result with debug on:
_POST: Array ( [Name] => test 9 [Email] => [email]me@example.com[/email] [Comment] => This is test 9. [Submit] => Submit )
Case 1: Use table layout
E-mail: 'Yes' custom
Email sent
E-mail message
From: []
To:
Subject:
Name test 9
Email [email]me@example.com[/email]
Comment This is test 9.
Submit Submit
Reset
I have v3.0 for Joomla 1.5
The result with the original chronocontact.php is that no email is sent, but the data is stored and can be viewed.
Here is the result with debug on:
_POST: Array ( [Name] => test 9 [Email] => [email]me@example.com[/email] [Comment] => This is test 9. [Submit] => Submit )
Case 1: Use table layout
E-mail: 'Yes' custom
Email sent
E-mail message
From: []
To:
Subject:
Name test 9
Email [email]me@example.com[/email]
Comment This is test 9.
Submit Submit
Reset
Hi 828les,
indeed no clues for this, did you try different receiver emails ? it says "Email sent", this means joomla managed to send the email, check your junk ? try to use SMTP email ?
indeed no clues for this, did you try different receiver emails ? it says "Email sent", this means joomla managed to send the email, check your junk ? try to use SMTP email ?
Hi 828les,
It does say email sent but the To address is empty which is probably why nothing is being sent. What do you have in the Email Address(es): box on the General tab?
Bob
It does say email sent but the To address is empty which is probably why nothing is being sent. What do you have in the Email Address(es): box on the General tab?
Bob
Hi Bob,
he has V3.0, no email addresses in the general tab, I think I didn't prepare the DEBUG code well, fixing many things in BETA 2
Regards,
Max
he has V3.0, no email addresses in the general tab, I think I didn't prepare the DEBUG code well, fixing many things in BETA 2
Regards,
Max
I finally got this working this morning, but am not sure why, other than maybe I finally got the right combinations of to and from emails, and the right global configuration for send email.
I kept trying different emails for the To: block of the 'Setup Emails' tab. Sometimes it would show the 'email properties' box and sometimes it wouldn't. Now it seems to show consistently and the 'enabled' option remains 'yes'. It is working with two email addresses that wouldn't work previously.
Thanks for all your help, Max and GreyHead.
I will go buy the license.
I kept trying different emails for the To: block of the 'Setup Emails' tab. Sometimes it would show the 'email properties' box and sometimes it wouldn't. Now it seems to show consistently and the 'enabled' option remains 'yes'. It is working with two email addresses that wouldn't work previously.
Thanks for all your help, Max and GreyHead.
I will go buy the license.
It's unfortunate that the solution for this problem remains something of a mystery, because I'm having exactly the same issue.
If I set the Global Configuration Mailer to sendmail, I do get the same debugging message that the email is sent, but nothing shows up on the other end. The file is uploaded, however. We just don't receive any notification.
_POST: Array ( [firstname] => first [lastname] => last [email] => [email]myemail@domain.net[/email] [file] => file.jpg [submit] => Submit )
Case 1: Use table layout
E-mail: 'Yes' custom
Email sent
If I switch it to PHP Mailer, it won't mail at all. I get an error message. Same for SMTP.
If I set the Global Configuration Mailer to sendmail, I do get the same debugging message that the email is sent, but nothing shows up on the other end. The file is uploaded, however. We just don't receive any notification.
_POST: Array ( [firstname] => first [lastname] => last [email] => [email]myemail@domain.net[/email] [file] => file.jpg [submit] => Submit )
Case 1: Use table layout
E-mail: 'Yes' custom
Email sent
If I switch it to PHP Mailer, it won't mail at all. I get an error message. Same for SMTP.
Hi randy270,
The last couple of posts were a little different as they were with the 3.0 beta.
We do know that mailing works well with 2.5 provided that everything is set up correctly. Please check FAQ 36 and make sure in particular that you can send email from your Joomal installation. You may need to check with your ISP what the correct config settings are.
Bob
The last couple of posts were a little different as they were with the 3.0 beta.
We do know that mailing works well with 2.5 provided that everything is set up correctly. Please check FAQ 36 and make sure in particular that you can send email from your Joomal installation. You may need to check with your ISP what the correct config settings are.
Bob
I've tested the email function within Joomla using the Mass Mail function, and that works fine. The email was sent and received. But I've combed and combed this Chronoform for something that was not quite right, and I can't find a thing. Files upload but the email is not getting sent despite the debugging function telling me otherwise.
Then I created another very simple form without the upload, and that didn't work either.
I have the Global Configuration set to use sendmail and the application does exist on my host's server.
And yes, I've checked FAQ 36. Nothing seems to be missing.
I did get this to work for another site uploaded and installed at another host, but those forms don't have upload functions. So, I know that this works, but not with this installation. It'd help if there were some log file I could read to see how the process unfolds.
😟
Then I created another very simple form without the upload, and that didn't work either.
I have the Global Configuration set to use sendmail and the application does exist on my host's server.
And yes, I've checked FAQ 36. Nothing seems to be missing.
I did get this to work for another site uploaded and installed at another host, but those forms don't have upload functions. So, I know that this works, but not with this installation. It'd help if there were some log file I could read to see how the process unfolds.
😟
Hi randy,
Can I see screenshots of your general tab and special fields tab ?
Can I see screenshots of your general tab and special fields tab ?
Not to speak too soon, but amazingly enough, for some reason it all just started to work at some point -- not unlike the previous poster -- sort of.
I get the notification at one address, a test address I set up with Yahoo, but notification won't come to the other address I listed. I suspect it's a spam filter thing, except that it's a gmail address that will at least show me the spam before I delete it.
Another question: Can I configure this so that the uploaded file is NOT emailed as well? Emailing the attachment kind of defeats the purpose of this feature for me.
Anyway, here's the screen shots:
[attachment=1]gentab.jpg[/attachment]
[attachment=0]specialfields.jpg[/attachment]
I get the notification at one address, a test address I set up with Yahoo, but notification won't come to the other address I listed. I suspect it's a spam filter thing, except that it's a gmail address that will at least show me the spam before I delete it.
Another question: Can I configure this so that the uploaded file is NOT emailed as well? Emailing the attachment kind of defeats the purpose of this feature for me.
Anyway, here's the screen shots:
[attachment=1]gentab.jpg[/attachment]
[attachment=0]specialfields.jpg[/attachment]
Hi Randy,
Clear the Email field at the special fields tab!
to disable attachments, add
Cheers
Max
Clear the Email field at the special fields tab!
to disable attachments, add
$attachments = NULL;
just before the mail function line in your chronocontact.php, if you can't find the line then tell me your Joomla version and I will writ the line for you here!Cheers
Max
Max,
Thanks. Yeah, I'm going to need you to either tell me which line number to apply that code or to write the line for me.
I'm using Joomla v. 1.5.4
Thanks. Yeah, I'm going to need you to either tell me which line number to apply that code or to write the line for me.
I'm using Joomla v. 1.5.4
$email_sent = JUtility::sendMail($from, $fromname, $recipients, $subject, $email_body, $mode, $ccemails, $bccemails, $attachments, $replyto_email, $replyto_name );
So it should read:
$email_sent = JUtility::sendMail($from, $fromname, $recipients, $subject, $email_body, $mode, $ccemails, $bccemails, $attachments = NULL, $replyto_email, $replyto_name );
Correct?
$email_sent = JUtility::sendMail($from, $fromname, $recipients, $subject, $email_body, $mode, $ccemails, $bccemails, $attachments = NULL, $replyto_email, $replyto_name );
Correct?
No, dont change the line itself, just add $attachments = NULL; over it!
$attachments = NULL;
$email_sent = JUtility::sendMail($from, $fromname, $recipients, $subject, $email_body, $mode, $ccemails, $bccemails, $attachments, $replyto_email, $replyto_name );
I had the same problem. I would get the "Could not instantiate mail function" error when I would try to send an email from chrono forms. My email would work fine otherwise, for example when I created a new account they would be sent an email successfully.
I was using version 3...I tried beta 1 and beta 2. When I used version 2.5 the mail works but I am not interested in 2.5 because the functionality doesn't compare to version 3. Hopefully they will get this fixed soon.
I was using version 3...I tried beta 1 and beta 2. When I used version 2.5 the mail works but I am not interested in 2.5 because the functionality doesn't compare to version 3. Hopefully they will get this fixed soon.
I will answer serta here :
http://www.chronoengine.com/forums/index.php?option=com_chronoforums&cont=posts&f=5&t=9979
http://www.chronoengine.com/forums/index.php?option=com_chronoforums&cont=posts&f=5&t=9979
No, dont change the line itself, just add $attachments = NULL; over it!
$attachments = NULL;
$email_sent = JUtility::sendMail($from, $fromname, $recipients, $subject, $email_body, $mode, $ccemails, $bccemails, $attachments, $replyto_email, $replyto_name );
Max, the line of code you sent me is somewhat different than what is in the original file. Note that your line has two extra elements not in the original line ($email_body, and $mode,) and is missing an element found in the original line ($html_message, true,). I restored this last element and the results page returns, but the email that gets sent is empty of both text (bad) and attachment (good). File does get uploaded.
It seems that if I don't include $email_body, $mode,, the upload and email function works and writing $attachments = NULL; does stop the attachments.
In the last test I sent out, I finally noticed another odd anomaly. I have the results emailed to three addresses, a Yahoo address, a Gmail address, and my company address. The company address for whatever reason gets sent out to /html@art270.com, when it should be randy-at-art270.com. So, to mix things up, I moved that address to last, and I changed the From Email: field to another company address. That seems to have fixed the /html@art270.com problem.
But for whatever reason, I'm not getting the results email sent to my address at randy-at-art270.com. I guess I have to blame that on the mail server, because the other test addresses are receiving the results message just fine, albeit over 15 minutes later.
Hi radny270,
Just for clarity - the code in CF 2.5 is
and in CF 3.0 it is
Bob
Just for clarity - the code in CF 2.5 is
$email_sent = JUtility::sendMail($from, $fromname, $recipient,
$subject, $html_message, true, $ccemails, $bccemails, $attachments,
$replyto_email, $replyto_name );
and in CF 3.0 it is
$email_sent = JUtility::sendMail($from, $fromname, $recipients,
$subject, $email_body, $mode, $ccemails, $bccemails, $attachments,
$replyto_email, $replyto_name);
Bob
So, just to update my situation and to share my growing knowledge of Chronocontact and all-things-Joomla, I discovered why I wasn't receiving email notifications to my company's address. We're using Google Apps to handle all email sent to our domain, and there is an issue with attempts to send mail generated by forms on our domain to ourselves. This issue is addressed here:
http://www.google.com/support/a/bin/answer.py?answer=55299
We contacted our web host, and they reconfigured our mail server to properly obey the MX record for the domain. Problem fixed.
Another issue:
The email notifications aren't listing the file that gets uploaded. The email shows the name and email address, but not the file. What's missing?
Thanks.
http://www.google.com/support/a/bin/answer.py?answer=55299
We contacted our web host, and they reconfigured our mail server to properly obey the MX record for the domain. Problem fixed.
Another issue:
The email notifications aren't listing the file that gets uploaded. The email shows the name and email address, but not the file. What's missing?
Thanks.
this needs a hack to get the file name, look at it here in the forums, we fixed that in V3.
good luck!
Max
good luck!
Max
Can you suggest a search term to find this solution or point me to the posting itself? Sorry to be such a bother.
Or, if the full version of V3 is imminent, I might be able to wait for that. Thanks!
Or, if the full version of V3 is imminent, I might be able to wait for that. Thanks!
Hi randy,
well, BETA 2 is not too bad, only few glitches which will not affect the normal usage and remember you can upgrade easily to any V3 later!🙂
you should search for $_FILE I think!
Regards,
Max
well, BETA 2 is not too bad, only few glitches which will not affect the normal usage and remember you can upgrade easily to any V3 later!🙂
you should search for $_FILE I think!
Regards,
Max
Max,
When I search for $_FILE the system strips the non-alpha characters and reads it as file. I tried placing quotes around it, but that doesn't work either.
Randy
When I search for $_FILE the system strips the non-alpha characters and reads it as file. I tried placing quotes around it, but that doesn't work either.
Randy
Hi Randy,
find this line in chronocontact.php:
add under it :
cheers
Max
find this line in chronocontact.php:
$uploadedfile = handle_uploaded_files($original_name, $filename);
add under it :
$_POST[$allowed_s2[0]] = $filename;
cheers
Max
No problems!🙂
Hello there
I' m working with version 3 beta2 and joomla 1.5.6. I get the message: could not instantiate mail function. The email is not been send out. The email function within joomla however works ok (i tested mass mail). The parameters to, subject, from name, from email are filled. I have a green light in the email tab. What is the problem??
Best regards
Marcel
I' m working with version 3 beta2 and joomla 1.5.6. I get the message: could not instantiate mail function. The email is not been send out. The email function within joomla however works ok (i tested mass mail). The parameters to, subject, from name, from email are filled. I have a green light in the email tab. What is the problem??
Best regards
Marcel
Hi Marcel,
maybe they are filled but with wrong values, show me what they are filled with in a PM!
Cheers
MAx
maybe they are filled but with wrong values, show me what they are filled with in a PM!
Cheers
MAx
Max
I' ve send you an PM with my emailsettings and a debug example. Hope you find the problem
Best regards
Marcel
I' ve send you an PM with my emailsettings and a debug example. Hope you find the problem
Best regards
Marcel
Hi Max
a new PM is send to you with the emailsettings and some debuginformation
Best regards
Marcel
a new PM is send to you with the emailsettings and some debuginformation
Best regards
Marcel
Hello There,
I am new to Joomla and this advanced form system, and I would really love to get working in my site, I am using Joomla 1.5.6 And CF 3.0 beta 2 , and tried many things already users posted here but with no luck.
Right now I get the following Message error with My message sent confirmation that I made.
Kindly pay a look
No Message is received and I am not able to set E-mail Enabled to Yes in E-Mail Properties. Any advice ?!
My Configuration:


Big Edit:
It's Working now.
Everyone you should read the 3rd PDF file in the tutorial section. Thank you so much
I am new to Joomla and this advanced form system, and I would really love to get working in my site, I am using Joomla 1.5.6 And CF 3.0 beta 2 , and tried many things already users posted here but with no luck.
Right now I get the following Message error with My message sent confirmation that I made.
Kindly pay a look
Dear {text_2}
Your order has been successfully submitted,
Fatal error: Call to a member function on a non-object in /home/earscom/public_html/hosting/components/com_chronocontact/chronocontact.php(578) : eval()'d code on line 10
No Message is received and I am not able to set E-mail Enabled to Yes in E-Mail Properties. Any advice ?!
My Configuration:


Big Edit:
It's Working now.
Everyone you should read the 3rd PDF file in the tutorial section. Thank you so much
This topic is locked and no more replies can be posted.