?
Solved

Gmail restriction on multiple emails from same sender in a short time period?

Posted on 2013-01-29
2
Medium Priority
?
411 Views
Last Modified: 2014-11-12
Hi,

I'm doing some work for a company that's running the corporate version of GMail (not sure of the exact details).

I have a PHP script that sends emails to its employees, using PHPMailer pointed at their Gmail SMTP server.

Depending on values entered on a database using PHP, a person can receive 1, 2 or 3 emails.

If one of these employees is supposed to receive 2 emails, both emails (which are slightly different from another and with different subjects) are sent within milliseconds of each other but only 1 is received by the employee. The emails have only one recipient on each and no BCCs.

If I change the receiving email address to an external address, I receive the correct number of emails.

Does Google have some restriction in place that's preventing
1) multiple emails being sent to the same person from the same email address within a very short space of time
OR
2) multiple emails being received by the same Gmail user from the same email address within a very short space of time?

Many thanks

$mail = new PHPMailer();
$mail->IsSMTP();
$mail->SMTPDebug=1;
$mail->SMTPAuth = true;
$mail->SMTPSecure = 'ssl';
$mail->Host = 'smtp.gmail.com';
$mail->Port = 465;
$mail->Username = $TheEmailUsername;
$mail->Password = $TheEmailPassword;

//Now send it
$mail->SetFrom($EmailFrom,$EmailFromName);
$mail->AddAddress($to,"");
$mail->Subject = $subject;
$mail->IsHTML(true); //Specify that it is HTML
$mail->Body = $message;
$mail->send();

Open in new window

0
Comment
Question by:kbit
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 31

Accepted Solution

by:
Frosty555 earned 2000 total points
ID: 38832290
The corporate version of Gmail is called "Google Apps for Business" (http://www.google.com/enterprise/apps/business/)

Google and Gmail do have some restrictions in place for email, but I'm not sure if any of them are relevant to this situation:

- Google DOES have some unpublished "smarts" to prevent deliver of duplicate emails. I know that if you send an email to a distribution list which ultimately causes looping in the message routing (e.g. send to an external address which then forwards a copy to a member who is already on the distribution list, or send an email which includes yourself in the list), then Gmail will block the duplicate emails from being delivered to the user's mailbox. This is to prevent message loops flooding people's mailboxes. This tripped me up when trying to test out "Groups" in Google Apps (E.g. sent an email from myself to a group that I was a member of, and got confused when I didn't receive the message).

It's possible some variant of this is happening here.

- Google employees several restrictions on sending limits to prevent spam / abuse

http://support.google.com/a/bin/answer.py?hl=en&answer=166852


Alternatively, it is possible that your employee *IS* receiving both emails, but they are either being marked as spam, or both are delivered into a single "conversation thread" in Gmail, causing it to appear as only one line-item in their inbox. If you open the conversation you'll see both messages listed one ontop of the other. This happens if they have similar / identical subject lines.
0
 

Author Comment

by:kbit
ID: 38832342
Thank you very much for your reply, youre absolutely right...the other emails are being marked as spam for some reason. Only one email from each batch is being allowed into the inbox.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The new Gmail Phishing Scam going around is surprising even the savviest of users with its sophisticated techniques.
This article outlines some of the reasons why an email message gets flagged as spam on a recipient's end.
This Micro Tutorial will demonstrate the easy use of Gmail embedding images in your email so the recipient of your email can view them in context.
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
Suggested Courses

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question