Emails no longer been sent?

  • PhoenixUK
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
7 years 11 months ago - 7 years 11 months ago #98579 by PhoenixUK
Emails no longer been sent? was created by PhoenixUK
Hi,

I'm back to using the stock membership pro general email and messages system but also the one's in the plans themselves. I was using a 3rd party email notification plugin but that too isn't working and all this sees to be since I upgraded to Joomla 3.7.

I have turned on MembershipPro Debug.

Then I've found and used for the first time the email log.

The emails I would expect to be sent are logged in here but they are 100% not being sent.

Under "Sent At:" there are two errors showing;
Code:
Notice: Undefined variable: row in /home/removed/removed/1/administrator/components/com_osmembership/view/email/tmpl/default.php on line 53
Code:
Notice: Trying to get property of non-object in /home/removed/removed/1/administrator/components/com_osmembership/view/email/tmpl/default.php on line 53 12/05/2017 14:13

*removed* for public viewable forum post but can show full path via a support ticket if needed.

Any knowledge if any others who have upgraded to J3.7 have suffered email and messages sending issues within membership pro please?

I can confirm in my site's global config>server>email sends emails just fine, which points to more just MemershipPro at this point.

I look forward to hearing from you.
Last edit: 7 years 11 months ago by PhoenixUK.

Please Log in or Create an account to join the conversation.

  • PhoenixUK
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
7 years 11 months ago - 7 years 11 months ago #98581 by PhoenixUK
Replied by PhoenixUK on topic Emails no longer been sent?
P.S. Checking the various "Email Types" dropdown within the Tools>Email Logs section, all kinds of email types that should have sent, which haven't been received all reference the above line 53 two notices.

Seems to point to this line;
Code:
<?php echo JHtml::_('date', $row->sent_at, $config->date_format.' H:i'); ?>

Can a fix / directing me what needs amending urgently be done in this manner Tuan, so I can get back up and running and keep trying to complete my setup?
Last edit: 7 years 11 months ago by PhoenixUK. Reason: added file line in question

Please Log in or Create an account to join the conversation.

More
7 years 11 months ago #98585 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Emails no longer been sent?
If the email is logged, that mean Membership Pro has called Joomla API for sending email

If the email is not being sent, there might be something wrong with mail server and that's something out of our control

Membership Pro just uses Joomla core API to send email to the target email address. As you can see, the email is logged, so there is nothing wrong with Membership Pro in this case

About the warning, it is a typo in the code. However, it is just for displaying purpose, not affect whether the email is sent or not

You can change $row->sent_at to $this->item->sent_at and the warning will be gone

To figure out why email is not be delivered, you will still need to contact the hosting provider and ask them to check their mail server (or in case you use a third party service, ask them to check it for you)

Regards,

Tuan

Please Log in or Create an account to join the conversation.

  • PhoenixUK
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
7 years 11 months ago #98609 by PhoenixUK
Replied by PhoenixUK on topic Emails no longer been sent?
Hi Tuan,

I hear what you are saying and on the surface, it makes sense what as you say MembershipPro simply using the Joomla core's email sending facility.

However, ALL my email addresses that I use for the site, work perfectly when say sending / receiving emails in Outlook. my hosting provider, who I've been speaking to this evening and are one of the best in Europe that's for sure, created a new email address and tried sending, with success but again, this was not helpful in my case.

There end result is;

I checked your domain and see everything is set correctly on server level. To check it, I created a new email account under that domain, sgtest@domain.here, and I was able to send emails from it.


Also, I have sent an ACYmailing newsletter test several times, with 100% success and I've done the same with my 3rd party Helpdesk Support component, which again works, sends and receives at the client end 100% success also.

So it would seem that out of all my 3rd party provided components, it's only mebershipPro that doesn't seem to want to work correctly... this surely cannot just be down to joomla, as otherwise my other 3rd party components would not send via the joomla system, which as I say above... they are just fine.

Regards,

Please Log in or Create an account to join the conversation.

More
7 years 11 months ago - 7 years 11 months ago #98613 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Emails no longer been sent?
As I said, the email subject is logged, the email message is logged, time the email sent is logged, mean Membership Pro has called Joomla API to send email already

The reason email could not be delivered, as I said, out of Membership Pro control. I remember that you uses a custom email template -
with bunch of css code (not sure if I remember correctly). Try to use a simple email message, like plain text message to see whether the email could be sent or not?

Tuan
Last edit: 7 years 11 months ago by Tuan Pham Ngoc.

Please Log in or Create an account to join the conversation.

  • PhoenixUK
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
7 years 11 months ago #98615 by PhoenixUK
Replied by PhoenixUK on topic Emails no longer been sent?
That 3rd party notification plugin is actually disabled and I'm currently using the default email & messages and the plan specific email & messages. I've also already tried plain text message, with no difference of it not been recieved the other end.

Please Log in or Create an account to join the conversation.

More
7 years 11 months ago #98623 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Emails no longer been sent?
I almost out of the idea and have no other clue. Please submit a support ticket sending us:

1. Super admin account of the site

2. Link to subscription form (a simple form will be better as I remember you have very complicated form)

I will try to check to see why email not being delivered and get it sorted

Regards,

Tuan
The following user(s) said Thank You: PhoenixUK

Please Log in or Create an account to join the conversation.

  • PhoenixUK
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
7 years 11 months ago #98625 by PhoenixUK
Replied by PhoenixUK on topic Emails no longer been sent?
OK Tuan, I will do thanks.

Also to note, as I had Debug in Pro activated as outlined in the original post above, it also shows the following on an actual subscription plan sign-up page;
Code:
Warning: Invalid argument supplied for foreach() in /home/removed/removed/1/administrator/components/com_osmembership/libraries/mpf/model/state.php on line 177

Then towards the bottom I get;
Code:
Notice: Undefined index: amount in /home/removed/removed/1/templates/rt_kraken/html/com_osmembership/register/default.php on line 74

Only adding the above, in case they help you at your end, if not then just ignore. :)

Will swing over the support ticket shortly.

Regards,

Please Log in or Create an account to join the conversation.

  • PhoenixUK
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
7 years 11 months ago #98630 by PhoenixUK
Replied by PhoenixUK on topic Emails no longer been sent?
Tuan,

Stand down, I've finally found the overall issue myself, emails are sending just fine and being fully received upon totally disabling Akeeba Admin Tools. So now, I will speak with them to figure out which particular setting in my use of Admin Tools has caused the emails to send via MembershipPro but not actually be delivered and received at the other end.

Thanks in advance.

Please Log in or Create an account to join the conversation.

More
7 years 11 months ago #98669 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Emails no longer been sent?
Hmm

I wonder how Admin Tools could affect email sending? Did you hear back from Nicholas regarding this issue?

Tuan

Please Log in or Create an account to join the conversation.