Jump to content
Sign in to follow this  
JeevanisM

Time Delay to get email using Login/Register Module

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

Share this post


Link to post
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 ?

Share this post


Link to post
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

Share this post


Link to post
Share on other sites

thank you but I cannot find our why it takes so much time to reach the registrant email address. Is there any way I can disable this Link Sending feature in Login/Register module ?

Share this post


Link to post
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

Share this post


Link to post
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

Share this post


Link to post
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 😛

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...