Dynadot โ€” .com Registration $8.99

[Resolved] Gmail and Php's mail

Spaceship Spaceship
Watch
Impact
209
gmail and php's mail

Does anyone know if google restrict how many emails from a server gets delivered to a mailbox for x amount of time?

I am sorting out a site at the moment and have been testing with gmail but have found delivery quite unreliable.

I have tried playing around with some headers but nothing seems to make much difference. The first email tends to get through then no others will.
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
AfternicAfternic
wild stab in the dark:

are your test emails all exactly the same? gmail might be being clever and deciding not to clog up the inbox with duplicates.
 
1
•••
Try making the email content and subject

PHP:
md5(rand(1,999999999999999));
for testing, maybe make the email address that too.
 
0
•••
-NC- said:
wild stab in the dark:

are your test emails all exactly the same? gmail might be being clever and deciding not to clog up the inbox with duplicates.

They are not necessarily 100% the same for example I have 2 email accounts in my gmail account if I send to 1 then the content of the email is slightly different than the content of the other, mainly it is the email address mentioned within the email as well as a link the email contains which has a different variable within a domain (it is for a newsletter sign up validation system).

Danltn said:
Try making the email content and subject

PHP:
md5(rand(1,999999999999999));
for testing, maybe make the email address that too.

Just did that and looks like this is the case Gmail is trying to be too clever and blocking them if they are too similar. I tried about 10 emails in quick succession making a random title and random text and they all got through.
 
0
•••
So it worked? O_o
 
Last edited by a moderator:
0
•••
Dynadot โ€” .com Registration $8.99Dynadot โ€” .com Registration $8.99
Unstoppable Domains
Domain Recover
DomainEasy โ€” Zero Commission
  • The sidebar remains visible by scrolling at a speed relative to the pageโ€™s height.
Back