• New Commercial Services Section

    We have now opened a commercial services section here on the forum. If you have a Fabrik project that you wish to have someone work on for you, post it under Help Wanted. If you are an application developer and wish to earn some money helping others, post your details under Fabrik Application Developers.

    Both of these are unmoderated. It will be up to both parties to work out the details and come to an agreement.

Email and Receipt form plugin doesn't send email [SOLVED]

tritongr

New Member
Hi

I tried the simplest possible senarios for both plugins without any code or placeholders.

The test email from J! server configuration (PHP Mail) is sent correctly to a xxx@gmail.com account.

J! and Fabrik are installed on a subdomain of a main domain. Can this be the problem?
Main domain site (J! no Fabrik): www.abc.com
Subdomain site (J! + Fabrik): xyz.abc.com
cPanel hosting.

Thanks
 
Let me correct something.

The problematic site is subdomain of an add-on domain, not of the main domain. So here it is the status:

Main domain: abc.com.
Add-on domain: def.com.
Subdomain site (J! + Fabrik): xyz.def.com.

The test message from Joomla Server configuration page, arrives to xxx@gmail.com on behalf of abc.com.
Mailer is PHP Mail. I didn't try SMTP.
 
As @troester said
Fabrik is using the Joomla settings.
As you said, Joomla emails as per your global configuration are generally working. You could further verify this by quickly setting up and testing with a Joomla contact form.

Means if that's all ok, the culprit is probably how you set up the Fabrik form plugins.
 
You could further verify this by quickly setting up and testing with a Joomla contact form.

Good point, thanks!
I tried a simple joomla build-in contact form and yes it did send the email from the frontend to a contact with gmail account.
 
Did you try to send from xyz.def.com configuration site?

Yes this is where I mentioned I tried the Send Test Mail.
But emal and receipt form plugins refuse to send any email after form submission. I tried theme individually.
 

Attachments

  • Fabrik_ edit form.jpg
    Fabrik_ edit form.jpg
    74.6 KB · Views: 109
Assuming you did not add some conditions which stop the plugins:
Did you try with ONLY e.g. the email plugin? i.e. disable all other plugins (especially your php plugins)?
Did you try with an other (not gmail) email address?
Is your form submitting at all?
 
Assuming you did not add some conditions which stop the plugins:
Did you try with ONLY e.g. the email plugin? i.e. disable all other plugins (especially your php plugins)?
Did you try with an other (not gmail) email address?
Is your form submitting at all?

Thanks a lot! Problem solved after tracking it the way you point.
Disabling all and then one by one the plugins came out that redirect plugin was the issue.
In fact it was my fault because of this line: $mainframe->redirect('https://xyz.def.com/success');
Removed this line and moved the url to Jump page and now everything works fluently.

Thank you all again.
 
Last edited:
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top