Swithing on DEBUG shows a correctly formatted and filled in mail message, mail never arrives however. When adding my own mail() call in onSubmit fields (both before and after sending email) these mails arrive. I did follow all your tutorials but no solution for this problem so far. Can anybody give me any clue what is going on and how to solve it ??
regards,
Jan-Willem
[attachment=0]emails_template.jpg[/attachment]
[attachment=1]general.jpg[/attachment]
in the forms manager and in front of your form, does it say "Enabled : 1" or "Disabled : 1" ?
Regards
Max
regards,
Jan-WIllem
[attachment=0]forms_menu.jpg[/attachment]
because may you have set up more than 1 email and some of them are disabled!
try to use "admin" and "admin@admin.com" as the from name and email!
try to change the mail method in the Joomla global config!
Regards
Max
Regards
Max
To what should I change the Joomla mail conif ?? I already tried sendmail, no difference.
regards,
Jan-Willem
[attachment=0]debug_output.jpg[/attachment]
Joomla says the email has been sent successfully, so, try SMTP ? do you look at your bulk/SPAM folder ? do you have the latest Joomla version ? watch your email logs at your server, may be it will tell the solution, sometimes there is a small problem which needs to get fixed first.
Regards
Max
Is the (enabled:1 disabled:0) in the Forms Manager correct ??
regards,
Jan-WIllem
Chronoforms will use the Joomla core code mail function to send the email after it feeds it with all the necessary info, the Joomla core function will return either true or false, it returns true on the debug which means that the email has been sent ok, this means that all chronoforms settings are correct and an email should be received at your target email but if it doesn't then something is wrong either with Joomla itself or your mail server or the target mail server, try to play with those 3 things, try to setup a new site in Joomla 1.5.8 and test, change your target email and from emails, check you spam boxes, fixing this issue is based on trials you can make until you get it working!
Regards
Max
after upgrading to Joomla 1.5.8 and consulting our ISP, the problem is still there. Our ISP does not catch the mail in the spam-filter, he does however see that some mails are not transmitted when sending mail via SMTP (global config in Joomla). The debug output did show PHPMAILER_RECIPIENTS_FAILED (sorry no screenshot available now). does this ring a bell ?? The test-mails in before and after submit codefields are all sent OK (via php's mail())
regards,
Jan-WIllem
The same problem happens with another user here and I went and tried many things but I couldn't get it to work at all, did you try the JUtility::senmail line test ?
regards
MAx
regards,
Jan-WIllem
add this to the onsubmit after email and replace the the variables with some of your data :
JUtility::sendMail('admin@admin.com', 'admin', 'youremail@domain.com', 'some subject', 'email body', true);
do you get any emails ?
$Name = "jaja"; //senders name
$email = "jaja@admin.nl"; //senders e-mail adress
$recipient = "blah@gmail.com"; //recipient
$mail_body = "The text for the mail..."; //mail body
$subject = "testmail afterSending"; //subject
$header = "From: ". $Name . " <" . $email . ">\r\n"; //optional headerfields
mail($recipient, $subject, $mail_body, $header); //mail command🙂
and
JUtility::sendMail('info@admin.nl', 'admin', 'blah@gmail.com', 'some subject', 'email body', true);
the first mail is delivered, the second one never arrives
are both sent in the same manner ??
regards,
Jan-WIllem
try this instead :
JUtility::sendMail('info@admin.nl', 'admin', 'blah@gmail.com', 'some subject', 'email body', 0);
let me know the results please!
Regards
Max
regards,
Jan-WIllem
see the last post here:
http://forum.joomla.org/viewtopic.php?f=431&t=272547
may be you need to play with the from and to emails.... 🤨
this one too:
http://forum.joomla.org/viewtopic.php?f=431&t=315033
I believe it may be something with the from email and is caused by some restrictive setting in your mail server!
let me know what you reach to!
Regards
Max
regards,
Jan-WIllem
Regards
Max
I've stipped my form to it's bare bones (only a submit-button), commented the processing of the received data and left in my testmail snippet. I also set site-logging to maximum. I would expect to start off with an empty form with only buttons and on submission receive two mails: one via chronoForm and one via the onSubmit mail() testsnippet, only the latter shows in my inbox.
To my surprise, the following info is logged in the front-end:
Notice: Undefined property: stdClass::$plugins in /sites/www.lotusnmlimburg.nl/components/com_chronocontact/chronocontact.php on line 286
Notice: Undefined property: stdClass::$mplugins_order in /sites/www.lotusnmlimburg.nl/components/com_chronocontact/chronocontact.php on line 287
Notice: Undefined index: '. $name .' in /sites/www.lotusnmlimburg.nl/components/com_chronocontact/chronocontact.php on line 346
Notice: Undefined index: '. $name .' in /sites/www.lotusnmlimburg.nl/components/com_chronocontact/chronocontact.php on line 349
Notice: Undefined property: stdClass::$plugins in /sites/www.lotusnmlimburg.nl/components/com_chronocontact/chronocontact.php on line 507
Notice: Undefined property: stdClass::$mplugins_order in /sites/www.lotusnmlimburg.nl/components/com_chronocontact/chronocontact.php on line 508
Bedankt voor uw declaratie. Mocht u nog vragen hebben, laat dan wat weten via [email]info@lotusnmlimburg.nl[/email]
sent testmail after mailing
does this give you any clues ??
I tried your hint about changing the controller.php (adding the addReplyTo() call) but no difference. Even when deliberately corrupting the php, Joomla does not complain. It looks as if this part of code is never executed .
regards,
Jan-WIllem
Those warnings should have no effect at all with the email issue, I still think that this is a problem with the php mailer code itself or your combination of the to and from eials, try to send to a gmail or yahoo email and from your joomla "from email" like webmaster@your_current_domain.com.
you can hide those warnings by setting error reporting to none in the global config!
Best regards
Max
Debug on
When i submited ,it show
_POST: Array ( [text_1] => Kshiro [text_2] => vioflux@gmail.com [undefined] => Submit [1f90d02c4ad791d570a71cda9a41ae93] => 1 )
A copy of your form sent to vioflux@gmail.com


Help me !
Regards
If you look at the image you posted you'll see that it says Emails: enabled 0, disabled 1.
You need to enable the email in the Properties box. Please download the Email tutorial from the Downloads section if you have any problems.
Bob