Jump to content

Time Delay to get email using Login/Register Module


JeevanisM
 Share

Recommended Posts

Hello,


first of all, thank you for this great module. I would like to mention one issue I met when I used this module in my new project. I have a registration page link for users in my website, and when apply for registration, it will redirect to the page where the user has to put the activation / verification link which is sent to the registered email.

Now the problem is, the time delay to get this link in email. It took almost 20 minutes to reach this link in the registration email. I checked with both yahoomail and gmail. I guess, in a business point of view, customers wont wait for that long time.

So is there any way to speed up this email time delay ? any configuration settings ?


thank you

Link to comment
Share on other sites

On 11/18/2019 at 7:04 PM, Zeka said:

@JeevanisM I don't think that your issue is relative to module. 

You can try to use https://processwire.com/blog/posts/introducing-tracy-debugger/#mail-interceptor-panel to see how fast PW sends mail. 

thank you, I will install TD but what should I be looking ? what kind of messages  ?

Link to comment
Share on other sites

On 11/18/2019 at 7:04 PM, Zeka said:

@JeevanisM I don't think that your issue is relative to module. 

You can try to use https://processwire.com/blog/posts/introducing-tracy-debugger/#mail-interceptor-panel to see how fast PW sends mail. 

Can you please explain, how Login/Register send email ? Is it using the SMTP of admin email ? I have gmail for the admin email, so is there settings for permission in google to use the SMTP ?

Link to comment
Share on other sites

@JeevanisM PW has WireMail base class and this class can use different senders to actualy send emails. There is branch of such modules:

https://modules.processwire.com/modules/wire-mail-smtp/ 

https://modules.processwire.com/modules/wire-mail-gmail/

https://modules.processwire.com/modules/wire-mail-mailgun/

See more here https://modules.processwire.com/categories/email/

So you can try different sender to see which work best for you

There is new module that helps to log information about all mails that are sent

https://modules.processwire.com/modules/rock-mail-logger/

  • Like 2
Link to comment
Share on other sites

@JeevanisM Have you tried to install WireMailSmtp or WireMailGmail? 

I have never used Login\Register module, but from code, I don't see some predefined function for disabling Link Sending feature. One thing that you can do is to hook and replace ___processRegisterForm method.

https://processwire.com/docs/modules/hooks/#how-can-my-hook-replace-another-method-entirely

  • Like 1
Link to comment
Share on other sites

4 hours ago, JeevanisM said:

I cannot find our why it takes so much time to reach the registrant email address

Many ISPs throttle email delivery. I've had emails take up to a day to be delivered. There isn't anything you can do about their setup. This could be your email system or your client's email system or both causing the problem. You could possibly eliminate your provider by using a reputable provider, such as gmail, mailgun, etc. to send emails. You will still be at the mercy of the client provider though.

 

  • Thanks 1
Link to comment
Share on other sites

On 11/20/2019 at 5:08 PM, rick said:

Many ISPs throttle email delivery. I've had emails take up to a day to be delivered. There isn't anything you can do about their setup. This could be your email system or your client's email system or both causing the problem. You could possibly eliminate your provider by using a reputable provider, such as gmail, mailgun, etc. to send emails. You will still be at the mercy of the client provider though.

 

you are right. I just fixed it with a dirty work around ?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...