Very slow email delivery to users
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?