Hi there, we have a site using J3 and CFv6. We just switched the site to use SMTP in Joomla's global config and were able to send and receive a test message from there, all good. However, our chronoform is not sending mail. When I turn on the debug, it simply says:
[result] => the Mail could not be sent.This would make sense if it was trying PHPmail, which is disabled for this account. How do I verify that it's attempting to use SMTP? Is there a setting in Chronoforms that I need to enable so it makes the switch? Is there any way to get a more detailed error message that might tell me more about the problem?
It pretty much just calls the Joomla mail function, which when you delve into the code, only returns true or false. Nothing else.
Some things you can do
Some things you can do
- Make sure the email addresses are valid
- Make sure the "from" email address is on the correct domain - e.g. if you're sending from mysite.com, you cannot have the email address alerts@big_banking_company.com
- Make sure the "to" email address list is unique - it will fail if you have the same address twice.
Yes I have it set up to send to my address while we're trying to troubleshoot this. When I use the test button in Joomla global config, I get the test just fine. But when I try to submit the chronoform with only my address in the "to" field, I get that error.
I had left the "from" email blank so it would just use the site email from global config (which yes is a valid email and for the same domain) but I didn't see it in the debug info, so I also added it manually to the "from" field, but still no luck.
I also tried changing the "to" address from a gmail account to an email account on the same domain, but that didn't help either.
It's really baffling to me why it works from Joomla global config but not from a form. My only thought was that with CF5 we sometimes had the problem where we would tell it to use Joomla's mail settings but it would ignore that unless we manually entered the SMTP info into the CF settings, so I thought perhaps CF6 was having the same issue. But it sounds like that's not the case either.
Any other ideas?
I had left the "from" email blank so it would just use the site email from global config (which yes is a valid email and for the same domain) but I didn't see it in the debug info, so I also added it manually to the "from" field, but still no luck.
I also tried changing the "to" address from a gmail account to an email account on the same domain, but that didn't help either.
It's really baffling to me why it works from Joomla global config but not from a form. My only thought was that with CF5 we sometimes had the problem where we would tell it to use Joomla's mail settings but it would ignore that unless we manually entered the SMTP info into the CF settings, so I thought perhaps CF6 was having the same issue. But it sounds like that's not the case either.
Any other ideas?
You need to login to be able to post a reply.