Tips and Tricks HQ Support Portal › Forums › WP eMember › Auto expiry email not sent on date expected
Tagged: auto expiry email
- This topic has 9 replies, 4 voices, and was last updated 2 years ago by admin.
-
AuthorPosts
-
January 30, 2022 at 3:34 pm #84116parksSpectator
Hello, in looking through past forum submissions, it seems that I am encountering an issue that others have experienced, but there appears that (maybe) there is a flaw in eMember that hasn’t been addressed.
The majority of our members (we’re a genealogy society with ~240 members; memberships are annual-based). I have the “Enable Auto Expiry Email Notification” setting enabled and have setup 3 reminder emails: 1) 14 days prior to a membership expiring; 2) day after membership expires; and 3) 10 days after membership expires.
The first reminder worked fine. The 2nd reminder was not sent out the day after the memberships expired, instead it was sent out about 10 days after they expired. The 3rd reminder was sent to some of the expired memberships, but not all and it was sent on the same day as the 2nd reminder.
To investigate this further, I turned on the debug files and created 2 new test memberships: “tparks” and “tlparks” and set them both to expire on Jan. 28th. They both expired and no expiry email was sent out. The debug file shows that the expiration was processed for both memberships and an email chron job was executed, but no reminder emails were sent out on the 29th or the 30th (today).
Is this a known bug in eMember and is there any way to get around it? I saw one user said they set the 3rd reminder email to be sent one day after a membership expires. This was a workaround that worked for them, but it basically defeated the purpose of the 3rd reminder email.
I can send the log files to you if needed.
Thank you,
TerriJanuary 30, 2022 at 4:25 pm #84118wzpModeratorIf you haven’t done so already, please download & install the latest version of eMember.
February 3, 2022 at 1:43 pm #84131parksSpectatorThanks, will do. Can you tell me what the latest version of eMember is? I can’t find the plug-in version anywhere online. We have v10.3.5 installed.
We also have the following plug-ins installed:
eMember Email Broadcast v2.4
eMember Bulk Import v1.2
eMember Profile Extended v3.4Do we need to reinstall any of the additional plug-ins when we upgrade our eMember application?
Terri
February 3, 2022 at 11:07 pm #84134adminKeymasterYour version is fine. Email related issues are not a bug in the plugin. Email issues are always related to a server issue or a setup issue.
Are you using SMTP to send emails from your server? When you face email issues, this is something you must do otherwise the problem won’t be solved. The following post is useful:
For the “Expiry Emails”, please make sure to use a correct value in the following field (in the “Email Settings” menu of the plugin):
To Email Address for Batch Emails
That settings will help on some hosting providers (I believe it will be beneficial for your site).
February 9, 2022 at 12:53 pm #84152parksSpectatorThanks for the reply. I’m still struggling to understand why the issue would be with our email server, although that may be the issue. But here’s why I’m struggling:
1 – The first reminder email that was sent out 14 days prior to the memberships that were set to expire was sent out fine. This email would have gone out to over 200 members. It bogged down our email server, but eventually the emails went out.
2 – The debug file for my two test members (tparks & tlparks were scheduled to expire on Jan 28th) did not indicate that any emails were sent out the day after the memberships expired. I’ve copied a few excerpts from the debug file below.
3 – I forgot to mention in my original post that when the “day after” expiration email was finally sent out (10 days later than scheduled), it was sent to members who had already previously renewed. These member’s records were set to active and their expiration date was in 2023, so they should have never have been sent the email saying their membership had expired.
Is there any other information I can provide you to help troubleshoot this issue?
Thanks,
Terri[01/28/2022 7:30 PM] – SUCCESS :Checking member profile with member ID:701, Username: tparks
[01/28/2022 7:30 PM] – SUCCESS :The primary level of this user (Member ID: 701, Username: tparks) is expired. Setting account status to expired.
[01/28/2022 7:30 PM] – SUCCESS :Updating the member account with member ID: 701 Level: 11
[01/28/2022 7:30 PM] – SUCCESS :Setting member account status to: expired
[01/28/2022 7:30 PM] – SUCCESS :—– End of foreach (Member ID: 701) —–
[01/28/2022 7:30 PM] – SUCCESS :Checking member profile with member ID:702, Username: tlparks
[01/28/2022 7:30 PM] – SUCCESS :The primary level of this user (Member ID: 702, Username: tlparks) is expired. Setting account status to expired.
[01/28/2022 7:30 PM] – SUCCESS :Updating the member account with member ID: 702 Level: 11
[01/28/2022 7:30 PM] – SUCCESS :Setting member account status to: expired
[01/28/2022 7:30 PM] – SUCCESS :—– End of foreach (Member ID: 702) —–[01/29/2022 7:31 PM] – SUCCESS :Checking member profile with member ID:701, Username: tparks
[01/29/2022 7:31 PM] – SUCCESS :Checking member profile with member ID:702, Username: tlparks
[01/29/2022 7:31 PM] – SUCCESS :—*** wp_eMember_auto_upgrade() End ***———————————————————————
[01/29/2022 7:31 PM] – SUCCESS :eMember cronjob – wp_eMember_auto_migrate()
[01/29/2022 7:31 PM] – SUCCESS :eMember cronjob – wp_eMember_cron_email()
[01/29/2022 7:31 PM] – SUCCESS :End of wp_eMember_cron_email() function——————————————————————
[01/30/2022 7:31 PM] – SUCCESS :Auto expiry email notification feature is enabled. Checking user account expiry details…
[01/30/2022 7:31 PM] – SUCCESS :Checking membership level: 9. Interval value: 365
[01/30/2022 7:31 PM] – SUCCESS :Checking membership level: 10. Interval value: 365
[01/30/2022 7:31 PM] – SUCCESS :Checking membership level: 11. Interval value: 365[01/30/2022 7:31 PM] – SUCCESS :Checking member profile with member ID:701, Username: tparks
[01/30/2022 7:31 PM] – SUCCESS :Checking member profile with member ID:702, Username: tlparks
[01/30/2022 7:31 PM] – SUCCESS :—*** wp_eMember_auto_upgrade() End ***———————————————————————
[01/30/2022 7:31 PM] – SUCCESS :eMember cronjob – wp_eMember_auto_migrate()
[01/30/2022 7:31 PM] – SUCCESS :eMember cronjob – wp_eMember_cron_email()
[01/30/2022 7:31 PM] – SUCCESS :End of wp_eMember_cron_email() functionJune 5, 2022 at 5:42 pm #84436CVGSwebmasterParticipantHello,
I am experiencing virtually the same issue that “parks” reported. I specified in settings to provide expiration emails 2 days prior to expiration, the day of expiration, and 2 days after expiration. The email 2 days prior to expiration is received by the test members as expected. But no emails are received on the day of expiration. The “day of expiration” emails are actually received 2 days after expiration. The email for 2 days after expiration is received 3 days after expiration. Since we only have two members (for testing purposes), it seems unlikely that this is an email backlog problem (and we have no problem receiving the 2 days prior to expiration email). In the debug file, it looks like the day of expiration email is not generated on the day of expiration. Can you help?
Thanks,
ColleenJune 6, 2022 at 8:26 pm #84437October 29, 2022 at 7:38 pm #84723CVGSwebmasterParticipantI have done more testing of the expiration emails and here is what I have found.
(1) If I request day of expiration email only, it works perfectly (receive day of expiration email).
(2) If I request expiration emails 2 days before and day of expiration (in email settings) it works perfectly (receive the two emails on proper days).
(3) If I request expiration emails on day of expiration and 4 days after expiration (in email settings), I receive both emails 4 days after expiration (no email on day of expiration). The debug file (cronjob.txt) shows the generation of both the day of expiration email and the 4 days after expiration email on the 4th day after expiration, so it is not a hosting site email distribution issue. The emails are actually being sent and received when they are generated. It appears to be a generation problem when the “after expiration” email notice is active.
Thanks for any help you can provide!
ColleenNovember 1, 2022 at 7:56 pm #84726adminKeymasterIt will be good for me to check your log and the setup. I have sent you an email for this.
November 8, 2022 at 6:04 pm #84734adminKeymasterQuick summary update to this issue:
Looks like a value of
0
was entered for the following expiry email option.Number of days before the account expiry when the reminder notification is sent
A value of 0 disables that email as explained in the help text below the field. The minimum accepted value is 1 which will send an email 1 day before the expiry.
-
AuthorPosts
- You must be logged in to reply to this topic.