I have a registration script that sends the user an email activation link upon successful user registration. From my localhost on my laptop, the email is sent instantly. However, on my Digital Ocean server running Ubuntu it takes 30 minutes to receive this email.
I have this in my code $mail->Host = “smtp.zoho.com”;
I assume this is a server issue. But what needs to be fixed or configured on my server?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.