1. Fabrik 3.9 has been released. If you have updated Joomla to 3.9, this is a required update.
    Dismiss Notice

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

Discussion in 'Community' started by tritongr, Nov 8, 2019.

  1. tritongr

    tritongr New Member

    Level: Community
    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
     
  2. troester

    troester Well-Known Member Staff Member

    Level: Community
    Can you send Joomla emails?
    Fabrik is using the Joomla settings.
     
  3. tritongr

    tritongr New Member

    Level: Community
    Thanks for the reply.

    Clicking the button "Send Test Mail", yes the message is sent.
    Is there an other way I can try from inside Joomla?
     
  4. tritongr

    tritongr New Member

    Level: Community
    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.
     
  5. lousyfool

    lousyfool Active Member

    Level: Community
    As @troester said
    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.
     
  6. troester

    troester Well-Known Member Staff Member

    Level: Community
    Did you try to send from xyz.def.com configuration site?
     
  7. tritongr

    tritongr New Member

    Level: Community
    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.
     
  8. tritongr

    tritongr New Member

    Level: Community
    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.
     

    Attached Files:

  9. troester

    troester Well-Known Member Staff Member

    Level: Community
    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?
     
  10. tritongr

    tritongr New Member

    Level: Community
    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: Nov 9, 2019

Share This Page