Jump to content


Photo

Emails not coming through


  • Please log in to reply
10 replies to this topic

#1 seintitus

seintitus

    Rank II Member

  • Members
  • PipPip
  • 61 posts
  • Gender:Male

Posted 15 November 2020 - 11:28 PM

Hello. I have just installed php site everything is working fine except the emails are not being delivered. For instance if someone registers on my site, they don't receive email notification. I have tested the same script with exactly same settings on a different host "interserver" and the emails are working fine. What could be the matter? My server is tommy, my main domain: cyclos.za.org and my username is tchesoen.

#2 Jenova

Jenova

    Rank II Member

  • Moderators
  • 78 posts
  • Gender:Male
  • Location:Hawaii

Posted 15 November 2020 - 11:51 PM

This support request is being escalated to our root admins.

#3 wolstech

wolstech

    Rank X Member

  • Root Admin
  • 12,983 posts
  • Gender:Male
  • Location:Pennsylvania

Posted 16 November 2020 - 01:02 AM

What mail settings are you using? On our servers, you should be using php mail() in most cases.

 

Also, do you have the From or To address of the mail you're sending? I need an example email to check the logs.


Please do not PM me for support. Posting on our forums lets all of us learn.
Do you play Minecraft? | Server Monitors | And the Dumbass of the Decade award goes to...


#4 Krydos

Krydos

    Rank X Member

  • Root Admin
  • 21,456 posts
  • Gender:Male

Posted 16 November 2020 - 03:19 AM

I logged in to your account and tried to send an email. I waited like 20 minutes and it still said "in progress" so I restarted exim on Tommy and then tried sending another email and it went out immediately. It looks like maybe emails on Tommy got stuck and restarting it unstuck it. Thanks for reporting the issue.

 

As far as your email itself goes, it's not great though. You don't have SPF or DKIM enabled so your messages that are now actually sending might still end up in people's spam boxes. You can enable SPF and DKIM yourself through cpanel, and actually they are both enabled on all new accounts by default so you must have disabled them for some reason at some point. Here's the email report for reference:

 

https://www.mail-tes.../test-k93kkaeqy



#5 seintitus

seintitus

    Rank II Member

  • Members
  • PipPip
  • 61 posts
  • Gender:Male

Posted 16 November 2020 - 08:14 AM

hello. yes I am able to send emails directly when i login to my email account but my problem is that it seems the mails are not delivered over my website via the php (mail) function. I have installed the same script here on heliohost "www.cyclos.za.org" and on interserver host "www.damicotrust.com"  I have configured with the same settings but the one on interserver works fine. i.e when a user for example register on the site, they get a registration confirmation email delivered to their inbox but it doesnt work so on the script that i have installed here on heliohost.



#6 Krydos

Krydos

    Rank X Member

  • Root Admin
  • 21,456 posts
  • Gender:Male

Posted 17 November 2020 - 03:42 AM

Did you enable SPF and DKIM like I suggested? Sometimes when you have those disabled mail services don't even put the mail in the spam box. They just delete it.



#7 wolstech

wolstech

    Rank X Member

  • Root Admin
  • 12,983 posts
  • Gender:Male
  • Location:Pennsylvania

Posted 17 November 2020 - 10:38 AM

Gmail is especially sensitive to that. If an email is sent to a gmail box, the sender must have at least SPF enabled, or the mail simply gets deleted. The sender usually gets an email saying it was refused because of lack of spf/dkim, but with mail() it's quite possible that's going to a noreply address....

Please do not PM me for support. Posting on our forums lets all of us learn.
Do you play Minecraft? | Server Monitors | And the Dumbass of the Decade award goes to...


#8 Jenova

Jenova

    Rank II Member

  • Moderators
  • 78 posts
  • Gender:Male
  • Location:Hawaii

Posted 21 November 2020 - 04:03 AM

Closing due to inactivity.

Edit: Made a mistake. Got corrected.

Thread reopened.

My apologies.

#9 seintitus

seintitus

    Rank II Member

  • Members
  • PipPip
  • 61 posts
  • Gender:Male

Posted 22 November 2020 - 04:27 PM

Hello. Even when I try with non gmail account, the emails don't go through. what could be blocking the emails on my site? Using mail() function.

 

Regards,

Titus



#10 seintitus

seintitus

    Rank II Member

  • Members
  • PipPip
  • 61 posts
  • Gender:Male

Posted 22 November 2020 - 04:33 PM

I enabled DKIM/SPF as suggested through cloudflare.



#11 Krydos

Krydos

    Rank X Member

  • Root Admin
  • 21,456 posts
  • Gender:Male

Posted 22 November 2020 - 08:27 PM

I went to your website and registered for a new account. The website said it sent an email, but there is no record of it in any of the logs. I recommend disabling cloudflare and see if that fixes the issue. There isn't really anything we can do to help you other than make random guesses while cloudflare is enabled.






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users